mirror-management/mirrors/templates/arch edit_arch.kid, NONE, 1.1 list_archs.kid, NONE, 1.1 new_arch.kid, NONE, 1.1

Farshad Khoshkhui (farshad) fedora-extras-commits at redhat.com
Tue Jan 2 08:32:38 UTC 2007


Author: farshad

Update of /cvs/fedora/mirror-management/mirrors/templates/arch
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31057/mirrors/templates/arch

Added Files:
	edit_arch.kid list_archs.kid new_arch.kid 
Log Message:
Added Rest of files



--- NEW FILE edit_arch.kid ---
<!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" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'../master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>Edit Arch ${arch.name}</title>
</head>
<body>
<form action="updateArch" method="post">
<input type="hidden" name="old_arch_name" value="${arch.name}" />

<fieldset >
<legend>Update Arch ${arch.name}</legend>
<div>
	<label for="arch_name">Arch Name:</label>
	<span><input id="arch_name" name="arch_name" value="${arch.name}" /></span>
</div>

<div>
	<label for="comment" class="textarea">Comment:</label>
	<span><textarea id="comment" name="comment" ><span py:replace="arch.comment" py:strip="True">Comment</span></textarea></span>
</div>

<div >
	<button> Update </button>
</div>

</fieldset>
</form>

</body>
</html>


--- NEW FILE list_archs.kid ---
<!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" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'../master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>List Archs</title>
</head>
<body>
	<table class="list">
		<thead>
			<tr>
				<th>
					Row
				</th>
				<th>
					Name
				</th>
				<th>
					Comment
				</th>
				<th>
					Edit
				</th>
				<th>
					Delete
				</th>
			</tr>		
		</thead>
		<tr py:for="i,arch in enumerate(archs)" class="${i%2 and 'odd' or 'even'}">
			<td>
				${i+1}
			</td>
			<td>
				${arch.name}
			</td>
			<td>
				${arch.comment}
			</td>
			<td>
				<a href="${tg.url('/arch/editArch', arch_name=arch.name)}">
					E
				</a>
			</td>
			<td>
				<a href="${tg.url('/arch/deleteArch', arch_name=arch.name)}" class="delete_link">
					D
				</a>
			</td>
		</tr>
	</table>
	<div class="links">
		<ul>
			<li> 
				<a href="${tg.url('/arch/newArch')}"> New Arch</a>
			</li>
			<li> 
				<a href="${tg.url('/release/listReleases')}"> List Releases </a>
			</li>
		</ul>
		
	</div>

</body>
</html>


--- NEW FILE new_arch.kid ---
<!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" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'../master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>New Arch</title>
</head>
<body>
<form action="addArch" method="post">

<fieldset >
<legend>Add New Arch</legend>
<div>
	<label for="arch_name">Arch Name:</label>
	<span><input id="arch_name" name="arch_name" value="${arch_name}" /></span>
</div>

<div>
	<label for="comment" class="textarea">Comment:</label>
	<span><textarea id="comment" name="comment" ><span py:replace="comment" py:strip="True">Comment</span></textarea></span>
</div>

<div >
	<button> Add </button>
</div>

</fieldset>
</form>

</body>
</html>




More information about the scm-commits mailing list