mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-11 16:40:40 +00:00
Settings ui polish
This commit is contained in:
@ -20,21 +20,32 @@
|
||||
<ul class="collapsible no-autoinit settings-collapsible">
|
||||
<li>
|
||||
<div class="collapsible-header" style="justify-content: space-between;">
|
||||
<span>Profile Privacy</span>
|
||||
<span>Privacy</span>
|
||||
<i class="material-icons caret">keyboard_arrow_right</i>
|
||||
</div>
|
||||
<div class="collapsible-body">
|
||||
<div class="row">
|
||||
<div class="col s12 l3">
|
||||
<div class="switch">
|
||||
<label>
|
||||
private
|
||||
<input {% if user.is_public %}checked{% endif %} id="profile-is-public-switch" type="checkbox">
|
||||
<span class="lever"></span>
|
||||
public
|
||||
</label>
|
||||
</div>
|
||||
<div style="overflow: auto;">
|
||||
<p class="left"><i class="material-icons">public</i></p>
|
||||
<p class="left" style="margin-left: 10px;">
|
||||
Public status<br>
|
||||
<span class="light">Choose whether your profile is visible to other users.</span>
|
||||
</p>
|
||||
<br class="hide-on-med-and-down">
|
||||
<div class="switch right">
|
||||
<label>
|
||||
<input {% if user.is_public %}checked{% endif %} id="profile-is-public-switch" type="checkbox">
|
||||
<span class="lever"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div style="overflow: auto;">
|
||||
<p class="left"><i class="material-icons">badge</i></p>
|
||||
<p class="left" style="margin-left: 10px;">
|
||||
Public data<br>
|
||||
<span class="light">Choose which data is visible on your profile.</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="row" style="margin-left: 24px;">
|
||||
<div class="col s12 l3">
|
||||
<label>
|
||||
<input {% if user.has_profile_privacy_setting('SHOW_EMAIL') %}checked{% endif %} class="profile-privacy-setting-checkbox" data-profile-privacy-setting-name="SHOW_EMAIL" {% if not user.is_public %}disabled{% endif %} type="checkbox">
|
||||
@ -58,7 +69,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header" style="justify-content: space-between;">
|
||||
<span>Profile information</span>
|
||||
<span>Information</span>
|
||||
<i class="material-icons caret">keyboard_arrow_right</i>
|
||||
</div>
|
||||
<div class="collapsible-body">
|
||||
|
Reference in New Issue
Block a user