Changeset - 15909fe588e1
[Not reviewed]
default
0 5 0
Mads Kiilerich - 9 years ago 2016-12-04 22:53:37
mads@kiilerich.com
style: introduce missing 'control-label' markup for labels inside 'form-group'
5 files changed with 13 insertions and 15 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/my_account/my_account_api_keys.html
Show inline comments
 
@@ -57,7 +57,7 @@
 
        <!-- fields -->
 
        <div class="form-horizontal">
 
            <div class="form-group">
 
                <label for="description">${_('New API key')}:</label>
 
                <label class="control-label" for="description">${_('New API key')}:</label>
 
                <div class="form-inline">
 
                    ${h.text('description', class_='form-control', placeholder=_('Description'))}
 
                    ${h.select('lifetime', '', c.lifetime_options)}
kallithea/templates/admin/permissions/permissions_globals.html
Show inline comments
 
@@ -8,7 +8,7 @@ ${h.form(url('admin_permissions'), metho
 
                    <div class="checkbox">
 
                        ${h.checkbox('anonymous',True)}
 
                    </div>
 
                     <span class="help-block">${h.literal(_('Allow access to Kallithea without needing to log in. Anonymous users use %s user permissions.' % (h.link_to('*default*',h.url('admin_permissions_perms')))))}</span>
 
                    <span class="help-block">${h.literal(_('Allow access to Kallithea without needing to log in. Anonymous users use %s user permissions.' % (h.link_to('*default*',h.url('admin_permissions_perms')))))}</span>
 
                </div>
 
            </div>
 
            <div class="form-group">
kallithea/templates/admin/settings/settings_vcs.html
Show inline comments
 
@@ -2,7 +2,7 @@ ${h.form(url('admin_settings'), method='
 
    <div class="form">
 
        <div class="form-horizontal">
 
            <div class="form-group">
 
                <label>${_('Hooks')}:</label>
 
                <label class="control-label">${_('Hooks')}:</label>
 
                <div>
 
                    <div class="checkbox">
 
                        <label>
 
@@ -31,7 +31,7 @@ ${h.form(url('admin_settings'), method='
 
                </div>
 
            </div>
 
            <div class="form-group">
 
                <label>${_('Mercurial extensions')}:</label>
 
                <label class="control-label">${_('Mercurial extensions')}:</label>
 
                <div>
 
                    <div class="checkbox">
 
                        <label>
kallithea/templates/admin/settings/settings_visual.html
Show inline comments
 
@@ -4,15 +4,15 @@ ${h.form(url('admin_settings_visual'), m
 
        <div class="form-horizontal">
 

	
 
            <div class="form-group">
 
                <label>${_('General')}:</label>
 
                <label class="control-label">${_('General')}:</label>
 
                <div>
 
                    <div class="checkbox">
 
                        <label>
 
                            ${h.checkbox('repository_fields','True')}
 
                            ${_('Use repository extra fields')}
 
                        </label>
 
                        <span class="help-block">${_('Allows storing additional customized fields per repository.')}</span>
 
                    </div>
 
                    <span class="help-block">${_('Allows storing additional customized fields per repository.')}</span>
 

	
 
                    <div class="checkbox">
 
                        <label>
 
@@ -28,21 +28,19 @@ ${h.form(url('admin_settings_visual'), m
 
                            ${_('Use Gravatars in Kallithea')}
 
                        </label>
 
                    </div>
 
                    <div>
 
                        ${h.text('gravatar_url', size=80, class_='form-control')}
 
                        <span class="help-block">${_('''Gravatar URL allows you to use another avatar server application.
 
                    ${h.text('gravatar_url', size=80, class_='form-control')}
 
                    <span class="help-block">${_('''Gravatar URL allows you to use another avatar server application.
 
                                                        The following variables of the URL will be replaced accordingly.
 
                                                        {scheme}    'http' or 'https' sent from running Kallithea server,
 
                                                        {email}     user email,
 
                                                        {md5email}  md5 hash of the user email (like at gravatar.com),
 
                                                        {size}      size of the image that is expected from the server application,
 
                                                        {netloc}    network location/server host of running Kallithea server''')}</span>
 
                    </div>
 
                </div>
 
            </div>
 

	
 
            <div class="form-group">
 
                <label>${_('Clone URL')}:</label>
 
                <label class="control-label">${_('Clone URL')}:</label>
 
                <div>
 
                    ${h.text('clone_uri_tmpl', size=80, class_='form-control')}
 
                    <span class="help-block">${_('''Schema of clone URL construction eg. '{scheme}://{user}@{netloc}/{repo}'.
 
@@ -72,7 +70,7 @@ ${h.form(url('admin_settings_visual'), m
 
            </div>
 

	
 
            <div class="form-group">
 
                <label>${_('Icons')}:</label>
 
                <label class="control-label">${_('Icons')}:</label>
 
                <div>
 
                    <div class="checkbox">
 
                        <label>
 
@@ -91,11 +89,12 @@ ${h.form(url('admin_settings_visual'), m
 
            </div>
 

	
 
            <div class="form-group">
 
                <label>${_('Meta Tagging')}:</label>
 
                <label class="control-label" for="stylify_metatags">${_('Meta Tagging')}:</label>
 
                <div>
 
                    <div class="checkbox">
 
                        ${h.checkbox('stylify_metatags','True')}
 
                    </div>
 
                    <span class="help-block">${_('Parses meta tags from the repository description field and turns them into colored tags.')}</span>
 
                    <div>
 
                        ${_('Stylify recognised meta tags:')}
 
                        <ul> <!-- Fix style here -->
 
@@ -109,7 +108,6 @@ ${h.form(url('admin_settings_visual'), m
 
                            <li>[see =&gt; URI] <span class="metatag" tag="see">see =&gt; <a href="#">URI</a> </span></li>
 
                        </ul>
 
                    </div>
 
                    <span class="help-block">${_('Parses meta tags from the repository description field and turns them into colored tags.')}</span>
 
                 </div>
 
            </div>
 

	
kallithea/templates/search/search.html
Show inline comments
 
@@ -53,7 +53,7 @@ ${self.repo_context_bar('options')}
 
            </div>
 

	
 
            <div class="form-group">
 
                <label for="type">${_('Search in')}:</label>
 
                <label class="control-label" for="type">${_('Search in')}:</label>
 
                <div>
 
                    ${h.select('type',c.cur_type,[('content',_('File contents')),
 
                        ('commit',_('Commit messages')),
0 comments (0 inline, 0 general)