aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-01 19:47:10 -0700
committerfriendica <info@friendica.com>2012-11-01 19:47:10 -0700
commit3bf5677797a6a40dacac2ddcbe9271aea508e421 (patch)
treefa7e37883391fa81af4bfe5601cfaeca15aac39e /view
parent1021a4d4763974c3c40f40a0ca9682f1fcc3f6ee (diff)
downloadvolse-hubzilla-3bf5677797a6a40dacac2ddcbe9271aea508e421.tar.gz
volse-hubzilla-3bf5677797a6a40dacac2ddcbe9271aea508e421.tar.bz2
volse-hubzilla-3bf5677797a6a40dacac2ddcbe9271aea508e421.zip
settings page channel permissions front-end (needs back-end still)
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_manage.css4
-rw-r--r--view/css/mod_settings.css16
-rw-r--r--view/tpl/settings.tpl18
3 files changed, 36 insertions, 2 deletions
diff --git a/view/css/mod_manage.css b/view/css/mod_manage.css
index 921ddfc8f..15dd30ec6 100644
--- a/view/css/mod_manage.css
+++ b/view/css/mod_manage.css
@@ -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;
diff --git a/view/css/mod_settings.css b/view/css/mod_settings.css
new file mode 100644
index 000000000..246e767fc
--- /dev/null
+++ b/view/css/mod_settings.css
@@ -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;
+}
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index ce96fb8d2..b250a361e 100644
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -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>