changeset 189:410101210923

removed search field from templates
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 22 May 2010 01:42:03 +0200
parents 8337dd6492a9
children d8eb7ee27b4c
files pylons_app/templates/branches/branches.html pylons_app/templates/errors/error_404.html pylons_app/templates/files/file_diff.html pylons_app/templates/files/files.html pylons_app/templates/shortlog/shortlog.html pylons_app/templates/summary.html pylons_app/templates/summary/summary.html pylons_app/templates/tags/tags.html
diffstat 8 files changed, 7 insertions(+), 177 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/templates/branches/branches.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/branches/branches.html	Sat May 22 01:42:03 2010 +0200
@@ -11,14 +11,7 @@
     ${_('branches')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-
-		${self.menu('branches')}    
+	${self.menu('branches')}    
 </%def>
 <%def name="main()">
 
--- a/pylons_app/templates/errors/error_404.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/errors/error_404.html	Sat May 22 01:42:03 2010 +0200
@@ -15,10 +15,7 @@
 </%def>
 
 <%def name="page_nav()">
-<ul class="page-nav">
-	<li>${h.link_to(u'Home',h.url('hg_home'))}</li>
-	<li class="current">${_('Admin')}</li>
-</ul>
+	${self.menu('admin')}
 </%def>
 <%def name="js()">
 
--- a/pylons_app/templates/files/file_diff.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/files/file_diff.html	Sat May 22 01:42:03 2010 +0200
@@ -11,14 +11,7 @@
     ${_('files')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-
-		${self.menu('files')}     
+    ${self.menu('files')}     
 </%def>
 <%def name="css()">
 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
--- a/pylons_app/templates/files/files.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/files/files.html	Sat May 22 01:42:03 2010 +0200
@@ -11,14 +11,7 @@
     ${_('files')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-
-		${self.menu('files')}     
+    ${self.menu('files')}     
 </%def>
 <%def name="css()">
 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
--- a/pylons_app/templates/shortlog/shortlog.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/shortlog/shortlog.html	Sat May 22 01:42:03 2010 +0200
@@ -11,14 +11,7 @@
     ${_('shortlog')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-
-		${self.menu('shortlog')}     
+	${self.menu('shortlog')}     
 </%def>
 <%def name="main()">
 
--- a/pylons_app/templates/summary.html	Sat May 22 01:35:19 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-<%inherit file="/base/base.html"/>
-<%!
-from pylons_app.lib import filters
-%>
-<%def name="title()">
-    ${_('Repository managment')}
-</%def>
-<%def name="breadcrumbs()">
-    ${h.link_to(u'Home',h.url('/'))}
-    / 
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
-    /
-    ${_('summary')}
-</%def>
-<%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-		${self.menu('summary')}    
-</%def>
-<%def name="main()">
-    <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2>
-    <dl class="overview">
-        <dt>${_('name')}</dt>
-        <dd>${c.repo_info.name}</dd>
-        <dt>${_('description')}</dt>
-        <dd>${c.repo_info.description}</dd>
-        <dt>${_('contact')}</dt>
-        <dd>${c.repo_info.contact}</dd>
-        <dt>${_('last change')}</dt>
-        <dd>${c.repo_info.last_change|n,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}</dd>
-        <dt>${_('url')}</dt>
-        <dd><pre style="margin:0">hg clone <a href="${c.clone_repo_url}">${c.clone_repo_url}</a></pre></dd>
-        <dt>${_('Download')}</dt>
-        <dd>
-       	%for cnt,archive in enumerate(c.repo_info._get_archives()):
-       		 %if cnt >=1:
-       		 |
-       		 %endif
-       		 ${h.link_to(c.repo_info.name+'.'+archive['type'],
-       			h.url('files_archive_home',repo_name=c.repo_info.name,
-       			revision='tip',fileformat=archive['extension']))}
-		%endfor
-        </dd>
-    </dl>
-
-    <h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2>
-    <table>
-	<%def name="message_slug(msg)">
-		<%
-		limit = 60
-		if len(msg) > limit:
-			return msg[:limit]+'...'
-		else:
-			return msg
-		%>
-	</%def>    
-	%for cnt,cs in enumerate(c.repo_changesets):
-		<tr class="parity${cnt%2}">
-			<td>${cs._ctx.date()|n,filters.age}</td>
-			<td>${cs.author|n,filters.person}</td>
-			<td>r${cs.revision}</td>
-			<td>
-				${h.link_to(message_slug(cs.message),
-				h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
-				title=cs.message)}
-			</td>
-			<td>
-				<span class="logtags">
-					<span class="branchtag">${cs.branch}</span>
-					%for tag in cs.tags:
-						<span class="tagtag">${tag}</span>
-					%endfor
-				</span>
-			</td>
-			<td class="nowrap">
-			${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}
-			|
-			${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))}
-			</td>
-		</tr>
-	%endfor
-    </table>
-
-    <h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2>
-    <table>
-		%for cnt,tag in enumerate(c.repo_tags):
-		<tr class="parity${cnt%2}">
-			<td>${tag._ctx.date()|n,filters.age}</td>
-			<td>
-				<span class="logtags">
-					<span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span>
-				</span>
-			</td>
-			<td class="nowrap">
-			${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}
-			|
-			${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))}
-			</td>
-		</tr>	
-		%endfor
-    </table>
-
-    <h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2>
-    <table>
-		%for cnt,branch in enumerate(c.repo_branches):
-		<tr class="parity${cnt%2}">
-			<td>${branch._ctx.date()|n,filters.age}</td>
-			<td>
-				<span class="logtags">
-					<span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span>
-				</span>			
-			</td>
-			<td class="nowrap">
-			${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}
-			|
-			${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))}
-			</td>
-		</tr>	
-		%endfor
-    </table>
-
-</%def>    
\ No newline at end of file
--- a/pylons_app/templates/summary/summary.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/summary/summary.html	Sat May 22 01:42:03 2010 +0200
@@ -13,13 +13,7 @@
     ${_('summary')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-		${self.menu('summary')}    
+	${self.menu('summary')}    
 </%def>
 <%def name="main()">
     <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2>
--- a/pylons_app/templates/tags/tags.html	Sat May 22 01:35:19 2010 +0200
+++ b/pylons_app/templates/tags/tags.html	Sat May 22 01:42:03 2010 +0200
@@ -13,14 +13,7 @@
     ${_('tags')}
 </%def>
 <%def name="page_nav()">
-        <form action="log">
-            <dl class="search">
-                <dt><label>Search: </label></dt>
-                <dd><input type="text" name="rev" /></dd>
-            </dl>
-        </form>
-
-		${self.menu('tags')}    
+	${self.menu('tags')}    
 </%def>
 <%def name="main()">