var modals = document.getElementsByClassName('w3-modal');
for (var i = 0; i < modals.length; i++) {
modals[i].addEventListener('click', function(e) {
- var x = e.clientX;
- var y = e.clientY;
- var el = document.elementFromPoint(x, y);
+ var el = e.target || e.srcElement;
if (el.classList.contains('w3-modal')) {
$(this).hide(); // shadow clicked, hide modal
}
msgid "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
msgstr "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
+
+msgid "Add Connect directive"
+msgstr "Add Connect directive"
+
+msgid "Add Run directive"
+msgstr "Add Run directive"
+
+msgid "Add Runscript block"
+msgstr "Add Runscript block"
+
+msgid "Add Console directive"
+msgstr "Add Console directive"
+
+msgid "Add Stdout directive"
+msgstr "Add Stdout directive"
+
+msgid "Add Stderr directive"
+msgstr "Add Stderr directive"
+
+msgid "Add Syslog directive"
+msgstr "Add Syslog directive"
+
+msgid "Add Catalog directive"
+msgstr "Add Catalog directive"
+
+msgid "Add Director directive"
+msgstr "Add Director directive"
+
+msgid "Add File directive"
+msgstr "Add File directive"
+
+msgid "Add Append directive"
+msgstr "Add Append directive"
+
+msgid "Add Mail directive"
+msgstr "Add Mail directive"
+
+msgid "Add MailOnError directive"
+msgstr "Add MailOnError directive"
+
+msgid "Add MailOnSuccess directive"
+msgstr "Add MailOnSuccess directive"
+
+msgid "Add Operator directive"
+msgstr "Add Operator directive"
msgid "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
msgstr "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
+
+msgid "Add Connect directive"
+msgstr "Add Connect directive"
+
+msgid "Add Run directive"
+msgstr "Add Run directive"
+
+msgid "Add Runscript block"
+msgstr "Add Runscript block"
+
+msgid "Add Console directive"
+msgstr "Add Console directive"
+
+msgid "Add Stdout directive"
+msgstr "Add Stdout directive"
+
+msgid "Add Stderr directive"
+msgstr "Add Stderr directive"
+
+msgid "Add Syslog directive"
+msgstr "Add Syslog directive"
+
+msgid "Add Catalog directive"
+msgstr "Add Catalog directive"
+
+msgid "Add Director directive"
+msgstr "Add Director directive"
+
+msgid "Add File directive"
+msgstr "Add File directive"
+
+msgid "Add Append directive"
+msgstr "Add Append directive"
+
+msgid "Add Mail directive"
+msgstr "Add Mail directive"
+
+msgid "Add MailOnError directive"
+msgstr "Add MailOnError directive"
+
+msgid "Add MailOnSuccess directive"
+msgstr "Add MailOnSuccess directive"
+
+msgid "Add Operator directive"
+msgstr "Add Operator directive"
msgid "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
msgstr "Nazwa puli wolumenów nie została zmieniona ale pula została skopiowana z nową nazwą. Proszę mieć na uwadze, że jeżeli pierwotna pula wolumenów zawierała wolumeny to nie zostały one przeniesione i ciągle istnieją one przypisane do pierwotnej puli w bazie danych. Aby przypisać wolumeny z pierwotnej puli do tej puli wolumenów, proszę przejść do MENU GŁÓWNE ➤ Pule wolumenów ➤ [NOWA PULA] ➤ Zakładka: Akcje i proszę użyć przycisku 'Przypisz wolumeny'. Po przypisaniu wolumenów możesz usunąć pierwotną pulę."
+
+msgid "Add Connect directive"
+msgstr "Add Connect directive"
+
+msgid "Add Run directive"
+msgstr "Add Run directive"
+
+msgid "Add Runscript block"
+msgstr "Add Runscript block"
+
+msgid "Add Console directive"
+msgstr "Add Console directive"
+
+msgid "Add Stdout directive"
+msgstr "Add Stdout directive"
+
+msgid "Add Stderr directive"
+msgstr "Add Stderr directive"
+
+msgid "Add Syslog directive"
+msgstr "Add Syslog directive"
+
+msgid "Add Catalog directive"
+msgstr "Add Catalog directive"
+
+msgid "Add Director directive"
+msgstr "Add Director directive"
+
+msgid "Add File directive"
+msgstr "Add File directive"
+
+msgid "Add Append directive"
+msgstr "Add Append directive"
+
+msgid "Add Mail directive"
+msgstr "Add Mail directive"
+
+msgid "Add MailOnError directive"
+msgstr "Add MailOnError directive"
+
+msgid "Add MailOnSuccess directive"
+msgstr "Add MailOnSuccess directive"
+
+msgid "Add Operator directive"
+msgstr "Add Operator directive"
msgid "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
msgstr "A pool não foi renomeado, mas foi copiada com o novo nome. Observe que, se a pool original continha volumes, eles não foram movidos e ainda estão atribuídos à pool original no catálogo do banco de dados. Para reatribuir volumes da pool original para esta, vá para o Menu Principal ➤ Pools ➤ [Nova Pool] ➤ Guia: Ações e use o botão 'Atribuir volumes'. Depois de reajustar os volumes, você pode excluir a pool original."
+
+msgid "Add Connect directive"
+msgstr "Add Connect directive"
+
+msgid "Add Run directive"
+msgstr "Add Run directive"
+
+msgid "Add Runscript block"
+msgstr "Add Runscript block"
+
+msgid "Add Console directive"
+msgstr "Add Console directive"
+
+msgid "Add Stdout directive"
+msgstr "Add Stdout directive"
+
+msgid "Add Stderr directive"
+msgstr "Add Stderr directive"
+
+msgid "Add Syslog directive"
+msgstr "Add Syslog directive"
+
+msgid "Add Catalog directive"
+msgstr "Add Catalog directive"
+
+msgid "Add Director directive"
+msgstr "Add Director directive"
+
+msgid "Add File directive"
+msgstr "Add File directive"
+
+msgid "Add Append directive"
+msgstr "Add Append directive"
+
+msgid "Add Mail directive"
+msgstr "Add Mail directive"
+
+msgid "Add MailOnError directive"
+msgstr "Add MailOnError directive"
+
+msgid "Add MailOnSuccess directive"
+msgstr "Add MailOnSuccess directive"
+
+msgid "Add Operator directive"
+msgstr "Add Operator directive"
msgid "The pool has not been renamed but it has been copied with the new name. Please note that if the original pool contained volumes, they have not been moved and they are still assigned to the original pool in the catalog database. To re-assign volumes from the original pool to this one please go to the MAIN MENU ➤ Pools ➤ [NEW POOL] ➤ Tab: Actions and please use the 'Assign volumes' button. After re-assgning volumes you can delete the original pool."
msgstr "Пул не был переименован, но был скопирован с новым именем. Пожалуйста, обратите внимание, что если в первоначальном пуле содержались тома, они не были перемещены, и они по-прежнему назначены в исходный пул в базе данных каталога. Чтобы переназначить тома из исходного пула к этому пулу, перейдите к Главному меню ➤ Пулы ➤ [НОВЫЙ ПУЛ] ➤ Вкладка: Действия и, пожалуйста, используйте кнопку «Назначить тома». После восстановления томов вы можете удалить исходный пул."
+
+msgid "Add Connect directive"
+msgstr "Add Connect directive"
+
+msgid "Add Run directive"
+msgstr "Add Run directive"
+
+msgid "Add Runscript block"
+msgstr "Add Runscript block"
+
+msgid "Add Console directive"
+msgstr "Add Console directive"
+
+msgid "Add Stdout directive"
+msgstr "Add Stdout directive"
+
+msgid "Add Stderr directive"
+msgstr "Add Stderr directive"
+
+msgid "Add Syslog directive"
+msgstr "Add Syslog directive"
+
+msgid "Add Catalog directive"
+msgstr "Add Catalog directive"
+
+msgid "Add Director directive"
+msgstr "Add Director directive"
+
+msgid "Add File directive"
+msgstr "Add File directive"
+
+msgid "Add Append directive"
+msgstr "Add Append directive"
+
+msgid "Add Mail directive"
+msgstr "Add Mail directive"
+
+msgid "Add MailOnError directive"
+msgstr "Add MailOnError directive"
+
+msgid "Add MailOnSuccess directive"
+msgstr "Add MailOnSuccess directive"
+
+msgid "Add Operator directive"
+msgstr "Add Operator directive"
<b><i class="fa fa-desktop"></i> <%[ Client details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left">[ClientId <%=$this->getClientId()%>] <%[ Client: ]%> <%=$this->getClientName()%></h3>
+ <h3 class="w3-margin-left"><%[ Client: ]%> <%=$this->getClientName()%> <span class="w3-small">[ClientId <%=$this->getClientId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('ClientList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_client_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'client_actions');"><%[ Actions ]%></button>
var header = document.createElement('H4');
header.className = 'running_job_header';
header.textContent = '<%[ Job: ]%> #' + (job_nb+1) + ' ' + job.job;
+ var running_img = document.createElement('I');
+ running_img.className = 'fas fa-cog w3-spin w3-margin-left';
+ running_img.setAttribute('title', '<%[ Job is running ]%>');
+ header.appendChild(running_img);
var table = document.createElement('TABLE');
table.className = 'w3-table w3-stripped w3-border status_table running_job_table';
<b><i class="fa fa-tasks"></i> <%[ Job history details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left">[<%[ JobId ]%> <%=$this->getJobId()%>] <%[ Job: ]%> <%=$this->getJobName()%> </h3>
+ <h3 class="w3-margin-left"><%[ Job: ]%> <%=$this->getJobName()%> <span class="w3-small">[<%[ JobId ]%> <%=$this->getJobId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('JobHistoryList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_job_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'job_actions'); job_callback_func(); oRunningJobStatus.init_refresh();"><%[ Actions ]%></button>
<i class="fa fa-reply"></i> <%[ Restore ]%>
</com:TActiveLinkButton>
<div class="w3-panel w3-card w3-light-grey">
- <h3><%[ Job: ]%> <%=$this->getJobUname()%>
+ <h5><%[ Job: ]%> <%=$this->getJobUname()%>
<com:TActiveLabel ID="RunningIcon" Attributes.title="<%[ Job is running ]%>">
- <i class="fa fa-sync-alt w3-spin"></i>
+ <i class="fa fa-cog w3-spin"></i>
</com:TActiveLabel>
<com:TActiveLabel ID="FinishedIcon" Attributes.title="<%[ Job is finished ]%>">
<i class="fa fa-check"></i>
</com:TActiveLabel>
- </h3>
+ </h5>
<com:TCallback
ID="RunningJobStatusCb"
OnCallback="runningJobStatus"
<b><i class="fa fa-tape"></i> <%[ Pool details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left">[PoolId <%=$this->getPoolId()%>] <%[ Pool: ]%> <%=$this->getPoolName()%></h3>
+ <h3 class="w3-margin-left"><%[ Pool: ]%> <%=$this->getPoolName()%> <span class="w3-small">[PoolId <%=$this->getPoolId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('PoolList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_pool_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'pool_actions');"><%[ Actions ]%></button>
<b><i class="fa fa-database"></i> <%[ Storage details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left">[StorageId <%=$this->getStorageId()%>] <%[ Storage: ]%> <%=$this->getStorageName()%> </h3>
+ <h3 class="w3-margin-left"><%[ Storage: ]%> <%=$this->getStorageName()%> <span class="w3-small">[StorageId <%=$this->getStorageId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('StorageList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_storage_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'storage_actions');"><%[ Actions ]%></button>
}
};
</script>
- <i id="status_storage_loading" class="fa fa-sync w3-spin" style="display: none; vertical-align: super;"></i> <span id="status_storage_error" class="w3-text-red" style="display: none"></span>
+ <i id="status_storage_loading" class="fa fa-sync w3-spin w3-margin-left" style="display: none; vertical-align: super;"></i> <span id="status_storage_error" class="w3-text-red" style="display: none"></span>
<com:TActivePanel ID="Autochanger" Display="None" Height="61px">
<div class="w3-left w3-margin-right">
<label><%[ Drive number: ]%></label>
/>
</div>
</com:TActivePanel>
+ <div class="w3-clear"></div>
<div id="storage_action_text_output" class="w3-code" style="display: none; clear: both;">
<pre id="storage_action_log"></pre>
</div>
</table>
</div>
</div>
- <div id="status_storage_container" class="w3-clear w3-margin-top" style="display: none">
+ <div class="w3-clear"></div>
+ <div id="status_storage_container" style="display: none">
<div class="w3-right w3-margin-top w3-margin-right" title="<%[ To disable refreshing please type 0. ]%>">
<span style="line-height: 41px"><%[ Refresh interval (sec.): ]%></span> <input type="text" id="status_storage_refresh_interval" class="w3-input w3-border w3-right w3-margin-left" value="10" style="width: 50px"/>
</div>
<b><i class="fa fa-hdd"></i> <%[ Volume details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left">[MediaId <%=$this->getMediaId()%>] <%[ Volume: ]%> <%=$this->getVolumeName()%></h3>
+ <h3 class="w3-margin-left"><%[ Volume: ]%> <%=$this->getVolumeName()%> <span class="w3-small">[MediaId <%=$this->getMediaId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('VolumeList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_volume_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'volume_actions');"><%[ Actions ]%></button>
$this->showError(false);
$component_type = $this->getComponentType();
$resource_type = $this->getResourceType();
- $this->ResourceTypeLink->Text = $resource_type;
+ $this->ResourceTypeAddLink->Text = $resource_type;
+ $this->ResourceTypeAddWindowTitle->Text = $resource_type;
+ $this->ResourceTypeEditWindowTitle->Text = $resource_type;
$config = $this->getModule('api')->get(
[
'config',
</span>
<div id="<%=$this->ClientID%>_container">
<div class="w3-container">
- <a href="javascript:void(0)" class="w3-button w3-margin-bottom w3-green" onclick="oBaculaConfigResourceWindow<%=$this->ClientID%>.load_resource_window();"><i class="fa fa-plus"></i> <%[ Add ]%> <com:TActiveLabel ID="ResourceTypeLink" /></a>
+ <a href="javascript:void(0)" class="w3-button w3-margin-bottom w3-green" onclick="oBaculaConfigResourceWindow<%=$this->ClientID%>.load_resource_window();"><i class="fa fa-plus"></i> <%[ Add ]%> <com:TActiveLabel ID="ResourceTypeAddLink" /></a>
</div>
<table id="<%=$this->ClientID%>_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
<thead>
<div class="w3-modal-content w3-animate-top w3-card-4">
<header class="w3-container w3-teal">
<span onclick="oBaculaConfigResourceWindow<%=$this->ClientID%>.close_resource_window();" class="w3-button w3-display-topright">×</span>
- <h2 id="resource_window_title_add<%=$this->ClientID%>" style="display: none"><%[ Add ]%> <%=$this->getResourceType()%></h2>
- <h2 id="resource_window_title_edit<%=$this->ClientID%>" style="display: none"><%[ Edit ]%> <%=$this->getResourceType()%></h2>
+ <h2 id="resource_window_title_add<%=$this->ClientID%>" style="display: none"><%[ Add ]%> <com:TActiveLabel ID="ResourceTypeAddWindowTitle" /></h2>
+ <h2 id="resource_window_title_edit<%=$this->ClientID%>" style="display: none"><%[ Edit ]%> <com:TActiveLabel ID="ResourceTypeEditWindowTitle" /></h2>
</header>
<div class="w3-container w3-margin-left w3-margin-right w3-margin-top">
<com:Application.Web.Portlets.BaculaConfigDirectives
-<button type="button" class="w3-button w3-green w3-margin-bottom" onmousedown="openElementOnCursor(event, '<%=$this->RunscriptMenu->ClientID%>_new_schedule', 0, 20);"><i class="fa fa-plus"></i> <%[ Add ]%></button>
-<com:Application.Web.Portlets.NewScheduleMenu ID="RunscriptMenu" />
+<button type="button" class="w3-button w3-green w3-margin-bottom" onmousedown="openElementOnCursor(event, '<%=$this->ScheduleMenu->ClientID%>_new_schedule', 0, 20);"><i class="fa fa-plus"></i> <%[ Add ]%></button>
+<com:Application.Web.Portlets.NewScheduleMenu ID="ScheduleMenu" />
<com:TActiveRepeater ID="RepeaterScheduleRuns" OnItemDataBound="createRunItem">
<prop:ItemTemplate>
<div class="w3-card-4 w3-padding w3-margin-bottom directive runscript">
<com:TActiveLinkButton
- CssClass="w3-button w3-green w3-right"
+ CssClass="w3-button w3-red w3-right"
OnCommand="SourceTemplateControl.removeSchedule"
CommandName="<%=$this->ItemIndex%>"
>
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Console
+ <i class='fa fa-plus'></i> <%[ Add Console directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Stdout
+ <i class='fa fa-plus'></i> <%[ Add Stdout directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Stderr
+ <i class='fa fa-plus'></i> <%[ Add Stderr directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Syslog
+ <i class='fa fa-plus'></i> <%[ Add Syslog directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Catalog
+ <i class='fa fa-plus'></i> <%[ Add Catalog directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Director
+ <i class='fa fa-plus'></i> <%[ Add Director directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> File
+ <i class='fa fa-plus'></i> <%[ Add File directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Append
+ <i class='fa fa-plus'></i> <%[ Add Append directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Mail
+ <i class='fa fa-plus'></i> <%[ Add Mail directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> MailOnError
+ <i class='fa fa-plus'></i> <%[ Add MailOnError directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> MailOnSuccess
+ <i class='fa fa-plus'></i> <%[ Add MailOnSuccess directive ]%>
</com:TActiveLinkButton>
</li>
<li><com:TActiveLinkButton
ClientSide.OnComplete="var el = $('#<%=$this->ClientID%>_new_messages').next().find('div.directive'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_messages').hide();"
>
- <i class='fa fa-plus'></i> Operator
+ <i class='fa fa-plus'></i> <%[ Add Operator directive ]%>
</com:TActiveLinkButton>
</li>
</ul>
ClientSide.OnComplete="var el = $('#<%=$this->RunscriptItem->ClientID%>').parents('div').find('h3.runscript_options'); BaculaConfig.scroll_to_element(el[el.length-1]);"
Attributes.onclick="$(this).closest('div.config_new_runscript').hide();"
>
- <i class='fa fa-plus'></i> Runscript
+ <i class='fa fa-plus'></i> <%[ Add Runscript block ]%>
</com:TActiveLinkButton>
</li>
</ul>
<div id="<%=$this->ClientID%>_new_schedule" class="w3-card w3-white w3-padding config_new_schedule left" style="display: none">
<i class="fa fa-times w3-right" onclick="$('#<%=$this->ClientID%>_new_schedule').hide();" /></i>
- <ul style="margin-top: 0">
+ <ul class="w3-ul new_element_menu">
<li><com:TActiveLinkButton
ID="RunscriptItem"
OnCommand="Parent.SourceTemplateControl.newScheduleDirective"
ClientSide.OnComplete="var el = $('#<%=$this->RunscriptItem->ClientID%>').parents('div').find('h2.schedule_options'); BaculaConfig.scroll_to_element(el[el.length-1], -50);"
Attributes.onclick="$(this).closest('div.config_new_schedule').hide();"
>
- <%=$this->SourceTemplateControl->ComponentType == 'dir' ? 'Run' : ($this->SourceTemplateControl->ComponentType == 'fd' ? 'Connect' : '')%>
+ <i class='fa fa-plus'></i> <%=$this->SourceTemplateControl->ComponentType == 'dir' ? Prado::localize('Add Run directive') : ($this->SourceTemplateControl->ComponentType == 'fd' ? Prado::localize('Add Connect directive') : '')%>
</com:TActiveLinkButton>
</li>
</ul>