Browse Source

Add lines to split profile information

fix_ipv6_clean
Alexandre Iooss 7 years ago
parent
commit
5ae1a53172
  1. 6
      static/css/base.css
  2. 16
      users/templates/users/profil.html

6
static/css/base.css

@ -134,6 +134,12 @@ th.long_text{
} }
/* Detailed information on profile page */ /* Detailed information on profile page */
dl.profile-info {
margin-top: -16px;
margin-bottom: 0;
}
dl.profile-info > div { dl.profile-info > div {
padding: 8px; padding: 8px;
border-top: 1px solid #ddd;
} }

16
users/templates/users/profil.html

@ -286,19 +286,19 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</dd> </dd>
</div> </div>
<div class="col-md-6 col-xs-12"> {% if users.adherent.gpg_fingerprint %}
{% if users.adherent.gpg_fingerprint %} <div class="col-md-6 col-xs-12">
<dt>{% trans "GPG fingerprint" %}</dt> <dt>{% trans "GPG fingerprint" %}</dt>
<dd>{{ users.adherent.gpg_fingerprint }}</dd> <dd>{{ users.adherent.gpg_fingerprint }}</dd>
{% endif %} </div>
</div> {% endif %}
<div class="col-md-6 col-xs-12"> {% if users.shell %}
{% if users.shell %} <div class="col-md-6 col-xs-12">
<dt>{% trans "Shell" %}</dt> <dt>{% trans "Shell" %}</dt>
<dd>{{ users.shell }}</dd> <dd>{{ users.shell }}</dd>
{% endif %} </div>
</div> {% endif %}
</dl> </dl>
</div> </div>
</div> </div>

Loading…
Cancel
Save