Repository : http://git.fedorahosted.org/cgit/
On branch : v1.4
commit 2aaefb03fae173625fa13e99054bce5eecc01c52 Author: Matt Domsch Matt_Domsch@dell.com Date: Mon Jul 1 11:57:05 2013 -0500
nuke unused adminview.kid
server/mirrormanager/templates/adminview.kid | 115 -------------------------- 1 files changed, 0 insertions(+), 115 deletions(-)
diff --git a/server/mirrormanager/templates/adminview.kid b/server/mirrormanager/templates/adminview.kid deleted file mode 100644 index 50d1740..0000000 --- a/server/mirrormanager/templates/adminview.kid +++ /dev/null @@ -1,115 +0,0 @@ -<!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>Fedora Mirror Manager Admin View</title> -<?python -admin_group = tg.config('mirrormanager.admin_group', 'sysadmin') -?> -</head> -<body> - -<div py:if="admin_group not in tg.identity.groups"> -Nothing to see here, move along. -</div> - -<div id="adminview" py:if="admin_group in tg.identity.groups"> - -<h3>Statistics</h3> -<UL> - <LI>Sites: <span py:replace="num_sites"/> total - (<span py:replace="num_public_sites"/> public / - <span py:replace="num_private_sites"/> private) </LI> - <LI>Hosts: <span py:replace="num_hosts"/> total - (<span py:replace="num_public_hosts"/> public / - <span py:replace="num_private_hosts"/> private) </LI> -</UL> - - -<div id="categories"> -<h3>Categories <a href="${tg.url('/category/new')}">[Add]</a></h3> -<ul> - <li py:for="c in categories"> - <span py:replace="c.name">Category Name</span> - <span py:replace="c.topdir.name">Directory Name</span> - </li> -</ul> -</div> -<div id="Arches"> -<h3>Arches <a href="${tg.url('/arch/0/new')}">[Add]</a></h3> - -<ul> - <li py:for="arch in arches"> - <span py:replace="arch.name">Arch Name</span> <a href="${tg.url('/arch/'+str(arch.id)+'/delete')}">[Delete]</a> - </li> -</ul> -</div> -<div id="Products"> -<h3>Products <a href="${tg.url('/product/0/new')}">[Add]</a></h3> -<ul> - <li py:for="p in products"> - <span py:replace="p.name">Product</span> <a href="${tg.url('/product/'+str(p.id)+'/delete')}">[Delete]</a> - </li> -</ul> -</div> -<div id="Versions"> -<h3>Versions <a href="${tg.url('/version/0/new')}">[Add]</a></h3> -<ul> - <li py:for="v in versions"> - <a href="${tg.url('/version/'+str(v.id)+'/')}"> - <span py:replace="v.product.name">Product Name</span> - <span py:replace="v.name">Version Name</span> - </a> - <a href="${tg.url('/version/'+str(v.id)+'/delete')}">[Delete]</a> - </li> -</ul> -</div> -<div id="Embargoed Countries"> -<h3>Embargoed Counries <a href="${tg.url('/embargoed_country/0/new')}">[Add]</a></h3> -<ul> - <li py:for="cc in embargoed_countries"> - <span py:replace="cc.country_code">Country Code</span> <a href="${tg.url('/embargoed_country/'+str(cc.id)+'/delete')}">[Delete]</a> - - </li> -</ul> -</div> -<div id="Repository Redirects"> -<h3>Repository Redirects</h3> -<ul> - <li py:for="r in repository_redirects"> - <a href="${tg.url('/repository_redirect/'+str(r.id)+'/')}"><span py:replace="r.fromRepo">from - Repo</span> -> <span py:replace="r.toRepo">to Repo</span></a> - </li> -</ul> -</div> -<div id="Country Continent Redirects"> -<h3>Country Continent Redirects</h3> -<ul> - <li py:for="c in country_continent_redirects"> - <a href="${tg.url('/country_continent_redirect/'+str(c.id)+'/')}"><span py:replace="c.country">Country</span></a> -> <span py:replace="c.continent">Continent</span> - </li> -</ul> -</div> -<div id="Locations"> -<h3>Locations <a href="${tg.url('/location/new')}">[Add]</a></h3> -<ul> - <li py:for="l in locations"><span py:replace="l.name">Location</span> - <a href="${tg.url('/locationhost/new?locationid=' + str(l.id))}">[Add Host]</a> - <a href="${tg.url('/location/' + str(l.id) + '/delete')}">[Delete]</a> - - <UL> - <li py:for="h in l.hosts"> - <a href="${tg.url('/host/' + str(h.id))}"><span py:replace="h.name">Host name</span></a> -<?python -deleteurl = tg.url('/locationhost/delete?locationid=' + str(l.id) + '&hostid=' + str(h.id)) -?> - <a href="${deleteurl}">[Delete the mapping]</a> - </li> - </UL> - </li> -</ul> -</div> -</div> -</body> -</html>