diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-09-11 02:24:51 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-09-11 02:24:51 +0000 |
commit | 92f80e5d799aa7fef5f00cbf5c27e32f92c4b2ea (patch) | |
tree | cbde0a4b03ea5733bf71ce1db3c8ec993825c38e /template/yoga | |
parent | 45fde2cc6b34d3acdfd43b487eb4b7dbeede05a8 (diff) |
feature 731: permissions at image level
- this is the first version - I wait for feedback before changing help files
git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r-- | template/yoga/admin/element_set_global.tpl | 19 | ||||
-rw-r--r-- | template/yoga/admin/user_list.tpl | 13 | ||||
-rw-r--r-- | template/yoga/menubar.css | 1 | ||||
-rw-r--r-- | template/yoga/thumbnails.css | 7 |
4 files changed, 39 insertions, 1 deletions
diff --git a/template/yoga/admin/element_set_global.tpl b/template/yoga/admin/element_set_global.tpl index de8217104..b99789413 100644 --- a/template/yoga/admin/element_set_global.tpl +++ b/template/yoga/admin/element_set_global.tpl @@ -34,7 +34,11 @@ <!-- BEGIN thumbnail --> <li><span class="wrap1"> <label> - <span class="wrap2"><span> + <span class="wrap2"> + <!-- BEGIN level --> + <em class="levelIndicatorB">{thumbnails.thumbnail.level.LEVEL}</em><em class="levelIndicatorF" title="{thumbnails.thumbnail.level.TITLE}">{thumbnails.thumbnail.level.LEVEL}</em> + <!-- END level --> + <span> <img src="{thumbnails.thumbnail.SRC}" alt="{thumbnails.thumbnail.ALT}" title="{thumbnails.thumbnail.TITLE}" @@ -133,6 +137,19 @@ </td> </tr> + <tr> + <td>{lang:Minimum privacy level}</td> + <td> + <label><input type="radio" name="level_action" value="leave" checked="checked" />{lang:leave}</label> + <label><input type="radio" name="level_action" value="set" id="level_action_set" />{lang:set to}</label> + <select onmousedown="document.getElementById('level_action_set').checked = true;" name="level" size="1"> + <!-- BEGIN level_option --> + <option {level_option.SELECTED} value="{level_option.VALUE}">{level_option.CONTENT} ({level_option.VALUE})</option> + <!-- END level_option --> + </select> + </td> + </tr> + </table> <p> diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl index 07c303ec4..355d6894b 100644 --- a/template/yoga/admin/user_list.tpl +++ b/template/yoga/admin/user_list.tpl @@ -190,6 +190,19 @@ </td> </tr> + <tr> + <td>{lang:Privacy level}</td> + <td> + <label><input type="radio" name="level_action" value="leave" checked="checked" />{lang:leave}</label> + <label><input type="radio" name="level_action" value="set" id="level_action_set" />{lang:set to}</label> + <select onmousedown="document.getElementById('level_action_set').checked = true;" name="level" size="1"> + <!-- BEGIN level_option --> + <option {level_option.SELECTED} value="{level_option.VALUE}">{level_option.CONTENT} ({level_option.VALUE})</option> + <!-- END level_option --> + </select> + </td> + </tr> + </table> </fieldset> diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css index 6e40eb4eb..0e8185eeb 100644 --- a/template/yoga/menubar.css +++ b/template/yoga/menubar.css @@ -47,6 +47,7 @@ #menubar UL UL { font-size: 100%; margin-top: 0; + margin-bottom: 0; } #menubar LI.selected A { diff --git a/template/yoga/thumbnails.css b/template/yoga/thumbnails.css index 4e67b527d..6f69f2cb7 100644 --- a/template/yoga/thumbnails.css +++ b/template/yoga/thumbnails.css @@ -51,3 +51,10 @@ top: 2px; } +UL.thumbnails .levelIndicatorB { +display:block; position:absolute; z-index:100;padding:0px 0 0 14px; color:black; font-weight:bold; fontsize:120%; +} + +UL.thumbnails .levelIndicatorF { +display:block; position:absolute; z-index:101;padding:1px 0 0 15px; color:white; font-weight:bold; fontsize:120%; +}
\ No newline at end of file |