- Timestamp:
- 11/11/08 14:48:36 (8 weeks ago)
- Location:
- branches/iclerencia/dashboard/client/ebox/src/templates/dashboard
- Files:
-
- 2 modified
-
index.mas (modified) (2 diffs)
-
status.mas (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/iclerencia/dashboard/client/ebox/src/templates/dashboard/index.mas
r11625 r11633 70 70 <script type="text/javascript"> 71 71 //<![CDATA[ 72 function closeWidget(wid get)72 function closeWidget(wid) 73 73 { 74 var name = 'widget_' + wid get;74 var name = 'widget_' + wid; 75 75 var parent = $(name).parentNode.id; 76 76 Element.remove(name); … … 79 79 parameters: { dashboard: parent, widgets: Sortable.sequence(parent).join(',') } 80 80 }); 81 var placeholder = name + '_placeholder'; 82 var parts = wid.split(':'); 83 if($(placeholder)) { 84 showModuleWidgets(parts[0]); 85 } 81 86 } 82 87 -
branches/iclerencia/dashboard/client/ebox/src/templates/dashboard/status.mas
r10807 r11633 21 21 } 22 22 </%init> 23 <form action='/ebox/EBox/RestartService'>24 23 <tr> 25 24 <td class='summaryKey'><% $item->{printableName} %></td> 26 25 <td class='summaryValue'><span class='sleft'><% $status_str %></span> 27 26 % if ($item->{running} or $item->{enabled}) { 27 <form action='/ebox/EBox/RestartService'> 28 28 <input type='hidden' name='module' value='<% $item->{name} %>'/> 29 29 <span class='sright'> 30 30 <input class='inputButtonRestart' type='submit' name='restart' value='<% $restart %>'/> 31 31 </span> 32 </form> 32 33 % } 33 34 </td> 34 35 </tr> 35 </form>36 36 % settextdomain($domain);
