-
Notifications
You must be signed in to change notification settings - Fork 28
/
listHost.ihtml
117 lines (117 loc) · 4.75 KB
/
listHost.ihtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<script type="text/javascript" src="./include/common/javascript/tool.js"></script>
<script type="text/javascript" src="./include/common/javascript/resize_td.js"></script>
<form name='form' method='POST'>
<table class="ajaxOption table">
<tbody>
<tr>
<th colspan="5"><h5>{t}Filters{/t}</h5></th>
</tr>
<tr>
<td><h4>{$Hosts}</h4></td>
<td><h4>{$Hostgroup}</h4></td>
<td><h4>{$Poller}</h4></td>
<td><h4>{$Template}</h4></td>
<td><h4>{$headerMenu_status}</h4></td>
</tr>
<tr>
<td><input type='text' name='searchH' value="{$searchH}"/></td>
<td>{$form.hostgroup.html}</td>
<td>{$form.poller.html}</td>
<td>{$form.template.html}</td>
<td>{$form.status.html}</td>
<td>{$form.SearchB.html}</td>
</tr>
</tbody>
</table>
<table class="ToolbarTable table">
<tr class="ToolbarTR">
{ if $mode_access == 'w' }
<td>
{$form.o1.html}<a href="{$msg.addL}" class="btc bt_success ml-2">{$msg.addT}</a>
</td>
{ else }
<td> </td>
{ /if }
{php}
include('./include/common/pagination.php');
{/php}
</tr>
</table>
<table class="ListTable">
<tr class="ListHeader">
<td class="ListColHeaderPicker">
<div class="md-checkbox md-checkbox-inline">
<input type="checkbox" id="checkall" name="checkall" onclick="checkUncheckAll(this);"/>
<label class="empty-label" for="checkall"></label>
</div>
</td>
<td class="ListColHeaderLeft">{$headerMenu_name}</td>
<td class="ListColHeaderLeft" style="width:20px;"> </td>
<td class="ListColHeaderLeft">{$headerMenu_desc}</td>
<td class="ListColHeaderCenter">{$headerMenu_address}</td>
<td class="ListColHeaderCenter">{$headerMenu_poller}</td>
<td class="ListColHeaderCenter">{$headerMenu_parent}</td>
<td class="ListColHeaderCenter">{$headerMenu_status}</td>
<td class="ListColHeaderCenter">{$headerMenu_options}</td>
</tr>
{section name=elem loop=$elemArr}
<tr class="{$elemArr[elem].MenuClass}">
<td class="ListColPicker">{$elemArr[elem].RowMenu_select}</td>
<td class="ListColLeft">
<a href="{$elemArr[elem].RowMenu_link}">
{if $elemArr[elem].isSvgFile}
<span class="ico-18 margin_right">
{$elemArr[elem].RowMenu_icone}
</span>
{else}
<img src="{$elemArr[elem].RowMenu_icone}" class="ico-18 margin_right"/>
{/if}
{$elemArr[elem].RowMenu_name|escape}
</a>
</td>
<td class="ListColCenter">
<a href='./main.php?p=602&search={$elemArr[elem].RowMenu_name}'>
<span class="ico-16" title='{$HelpServices}'>
{$listServicesIcon}
</span>
</a>
</td>
<td class="ListColLeft resizeTitle">
<a href="{$elemArr[elem].RowMenu_link}">{$elemArr[elem].RowMenu_desc|escape}</a>
</td>
<td class="ListColCenter">{$elemArr[elem].RowMenu_address}</td>
<td class="ListColCenter">{$elemArr[elem].RowMenu_poller}</td>
<td class="ListColCenter resizeTitle">{$elemArr[elem].RowMenu_parent|escape}</td>
<td class="ListColCenter">
<span class="badge {$elemArr[elem].RowMenu_badge}">{$elemArr[elem].RowMenu_status}</span>
</td>
<td class="ListColRight" style="white-space: nowrap;">
{if $mode_access == 'w' }{$elemArr[elem].RowMenu_options}{else} {/if}
</td>
</tr>
{/section}
</table>
<table class="ToolbarTable table">
<tr class="ToolbarTR">
{ if $mode_access == 'w' }
<td class="Toolbar_TDSelectAction_Bottom">
{$form.o2.html}<a href="{$msg.addL}" class="btc bt_success ml-2">{$msg.addT}</a>
</td>
{ else }
<td> </td>
{ /if }
{php}
include('./include/common/pagination.php');
{/php}
</tr>
</table>
<input type='hidden' name='o' id='o' value='42'>
<input type='hidden' id='limit' name='limit' value='{$limit}'>
{$form.hidden}
</form>
{literal}
<script type='text/javascript'>
setDisabledRowStyle();
setOverflowDivToTitle(('.resizeTitle'));
</script>
{/literal}