[pal-cvs 2569] [301] rename maker to manufacturer

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 7月 19日 (木) 06:09:10 JST


Revision: 301
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=301
Author:   takeharu
Date:     2007-07-19 06:09:10 +0900 (Thu, 19 Jul 2007)

Log Message:
-----------
rename maker to manufacturer

Added Paths:
-----------
    pompei/trunk/src/main/webapp/view/admin/product/manufacturerEdit.html
    pompei/trunk/src/main/webapp/view/admin/product/manufacturerList.html

Removed Paths:
-------------
    pompei/trunk/src/main/webapp/view/admin/product/makerEdit.html
    pompei/trunk/src/main/webapp/view/admin/product/makerList.html


-------------- next part --------------
Deleted: pompei/trunk/src/main/webapp/view/admin/product/makerEdit.html
===================================================================
--- pompei/trunk/src/main/webapp/view/admin/product/makerEdit.html	2007-07-18 21:08:12 UTC (rev 300)
+++ pompei/trunk/src/main/webapp/view/admin/product/makerEdit.html	2007-07-18 21:09:10 UTC (rev 301)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title id="title-head">メーカー編集画面</title>
-</head>
-<body>
-<input type="button" value="トップページへ" onclick="location.href='/pompei/view/index.html'"/>
-
-<form id="form" method="POST">
-<h2><span id="title">メーカー編集</span></h2>
-<hr/>
-<table border="1">
-	<tr style="dummy" height="20px">
-		<th><label>メーカー名</label></th>
-		<td><input type="text" id=""/></td>
-	</tr>
-	<tr style="dummy" height="20px">
-		<th><label>説明(略)</label></th>
-		<td><input type="text" id=""/></td>
-	</tr>
-	<tr style="dummy" height="20px">
-		<th><label>説明(詳細)</label></th>
-		<td><textarea cols="20" rows="4"></textarea></td>
-	</tr>
-	<tr style="dummy" height="20px">
-		<th><label>URL</label></th>
-		<td><input type="text" id=""/></td>
-	</tr>
-	<tr style="dummy" height="20px">
-		<th><label>ロゴ</label></th>
-		<td><input type="file" id=""/></td>
-	</tr>
-</table>
-<input type="submit" id="goMakerList-add" value="登録する" />
-<input type="submit" id="goMakerList-cancel" value="一覧に戻る" />
-</form>
-</body></html>

Deleted: pompei/trunk/src/main/webapp/view/admin/product/makerList.html
===================================================================
--- pompei/trunk/src/main/webapp/view/admin/product/makerList.html	2007-07-18 21:08:12 UTC (rev 300)
+++ pompei/trunk/src/main/webapp/view/admin/product/makerList.html	2007-07-18 21:09:10 UTC (rev 301)
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title id="title-head">メーカー一覧</title>
-</head>
-<body>
-<input type="button" value="トップページへ" onclick="location.href='/pompei/view/index.html'"/>
-
-<form id="form" method="POST">
-<h2><span id="title">メーカー一覧</span></h2>
-<hr/>
-<table border="1">
-	<thead>
-		<tr style="dummy" height="20px">
-			<th><label>NO</label></th>
-			<th><label>メーカー名</label></th>
-			<th><label>説明</label></th>
-			<th>&nbsp;</th>
-		</tr>
-	</thead>
-	<tbody id="product">
-		<tr style="dummy">
-			<td><span id="no">1</span></td>
-			<td><span id="makerName">アディダス</span></td>
-			<td><span id="makerDesc">ドイツのスポーツメーカー</span></td>
-			<td>
-				<input type="submit" id="goMakerEdit-update" value="編集" />
-				<input type="submit" id="doDelete" value="削除" onclick="confirm('削除します。よろしいですか?')"/>
-			</td>
-		</tr>
-	</tbody>
-	<tfoot></tfoot>
-</table>
-<input type="submit" id="goMakerEdit-add" value="メーカーを追加する" />
-</form>
-</body></html>

