Mercurial > kallithea
changeset 6395:c4379e4dc820
templates: fix missing / superfluous close tags
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 06 Jan 2017 01:43:50 +0100 |
parents | e102408574e9 |
children | a955c3b26d31 |
files | kallithea/templates/admin/admin.html kallithea/templates/admin/admin_log.html kallithea/templates/admin/gists/edit.html kallithea/templates/admin/gists/new.html kallithea/templates/base/base.html kallithea/templates/base/perms_summary.html kallithea/templates/changeset/changeset_range.html kallithea/templates/files/files_add.html kallithea/templates/files/files_edit.html kallithea/templates/journal/journal.html |
diffstat | 10 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/admin.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/admin/admin.html Fri Jan 06 01:43:50 2017 +0100 @@ -12,7 +12,6 @@ <input type='submit' value="${_('Filter')}" class="btn btn-default btn-xs"/> ${_('Admin Journal')} - ${ungettext('%s Entry', '%s Entries', c.users_log.item_count) % (c.users_log.item_count)} </form> - ${h.end_form()} </%def> <%block name="header_menu">
--- a/kallithea/templates/admin/admin_log.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/admin/admin_log.html Fri Jan 06 01:43:50 2017 +0100 @@ -59,7 +59,6 @@ <ul class="pagination"> ${c.users_log.pager()} </ul> -</div> %else: ${_('No actions yet')} %endif
--- a/kallithea/templates/admin/gists/edit.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/admin/gists/edit.html Fri Jan 06 01:43:50 2017 +0100 @@ -71,7 +71,7 @@ <div style="padding: 10px 10px 10px 26px;color:#666666"> <input type="hidden" value="${h.safe_unicode(file.path)}" name="org_files"> <input id="filename_${h.FID('f',file.path)}" name="files" size="30" type="text" value="${h.safe_unicode(file.path)}"> - <select id="mimetype_${h.FID('f',file.path)}" name="mimetypes"/> + <select id="mimetype_${h.FID('f',file.path)}" name="mimetypes"></select> </div> <div class="editor_container"> <pre id="editor_pre"></pre>
--- a/kallithea/templates/admin/gists/new.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/admin/gists/new.html Fri Jan 06 01:43:50 2017 +0100 @@ -45,7 +45,7 @@ <div id="body" class="codeblock"> <div style="padding: 10px 10px 10px 26px;color:#666666"> ${h.text('filename', size=30, placeholder=_('name this file...'))} - <select id="mimetype" name="mimetype"/> + <select id="mimetype" name="mimetype"></select> </div> <div id="editor_container"> <pre id="editor_pre"></pre>
--- a/kallithea/templates/base/base.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/base/base.html Fri Jan 06 01:43:50 2017 +0100 @@ -422,6 +422,7 @@ </div> </div> </li> + </ul> <script type="text/javascript"> $(document).ready(function(){
--- a/kallithea/templates/base/perms_summary.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/base/perms_summary.html Fri Jan 06 01:43:50 2017 +0100 @@ -9,13 +9,13 @@ <div class="perms_section_head"> ${section.replace("_"," ").capitalize()} %if section != 'global': - <div style="float: right"> + <div style="float: right"> ${_('Show')}: <label>${h.checkbox('perms_filter_none_%s' % section, 'none', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='none')}<span class="perm_tag none">${_('None')}</span></label> <label>${h.checkbox('perms_filter_read_%s' % section, 'read', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='read')}<span class="perm_tag read">${_('Read')}</span></label> <label>${h.checkbox('perms_filter_write_%s' % section, 'write', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='write')}<span class="perm_tag write">${_('Write')}</span></label> <label>${h.checkbox('perms_filter_admin_%s' % section, 'admin', 'checked', class_='perm_filter filter_%s' % section, section=section, perm_type='admin')}<span class="perm_tag admin">${_('Admin')}</span></label> - </div> + </div> %endif </div> %if not permissions[section]: @@ -26,11 +26,12 @@ ## global permission box %if section == 'global': <thead> - <tr> + <tr> <th colspan="2" class="left">${_('Permission')}</th> %if actions: <th class="left">${_('Edit Permission')}</th> %endif + </tr> </thead> <tbody> %for k in permissions[section]: @@ -49,12 +50,13 @@ %else: ## none/read/write/admin permissions on groups/repos etc <thead> - <tr> + <tr> <th class="left">${_('Name')}</th> <th class="left">${_('Permission')}</th> %if actions: <th class="left">${_('Edit Permission')}</th> %endif + </tr> </thead> <tbody class="section_${section}"> %for k, section_perm in sorted(permissions[section].items(), key=lambda s: {'none':0, 'read':1,'write':2,'admin':3}.get(s[1].split('.')[-1])):
--- a/kallithea/templates/changeset/changeset_range.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/changeset/changeset_range.html Fri Jan 06 01:43:50 2017 +0100 @@ -7,9 +7,9 @@ <%def name="breadcrumbs_links()"> ${_('Changesets')} - - ${h.link_to(h.show_id(c.cs_ranges[0]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[0].raw_id))}</td> + ${h.link_to(h.show_id(c.cs_ranges[0]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[0].raw_id))} <i class="icon-right"></i> - ${h.link_to(h.show_id(c.cs_ranges[-1]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[-1].raw_id))}</td> + ${h.link_to(h.show_id(c.cs_ranges[-1]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[-1].raw_id))} </%def> <%block name="header_menu">
--- a/kallithea/templates/files/files_add.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/files/files_add.html Fri Jan 06 01:43:50 2017 +0100 @@ -52,7 +52,7 @@ <div class="code-header" id="mimetype_header"> <label class="commit"> ${_('New file type')} - <select class="form-control" id="mimetype" name="mimetype"/> + <select class="form-control" id="mimetype" name="mimetype"></select> </label> </div> <div id="editor_container">
--- a/kallithea/templates/files/files_edit.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/files/files_edit.html Fri Jan 06 01:43:50 2017 +0100 @@ -57,7 +57,7 @@ </div> <label class="commit"> ${_('Editing file')}: ${c.file.unicode_path} - <select class="form-control" id="mimetype" name="mimetype"/> + <select class="form-control" id="mimetype" name="mimetype"></select> </label> </div> <pre id="editor_pre"></pre>
--- a/kallithea/templates/journal/journal.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/journal/journal.html Fri Jan 06 01:43:50 2017 +0100 @@ -11,7 +11,6 @@ <input type='submit' value="${_('Filter')}" class="btn btn-default btn-xs"/> ${_('Journal')} - ${ungettext('%s Entry', '%s Entries', c.journal_pager.item_count) % (c.journal_pager.item_count)} </form> - ${h.end_form()} </h5> </%def> <%block name="header_menu">