This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pagination) fix filter save with pagination (#7732)
- Loading branch information
Showing
67 changed files
with
1,252 additions
and
1,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,83 @@ | ||
<script type="text/javascript" src="./include/common/javascript/tool.js"></script> | ||
<form name='form' method='POST'> | ||
<input name="o" type="hidden"> | ||
<table class="ajaxOption table"> | ||
<tbody> | ||
<input name="o" type="hidden"> | ||
<table class="ajaxOption table"> | ||
<tbody> | ||
<tr> | ||
<th><h5>{t}Filters{/t}</h5></th> | ||
<th><h5>{t}Filters{/t}</h5></th> | ||
</tr> | ||
<tr> | ||
<tr> | ||
<td><h4>{$Hosts}</h4></td> | ||
<td><h4>{$Services}</h4></td> | ||
<td><h4>{$Pollers}</h4></td> | ||
</tr> | ||
<td><h4>{$Services}</h4></td> | ||
<td><h4>{$Pollers}</h4></td> | ||
</tr> | ||
<tr> | ||
<td><input type='text' name='searchH' value="{$searchH}" /></td> | ||
<td><input type='text' name='searchS' value="{$searchS}" /></td> | ||
<td> | ||
<select name="searchP"> | ||
<option value=""></option> | ||
{foreach from=$instances key=instanceId item=instanceName} | ||
<option value="{$instanceId}"{if $instanceId == $searchP} selected{/if}>{$instanceName}</option> | ||
{/foreach} | ||
</select> | ||
</td> | ||
<td><input type='submit' name='Search' value='{$Search}' class="btc bt_success" /></td> | ||
<td><input type='text' name='searchH' value="{$searchH}"/></td> | ||
<td><input type='text' name='searchS' value="{$searchS}"/></td> | ||
<td> | ||
<select name="searchP"> | ||
<option value=""></option> | ||
{foreach from=$instances key=instanceId item=instanceName} | ||
<option value="{$instanceId}" {if $instanceId== $searchP} selected{ | ||
/if}>{$instanceName}</option> | ||
{/foreach} | ||
</select> | ||
</td> | ||
<td>{$form.Search.html}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table class="ToolbarTable table"> | ||
<tr class="ToolbarTR"> | ||
<td> | ||
{$msg.options} {$form.o1.html} | ||
| ||
</td> | ||
<input name="p" value="{$p}" type="hidden"> | ||
{php} | ||
include('./include/common/pagination.php'); | ||
{/php} | ||
</tr> | ||
</table> | ||
<table class="ListTable"> | ||
<tr class="ListHeader"> | ||
<td class="ListColHeaderPicker"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/> | ||
</td> | ||
<td class="ListColLeft">{$Host}</td> | ||
<td class="ListColCenter">{$Service}</td> | ||
<td class="ListColCenter">{$Metrics}</td> | ||
<td class="ListColCenter">{$RebuildWaiting}</td> | ||
<td class="ListColCenter">{$Delete}</td> | ||
<td class="ListColCenter">{$Hidden}</td> | ||
<td class="ListColCenter">{$Locked}</td> | ||
</tr> | ||
{assign var='host_name' value=''} | ||
{foreach item=d from=$data} | ||
<tr class="{$d.class}"> | ||
<td class="ListColCenter"><input name="select[{$d.id}]" value="1" type="checkbox"></td> | ||
<td class="ListColLeft">{if !$host_name || $host_name != $d.host_name}{$d.host_name}{/if}</td> | ||
<td class="ListColLeft">{$d.service_description}</td> | ||
<td class="ListColCenter">{$d.metrics_name}</td> | ||
<td class="ListColCenter">{$d.must_be_rebuild}</td> | ||
<td class="ListColCenter">{$d.to_delete}</td> | ||
<td class="ListColCenter">{$d.hidden}</td> | ||
<td class="ListColCenter">{$d.locked}</td> | ||
</tr> | ||
{assign var='host_name' value=$d.host_name} | ||
{/foreach} | ||
</table> | ||
<table class="ToolbarTable table"> | ||
<tr class="ToolbarTR"> | ||
<td> | ||
{$msg.options} {$form.o2.html} | ||
| ||
</td> | ||
<input name="p" value="{$p}" type="hidden"> | ||
{php} | ||
include('./include/common/pagination.php'); | ||
{/php} | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table class="ToolbarTable table"> | ||
<tr class="ToolbarTR"> | ||
<td> | ||
{$msg.options} {$form.o1.html} | ||
| ||
<!-- <a href="{$msg.addL}" class="btc bt_success">{$msg.addT}</a> --> | ||
</td> | ||
<input name="p" value="{$p}" type="hidden"> | ||
{php} | ||
include('./include/common/pagination.php'); | ||
{/php} | ||
</tr> | ||
</table> | ||
<table class="ListTable"> | ||
<tr class="ListHeader"> | ||
<td class="ListColHeaderPicker"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td> | ||
<td class="ListColLeft">{$Host}</td> | ||
<td class="ListColCenter">{$Service}</td> | ||
<td class="ListColCenter">{$Metrics}</td> | ||
<td class="ListColCenter">{$RebuildWaiting}</td> | ||
<td class="ListColCenter">{$Delete}</td> | ||
<td class="ListColCenter">{$Hidden}</td> | ||
<td class="ListColCenter">{$Locked}</td> | ||
</tr> | ||
{assign var='host_name' value=''} | ||
{foreach item=d from=$data} | ||
<tr class="{$d.class}"> | ||
<td class="ListColCenter"><input name="select[{$d.id}]" value="1" type="checkbox"></td> | ||
<td class="ListColLeft">{if !$host_name || $host_name != $d.host_name}{$d.host_name}{/if}</td> | ||
<td class="ListColLeft">{$d.service_description}</td> | ||
<td class="ListColCenter">{$d.metrics_name}</td> | ||
<td class="ListColCenter">{$d.must_be_rebuild}</td> | ||
<td class="ListColCenter">{$d.to_delete}</td> | ||
<td class="ListColCenter">{$d.hidden}</td> | ||
<td class="ListColCenter">{$d.locked}</td> | ||
</tr> | ||
{assign var='host_name' value=$d.host_name} | ||
{/foreach} | ||
</table> | ||
<table class="ToolbarTable table"> | ||
<tr class="ToolbarTR"> | ||
<td> | ||
{$msg.options} {$form.o2.html} | ||
| ||
<!-- <a href="{$msg.addL}" class="btc bt_success">{$msg.addT}</a> --> | ||
</td> | ||
<input name="p" value="{$p}" type="hidden"> | ||
{php} | ||
include('./include/common/pagination.php'); | ||
{/php} | ||
</tr> | ||
</table> | ||
<input type='hidden' id='limit' name='limit' value='{$limit}'> | ||
{$form.hidden} | ||
</table> | ||
<input type='hidden' id='limit' name='limit' value='{$limit}'> | ||
{$form.hidden} | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.