Added: pompei/trunk/src/main/webapp/view/admin/product/manufacturerEdit.html
===================================================================
--- pompei/trunk/src/main/webapp/view/admin/product/manufacturerEdit.html	2007-07-18 21:08:12 UTC (rev 300)
+++ pompei/trunk/src/main/webapp/view/admin/product/manufacturerEdit.html	2007-07-18 21:09:10 UTC (rev 301)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title id="title-head">メーカー編集画面</title>
+</head>
+<body>
+<input type="button" value="トップページへ" onclick="location.href='/pompei/view/index.html'"/>
+
+<form id="form" method="POST">
+<input type="hidden" id="manufacturersId"/>
+<h2><label id="title">メーカー編集</label></h2>
+<hr/>
+<div><span id="allMessages"></span></div>
+<table border="1">
+	<tr style="dummy" height="20px">
+		<th><label>メーカー名</label></th>
+		<td><input type="text" id="manufacturersName"/></td>
+	</tr>
+	<tr style="dummy" height="20px">
+		<th><label>説明(略)</label></th>
+		<td><input type="text" id="manufacturersShortDesc"/></td>
+	</tr>
+	<tr style="dummy" height="20px">
+		<th><label>説明(詳細)</label></th>
+		<td><textarea cols="20" rows="4" id="manufacturersLongDesc"></textarea></td>
+	</tr>
+	<tr style="dummy" height="20px">
+		<th><label>URL</label></th>
+		<td><input type="text" id="manufacturersUrl"/></td>
+	</tr>
+	<tr style="dummy" height="20px">
+		<th><label>ロゴ</label></th>
+		<td><input type="file" id="manufacturersImage"/></td>
+	</tr>
+</table>
+<br/>
+<input type="submit" id="doAdd" value="登録する" />
+<input type="submit" id="jumpManufacturerList" value="一覧に戻る" />
+</form>
+</body></html>

Added: pompei/trunk/src/main/webapp/view/admin/product/manufacturerList.html
===================================================================
--- pompei/trunk/src/main/webapp/view/admin/product/manufacturerList.html	2007-07-18 21:08:12 UTC (rev 300)
+++ pompei/trunk/src/main/webapp/view/admin/product/manufacturerList.html	2007-07-18 21:09:10 UTC (rev 301)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title id="title-head">メーカー一覧</title>
+<script language="javascript">
+<!--
+function setRowIndex(updId){
+	args = updId.split(":");
+	form.rowIndex.value = args[2];
+}
+function setMode(mode){
+	form.mode.value = mode;
+}
+ -->
+</script>
+</head>
+<body>
+<input type="button" value="トップページへ" onclick="location.href='/pompei/view/index.html'"/>
+
+<form id="form" method="POST">
+<input type="hidden" id="mode" />
+<input type="hidden" id="rowIndex" />
+
+<h2><label id="title">メーカー一覧</label></h2>
+<hr/>
+<table border="1" id="manufacturerGrid">
+	<thead>
+		<tr style="dummy" height="20px">
+			<th><label>NO</label></th>
+			<th><label>メーカー名</label></th>
+			<th><label>説明</label></th>
+			<th>&nbsp;</th>
+		</tr>
+	</thead>
+	<tbody>
+		<tr style="dummy">
+			<td><span id="manufacturerIndex">1</span></td>
+			<td><span id="manufacturersName">アディダス</span></td>
+			<td><span id="manufacturersDesc">ドイツのスポーツメーカー</span></td>
+			<td>
+				<input type="submit" id="doUpdate" value="編集" onclick="setMode('update');setRowIndex(this.name)"/>
+				<input type="submit" id="doDelete" value="削除" onclick="if(confirm('削除します。よろしいですか?')){setMode('delete');setRowIndex(this.name)}else{return false}"/>
+			</td>
+		</tr>
+	</tbody>
+	<tfoot></tfoot>
+</table>
+<br/>
+<input type="submit" id="goManufacturerEdit-add" value="メーカーを追加する" />
+</form>
+</body></html>


pal-cvs メーリングリストの案内
Back to archive index