Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

346 lines
10 KiB

<!-- start confirm-new-peer -->
<table>
<form name="confirm-new-peer" action="" method="post">
<div id="confirm-new-peer">
<tr>
<td colspan="2">
#!string!striker_0078!#
</td>
</tr>
<tr>
<td>
#!string!striker_0079!#:
</td>
<td class="fixed_width">
#!variable!access!#
</td>
</tr>
<tr>
<td>
#!string!striker_0080!#:
</td>
<td class="fixed_width">
#!variable!ping!#
</td>
</tr>
<tr>
<td>
#!string!striker_0072!#:
</td>
<td class="fixed_width">
#!variable!bidirectional!#
</td>
</tr>
<tr>
<td colspan="5" class="subtle_text" style="text-align: center;">
#!string!striker_0081!#
</td>
</tr>
</div>
<input type="hidden" name="new_peer_access" id="new_peer_access" value="#!data!cgi::new_peer_access::value!#">
<input type="hidden" name="new_peer_password" id="new_peer_password" value="#!data!cgi::new_peer_password::value!#">
<input type="hidden" name="new_peer_bidirection" id="new_peer_bidirection" value="#!data!cgi::new_peer_bidirection::value!#">
<input type="hidden" name="new_peer_ping" id="new_peer_ping" value="#!data!cgi::new_peer_ping::value!#">
<input type="hidden" name="striker" id="striker" value="#!data!cgi::striker::value!#">
<input type="hidden" name="task" id="task" value="#!data!cgi::task::value!#">
<input type="hidden" name="save" id="save" value="#!data!cgi::save::value!#">
<input type="hidden" name="confirm" id="confirm" value="true">
</form>
</table>
<!-- end confirm-new-peer -->
<!-- start striker-login -->
<table class="login">
<form name="striker_login" action="" method="post">
<div id="striker_login">
<tr>
<td>
<input type="text" name="username" id="username" value="#!variable!user!#" placeholder="#!string!striker_0050!#" />
</td>
<td>
&nbsp;
</td>
<td>
<input type="password" name="password" id="password" value="#!variable!password!#" placeholder="#!string!striker_0051!#" />
</td>
<td>
&nbsp;
</td>
<td>
<input type="submit" name="login" id="login" value="#!string!striker_0049!#">
</td>
</tr>
<tr>
<td colspan="5" class="subtle_text" style="text-align: center;">
#!string!striker_0065!#
</td>
</tr>
</div>
<input type="hidden" name="cgi_list" id="cgi_list" value="username,password,login">
</form>
</table>
<!-- end striker-login -->
<!-- start striker-offline -->
<table>
<div id="striker-offline">
<tr>
<td>
<span name="#!variable!title_id!#" id="#!variable!title_id!#" class="config_header1">#!variable!title!#</span><br />
<span name="#!variable!message_id!#" id="#!variable!message_id!#" class="config_header2">#!variable!description!#</span>
<br />
<hr>
<a href="/" class="button">#!string!striker_0053!#</a>
</td>
</tr>
</div>
</table>
<!-- end striker-offline -->
<!-- start striker-setup -->
<table align="center" class="striker_welcome">
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0052!#
</td>
</tr>
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td rowspan="2" class="icon_button">
<a href="?striker=true&task=sync"><img src="#!data!skin::url!#/images/sync.png" class="top_icon" ></a>
</td>
<td class="menu_title">
<a href="?striker=true&task=sync">#!string!striker_0054!#</a>
</td>
</tr>
<tr>
<td class="menu_details">
#!string!striker_0055!#
</td>
</tr>
<tr>
<td rowspan="2" class="icon_button">
<a href="?striker=true&task=update"><img src="#!data!skin::url!#/images/update.png" class="top_icon" ></a>
</td>
<td class="menu_title">
<a href="?striker=true&task=update">#!string!striker_0056!#</a>
</td>
</tr>
<tr>
<td class="menu_details">
#!string!striker_0057!#
</td>
</tr>
<tr>
<td rowspan="2" class="icon_button">
<a href="?striker=true&task=update"><img src="#!data!skin::url!#/images/striker_configure.png" class="top_icon" ></a>
</td>
<td class="menu_title">
<a href="?striker=true&task=update">#!string!striker_0058!#</a>
</td>
</tr>
<tr>
<td class="menu_details">
#!string!striker_0059!#
</td>
</tr>
</table>
<!-- end striker-setup -->
<!-- start striker-sync -->
<table align="center">
<tr>
<td class="menu_title">
Add or remove Striker peers.
</td>
</tr>
<tr>
<td class="menu_details">
Peer dashboards are Striker machines whose databases this Striker will use to record data. If this machine ever needs to be replaced, or goes offline for a period of time, it will automatically pull the data back from any peers that it is missing.
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<tr>
<td align="center">
<table class="data_table" width="75%">
<form name="striker_peers" action="" method="post">
<tr>
<td class="column_header">
#!string!header_0007!#
</td>
<td colspan="3" class="column_header">
#!string!header_0008!#
</td>
</tr>
<tr>
#!variable!inbound_table!#
</tr>
<tr>
<td colspan="4">
&nbsp;
</td>
</tr>
<tr>
<td class="column_header">
#!string!header_0009!#
</td>
<td class="column_header" colspan="3">
&nbsp;
</td>
</tr>
<tr>
#!variable!peer_table!#
</tr>
<tr>
<td style="padding: 0px 5px;">
<input type="text" id="new_peer_access" name="new_peer_access" placeholder="#!string!striker_0069!#" value="#!variable!new_peer_access!#" readonly onfocus="this.removeAttribute('readonly');" />
</td>
<td style="padding: 0px 5px;">
<!-- To prevent browsers from offering to save the user/password, we'll set the password to a text field and use css to obfuscate echoing back what the user typed -->
<input type="text" id="new_peer_password" name="new_peer_password" placeholder="#!string!striker_0051!#" value="#!variable!new_peer_password!#" readonly onfocus="this.removeAttribute('readonly');" style="-webkit-text-security: disc;" />
</td>
<td style="padding: 0px 5px;">
#!string!striker_0071!#: <input type="checkbox" id="new_peer_ping" name="new_peer_ping" checked />
</td>
<td style="padding: 0px 5px;">
#!string!striker_0072!#: <input type="checkbox" id="new_peer_bidirection" name="new_peer_bidirection" checked />
</td>
</tr>
<tr>
<td style="padding: 10px 5px;" colspan="4" align="center">
<input type="submit" id="save" name="save" value="#!string!striker_0067!#" />
</td>
</tr>
<input type="hidden" name="striker" value="true" />
<input type="hidden" name="task" value="sync" />
</form>
</table>
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<tr>
<td align="center">
<table width="75%">
<tr>
<td class="subtle_text" style="white-space: nowrap; vertical-align: top;">
<span class="code" style="white-space: nowrap;">#!string!striker_0075!#</span>: &nbsp;
</td>
<td class="subtle_text" style="padding-bottom: 10px;">
#!string!striker_0076!#<br />
#!string!striker_0077!#
</td>
</tr>
<tr>
<td class="subtle_text" style="white-space: nowrap; vertical-align: top;">
<span class="code" style="white-space: nowrap;">#!string!striker_0071!#</span>: &nbsp;
</td>
<td class="subtle_text" style="padding-bottom: 10px;">
#!string!striker_0073!#
</td>
</tr>
<tr>
<td class="subtle_text" style="white-space: nowrap; vertical-align: top;">
<span class="code">#!string!striker_0072!#</span>: &nbsp;
</td>
<td class="subtle_text">
#!string!striker_0074!#
</td>
</tr>
</table>
</tr>
</tr>
</table>
<!-- end striker-sync -->
<!-- start striker-sync-entry -->
<tr>
<td width="25%" style="padding: 0px 5px;">
#!variable!access!#
</td>
<td width="25%" style="padding: 0px 5px;">
#!variable!password!#
</td>
<td width="25%" style="padding: 0px 5px;">
#!string!striker_0071!# <input type="checkbox" id="#!variable!access!#_ping" name="#!variable!access!#_ping" #!variable!ping_checked!# />
</td>
<td width="25%" style="padding: 0px 5px;" align="center">
<a href="striker=true&task=sync&delete=#!variable!access!#" id="#!variable!access!#_delete" class="button">#!string!striker_0068!#"<a/>
</td>
</tr>
<!-- end striker-sync-entry -->
<!-- start striker-sync-inbound -->
<tr>
<td width="25%" style="padding: 0px 5px;" class="code">
#!variable!access!#
</td>
<td width="75%" style="padding: 0px 5px;" colspan="3">
#!variable!note!#
</td>
</tr>
<!-- end striker-sync-inbound -->
<!-- start striker-welcome -->
<table align="center" class="striker_welcome">
<tr>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="title">
#!string!striker_0060!#
</td>
</tr>
<tr>
<td>
<a href="?anvil=true"><img src="#!data!skin::url!#/images/anvil_icon_on.png" class="top_icon"></a>
</td>
<td>
#!string!striker_0061!#
</td>
</tr>
<tr>
<td>
<a href="?striker=true"><img src="#!data!skin::url!#/images/striker_icon_on.png" class="top_icon"></a>
</td>
<td>
#!string!striker_0062!#
</td>
</tr>
<tr>
<td>
<a href="?logout=true"><img src="#!data!skin::url!#/images/users_icon_on.png" alt="#!string!striker_0063!#" class="top_icon"></a>
</td>
<td>
#!string!striker_0063!#
</td>
</tr>
<tr>
<td>
<a href="https://alteeve.com/w/Support" target="_new"><img src="#!data!skin::url!#/images/help_icon_on.png" id="help_icon" class="top_icon"></a>
</td>
<td>
#!string!striker_0064!#
</td>
</tr>
</table>
<!-- end striker-welcome -->