Changeset 23121 for trunk/admin/themes/default
- Timestamp:
- Jun 9, 2013, 8:57:26 PM (11 years ago)
- Location:
- trunk/admin/themes/default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/fix-ie7.css
r9864 r23121 7 7 text-align:left; 8 8 } 9 .groups li { 10 display: inline; 11 } -
trunk/admin/themes/default/template/group_list.tpl
r23062 r23121 2 2 {literal} 3 3 $(document).ready(function() { 4 4 $('.groups input').change(function () { $(this).parent('p').toggleClass('group_select'); }); 5 5 $(".grp_action").hide(); 6 6 $("input.group_selection").click(function() { … … 34 34 $("[id^=action_]").hide(); 35 35 $("#action_"+$(this).prop("value")).show(); 36 if ($(this).val() != -1 && $(this).val() !="manage_pemissions" && $(this).val() !="manage_members") {36 if ($(this).val() != -1 ) { 37 37 $("#applyActionBlock").show(); 38 38 } … … 67 67 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 68 68 69 <ul style="text-align:center;">69 <ul class="groups"> 70 70 {if not empty($groups)} 71 71 {foreach from=$groups item=group name=group_loop} 72 <li style="vertical-align: middle;position: relative;display: inline-block;text-align: left;background-color: #ccc;height: 300px; width: 250px; margin: 5px">73 < p style="text-align: left;"><label>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></label></p>74 <p style="text-align: left;max-height: 200px;overflow: auto;">{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</p>75 < p style="text-align: left;position: absolute;bottom: 0"><a class="buttonLike" href="{$group.U_PERM}" title="{'Permissions'|@translate}">{'Manage Permissions'|@translate}</a></p>72 <li> 73 <label><p>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></p></label> 74 <p class="list_user">{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</p> 75 <a class="buttonLike group_perm" href="{$group.U_PERM}" title="{'Permissions'|@translate}">{'Manage Permissions'|@translate}</a> 76 76 </li> 77 77 {/foreach} … … 91 91 <option value="merge">{'Merge selected groups'|@translate}</option> 92 92 <option value="duplicate">{'Duplicate'|@translate}</option> 93 <option value="manage_members">{'Manage the members'|@translate}</option>94 <option value="manage_pemissions">{'Manage Permissions'|@translate}</option>95 93 <option value="toggle_default">{'Toggle \'default group\' property'|@translate}</option> 96 94 {if !empty($element_set_groupe_plugins_actions)} … … 138 136 </div> 139 137 140 <!-- manage_members -->141 <div id="action_manage_members" class="bulkAction">142 {if not empty($groups)}143 {foreach from=$groups item=group}144 <p group_id="{$group.ID}" class="grp_action">145 {$group.NAME} > {if $group.NB_MEMBERS!=0}<a class="buttonLike" href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{'Manage the members'|@translate}</a>{else}{'No members to manage'|@translate}{/if}146 </p>147 {/foreach}148 {/if}149 </div>150 151 <!-- manage_pemissions -->152 <div id="action_manage_pemissions" class="bulkAction">153 {if not empty($groups)}154 {foreach from=$groups item=group}155 <p group_id="{$group.ID}" class="grp_action">156 {$group.NAME} > <a class="buttonLike" href="{$group.U_PERM}" title="{'Permissions'|@translate}">{'Manage Permissions'|@translate}</a>157 </p>158 {/foreach}159 {/if}160 </div>161 162 138 <!-- toggle_default --> 163 139 <div id="action_toggle_default" class="bulkAction"> -
trunk/admin/themes/default/theme.css
r22704 r23121 1104 1104 margin-left:5px; 1105 1105 } 1106 1107 .groups { 1108 text-align:center; 1109 } 1110 .groups li { 1111 vertical-align: middle; 1112 position: relative; 1113 display: inline-block; 1114 text-align: left; 1115 height: 300px; 1116 width: 250px; 1117 margin: 5px; 1118 border-radius: 5px; 1119 } 1120 .groups p { 1121 text-align:left; 1122 } 1123 .groups label>p { 1124 margin: 0; 1125 border-radius: 5px 5px 0 0; 1126 padding: 2px; 1127 text-align: center; 1128 } 1129 1130 .groups input { 1131 float: right; 1132 } 1133 p.list_user { 1134 text-align: left; 1135 max-height: 200px; 1136 overflow: auto; 1137 } 1138 a.group_perm { 1139 position: absolute; 1140 bottom: 5px; 1141 right: 5px; 1142 }
Note: See TracChangeset
for help on using the changeset viewer.