settings page channel permissions front-end (needs back-end still)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#channels-selected {
|
||||
color: #666666;
|
||||
font-size: 1.2em;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#channels-desc {
|
||||
color: #888888;
|
||||
color: #666666;
|
||||
font-size: 1.2em;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
16
view/css/mod_settings.css
Normal file
16
view/css/mod_settings.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.settings-permission-label {
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#settings-permissions-wrapper .field {
|
||||
margin-left: 15px;
|
||||
padding-bottom: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
#settings-permissions-wrapper .field label{
|
||||
width: 200px;
|
||||
}
|
||||
#settings-permissions-wrapper .field input{
|
||||
text-align: left;
|
||||
width: 50px;
|
||||
}
|
||||
@@ -35,6 +35,23 @@ $nickname_block
|
||||
|
||||
<input type="hidden" name="visibility" value="$visibility" />
|
||||
|
||||
|
||||
|
||||
<div id="settings-permissions-wrapper">
|
||||
{{ for $permiss_arr as $permit }}
|
||||
<div id="settings-perms-$permit.key" class="settings-permission-label">$permit.label</div>
|
||||
{{ for $permit.fields as $radio }}
|
||||
|
||||
{{inc field_radio.tpl with $field=$radio }}{{endinc}}
|
||||
|
||||
{{ endfor }}
|
||||
{{ endfor }}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
|
||||
|
||||
$profile_in_dir
|
||||
@@ -73,7 +90,6 @@ $unkmail
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>$permissions $permdesc</a>
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
|
||||
Reference in New Issue
Block a user