]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Web/Portlets/BaculaConfigResources.tpl
baculum: New Baculum API and Baculum Web
[bacula/bacula] / gui / baculum / protected / Web / Portlets / BaculaConfigResources.tpl
1 <div class="config_resources" style="display: none">
2         <com:TActiveRepeater ID="RepeaterResources" OnItemCreated="createResourceListElement">
3                 <prop:ItemTemplate>
4                         <com:TPanel>
5                                 <table class="resource" onmousedown="(event.target||event.srcElement).id != '<%=$this->Resource->ClientID%>' ? $('#<%=$this->Resource->ClientID%>').trigger('click') : '';" onmouseover="$(this).find('a.action_link').addClass('resource_selected');" onmouseout="$(this).find('a.action_link').removeClass('resource_selected');">
6                                         <tr>
7                                                 <td><com:TActiveLinkButton
8                                                         ID="Resource"
9                                                         ActiveControl.EnableUpdate="false"
10                                                         OnCommand="SourceTemplateControl.getDirectives"
11                                                         ClientSide.OnLoading="BaculaConfig.loader_start(sender.options.ID);"
12                                                         ClientSide.OnComplete="BaculaConfig.set_config_items(sender.options.ID);"
13                                                         Attributes.onclick="return BaculaConfig.unset_config_items(this.id);"
14                                                         Text="<strong><%=$this->DataItem['resource_type']%></strong>: <%=$this->DataItem['resource_name']%>"
15                                                 />
16                                                         <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/ajax-loader-arrows.gif" alt="" style="display: none" />
17                                                 </td>
18                                                 <td class="right" style="height: 26px">
19                                                         <!--a class="action_link" href="javascript:void(0)"><img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/config.png" alt="<%[ Edit ]%>" /> <%[ Edit ]%></a>
20                                                         <a class="action_link" href="javascript:void(0)"><img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/icon_err.png" alt="<%[ Remove ]%>" /> <%[ Remove ]%></a--></td>
21                                         </tr>
22                                 </table>
23                                 <com:Application.Web.Portlets.BaculaConfigDirectives
24                                         Resource="<%#$this->DataItem['resource_name']%>"
25                                         LoadValues="<%=true%>"
26                                 />
27                         </com:TPanel>
28                 </prop:ItemTemplate>
29         </com:TActiveRepeater>
30 </div>