changeset 6291:bc97f0d206fe

style: fix structure of my account profile The avatar was outside the usual wrapping structure.
author Mads Kiilerich <madski@unity3d.com>
date Sat, 05 Nov 2016 18:26:08 +0100
parents 6f4f39b21302
children ea818def1a09
files kallithea/templates/admin/my_account/my_account_profile.html
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/my_account/my_account_profile.html	Mon Oct 31 22:39:39 2016 +0100
+++ b/kallithea/templates/admin/my_account/my_account_profile.html	Sat Nov 05 18:26:08 2016 +0100
@@ -1,10 +1,10 @@
 ${h.form(url('my_account'), method='post')}
     <div class="form">
-
-        <div class="form-group">
-            <div class="gravatar_box">
-                ${h.gravatar_div(c.user.email)}
-                <p>
+        <div class="form-horizontal">
+            <div class="form-group">
+                <div class="gravatar_box">
+                    ${h.gravatar_div(c.user.email)}
+                    <p>
                     %if c.visual.use_gravatar:
                         <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong>
                         <br/>${_('Using')} ${c.user.email}
@@ -13,11 +13,10 @@
                         <br/>${c.user.email or _('Missing email, please update your user email address.')}
                         [${_('Current IP')}: ${c.ip_addr}]
                     %endif
-                </p>
+                    </p>
+                </div>
             </div>
-        </div>
 
-        <div class="form-horizontal">
             <div class="form-group">
                 <label class="control-label" for="username">${_('Username')}:</label>
                 <div class="input">