Select Git revision
-
Richard Mitchell authoredRichard Mitchell authored
formHost.ihtml 34.71 KiB
{$form.javascript}{$javascript}
<form {$form.attributes}>
<div class="headerTabContainer">
<ul id="mainnav">
<li class="a" id='c1'><a href="#" style='cursor:pointer' onclick="javascript:montre('1');">{$sort1}</a></li>
<li class="b" id='c2'><a href="#" style='cursor:pointer' onclick="javascript:montre('2');">{$sort2}</a></li>
<li class="b" id='c3'><a href="#" style='cursor:pointer' onclick="javascript:montre('3');">{$sort3}</a></li>
<li class="b" id='c4'><a href="#" style='cursor:pointer' onclick="javascript:montre('4');">{$sort4}</a></li>
<li class="b" id='c5'><a href="#" style='cursor:pointer' onclick="javascript:montre('5');">{$sort5}</a></li>
</ul>
<div id="validFormTop">
{if $o == "a" || $o == "c" || $o == "mc"}
<p class="oreonbutton">{$form.submitC.html}{$form.submitMC.html}{$form.submitA.html} {$form.reset.html}</p>
{else if $o == "w"}
<p class="oreonbutton">{$form.change.html}</p>
{/if}
</div>
</div>
<div id='tab1' class='tab'>
<table class="formTable table">
<tr class="ListHeader">
<td class="FormHeader"><h3>| {$form.header.title}</h3></td>
<td style="text-align:right;">
<a href="./main.php?p={$p}&min=1&doc=1&page=configobject.html" target="_blank" style='cursor:help' alt='{$topdoc}'>
</td>
</tr>
<tr class="list_lvl_1">
<td class="ListColLvl1_name" colspan="2"><h4>{t}Host basic information{/t}</h4></td>
</tr>
{if $o != "mc"}
<tr class="list_one">
<td class="FormRowField"><img class="helpTooltip" name="host_name">{$form.host_name.label}</td>
<td class="FormRowValue">{$form.host_name.html}</td>
</tr>
<tr class="list_two">
<td class="FormRowField"><img class="helpTooltip" name="alias"> {$form.host_alias.label}</td>
<td class="FormRowValue">{$form.host_alias.html}</td>
</tr>
<tr class="list_one">
<td class="FormRowField"><img class="helpTooltip" name="address"> {$form.host_address.label}</td>
<td class="FormRowValue">{$form.host_address.html} {$form.host_resolve.html}</td>
</tr>
{/if}
<tr class="list_two">
<td class="FormRowField"><img class="helpTooltip" name="snmp_options"> {$form.host_snmp_community.label} & {$form.host_snmp_version.label}</td>
<td class="FormRowValue">{$form.host_snmp_community.html} {$form.host_snmp_version.html}</td>
</tr>
{if $form.nagios_server_id.label}
<tr class="list_one">
<td class="FormRowField"><img class="helpTooltip" name="poller"> {$form.nagios_server_id.label}</td>
<td class="FormRowValue">{$form.nagios_server_id.html} {if $o == "mc"} | {$form.mc_mod_nsid.html}{/if}</td>
</tr>
{/if}
<tr class="list_two">
<td class="FormRowField"><img class="helpTooltip" name="host_location"> {$form.host_location.label}</td>
<td class="FormRowValue">{$form.host_location.html}</td>
</tr>
{if $o == "mc"}
<tr class="list_two">
<td class="FormRowField"><img class="helpTooltip" name="mc_update"> {$form.mc_mod_tplp.label}</td>
<td class="FormRowValue">{$form.mc_mod_tplp.html}</td>
</tr>
{/if}
<tr class="list_one">
<td class="FormRowField"><img class="helpTooltip" name="use"> {$form.host_parallel_template.label}<p class="description">{$form.tplTextParallel.label}<p></td>
<td class="FormRowValue" id="parallelTemplate">{include file="file:$centreon_path/www/include/common/templates/cloneHost.ihtml" cloneId="template" cloneSet=$cloneSetTemplate}</td>
</tr>
{if $form.dupSvTplAssocText.label}
<tr class="list_two">
<td class="FormRowField"><img class="helpTooltip" name="create_linked_services"> {$form.dupSvTplAssocText.label}</td>