]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Web/Portlets/DirectiveBoolean.tpl
baculum: Add link to go back from job configuration window
[bacula/bacula] / gui / baculum / protected / Web / Portlets / DirectiveBoolean.tpl
1 <div class="line<%=!$this->display_directive ? ' hide' : '';%>">
2         <div class="text"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
3         <div class="field directive_value">
4                 <com:TActiveCheckBox
5                         ID="Directive"
6                         AutoPostBack="false"
7                         Visible="<%=$this->display_directive%>"
8                         OnCheckedChanged="saveValue"
9                         ActiveControl.EnableUpdate="false"
10                 />
11                 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/switch.png" class="reset_btn" onclick="document.getElementById('<%=$this->Directive->ClientID%>').checked = <%=$this->getDefaultValue() ? 'true' : 'false'%>;" alt="<%[ Reset to default value ]%>" title="<%[ Reset to default value ]%>" />
12         </div>
13 </div>