diff options
author | friendica <info@friendica.com> | 2012-11-05 15:26:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-05 15:26:01 -0800 |
commit | 4f1170b65618f6455f6432a8b90152fe45d4eeea (patch) | |
tree | 388cc5d4fb0de500fc72033945bf60b84483e542 /view | |
parent | 2752b58f3323a15b964f6518b7720cb81ccf1b0e (diff) | |
download | volse-hubzilla-4f1170b65618f6455f6432a8b90152fe45d4eeea.tar.gz volse-hubzilla-4f1170b65618f6455f6432a8b90152fe45d4eeea.tar.bz2 volse-hubzilla-4f1170b65618f6455f6432a8b90152fe45d4eeea.zip |
change permission settings from radio buttons to select boxes
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_settings.css | 17 | ||||
-rw-r--r-- | view/tpl/settings.tpl | 11 |
2 files changed, 9 insertions, 19 deletions
diff --git a/view/css/mod_settings.css b/view/css/mod_settings.css index ed8b83107..3d78124fe 100644 --- a/view/css/mod_settings.css +++ b/view/css/mod_settings.css @@ -1,17 +1,8 @@ -.settings-permission-label { - margin-top: 10px; - font-weight: bold; - margin-bottom: 10px; -} #settings-permissions-wrapper .field { - margin-left: 15px; - padding-bottom: 0px; - margin-bottom: 0px; + margin-bottom: 10px; } #settings-permissions-wrapper .field label{ - width: 200px; -} -#settings-permissions-wrapper .field input{ - text-align: left; - width: 50px; + width: 350px; + font-weight: bold; } + diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index b250a361e..a759e356a 100644 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -39,16 +39,15 @@ $nickname_block <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 }} +{{inc field_select.tpl with $field=$permit }}{{endinc}} {{ endfor }} </div> +<div class="settings-submit-wrapper" > +<input type="submit" name="submit" class="settings-submit" value="$submit" /> +</div> + |