Mercurial > kallithea
changeset 6358:15909fe588e1
style: introduce missing 'control-label' markup for labels inside 'form-group'
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 04 Dec 2016 22:53:37 +0100 |
parents | 9447a8b26da0 |
children | 25da0eeaa3ea |
files | kallithea/templates/admin/my_account/my_account_api_keys.html kallithea/templates/admin/permissions/permissions_globals.html kallithea/templates/admin/settings/settings_vcs.html kallithea/templates/admin/settings/settings_visual.html kallithea/templates/search/search.html |
diffstat | 5 files changed, 13 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/my_account/my_account_api_keys.html Sun Dec 04 22:53:37 2016 +0100 +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html Sun Dec 04 22:53:37 2016 +0100 @@ -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)}
--- a/kallithea/templates/admin/permissions/permissions_globals.html Sun Dec 04 22:53:37 2016 +0100 +++ b/kallithea/templates/admin/permissions/permissions_globals.html Sun Dec 04 22:53:37 2016 +0100 @@ -8,7 +8,7 @@ <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">
--- a/kallithea/templates/admin/settings/settings_vcs.html Sun Dec 04 22:53:37 2016 +0100 +++ b/kallithea/templates/admin/settings/settings_vcs.html Sun Dec 04 22:53:37 2016 +0100 @@ -2,7 +2,7 @@ <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 @@ </div> </div> <div class="form-group"> - <label>${_('Mercurial extensions')}:</label> + <label class="control-label">${_('Mercurial extensions')}:</label> <div> <div class="checkbox"> <label>
--- a/kallithea/templates/admin/settings/settings_visual.html Sun Dec 04 22:53:37 2016 +0100 +++ b/kallithea/templates/admin/settings/settings_visual.html Sun Dec 04 22:53:37 2016 +0100 @@ -4,15 +4,15 @@ <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 @@ ${_('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 @@ </div> <div class="form-group"> - <label>${_('Icons')}:</label> + <label class="control-label">${_('Icons')}:</label> <div> <div class="checkbox"> <label> @@ -91,11 +89,12 @@ </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 @@ <li>[see => URI] <span class="metatag" tag="see">see => <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>
--- a/kallithea/templates/search/search.html Sun Dec 04 22:53:37 2016 +0100 +++ b/kallithea/templates/search/search.html Sun Dec 04 22:53:37 2016 +0100 @@ -53,7 +53,7 @@ </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')),