a7f0676a0f
* Created the new method Cluster->get_primary_host_uuid() that returns the 'host_uuid' of the primary node in the given cluster. This is useful for external programs to figure out which node is primary. Example is provisioning a new server being assigned to the active node. Also created ->is_primary() that is a similar test to see if the active node is the primary node or not. * Updated Cluster->parse_cib() and ->parse_crm_mon() to work on remote hosts. * Updated Database->get_hosts() to store the short host names. * Created Get->host_from_ip_address() that translates an IP address to a host_uuid and host_name, if it's an IP assigned currently to a known host. * Created Network->find_target_ip() that simplifies finding which IP address to use when the caller wants to connect to a target host. * Reworked the anvil-join-anvil to parse fence_arguments in a way that handles passwords with spaces in them. Signed-off-by: Digimer <digimer@alteeve.ca>
309 lines
8.7 KiB
HTML
309 lines
8.7 KiB
HTML
<!-- start main-menu -->
|
|
<table align="center" class="anvil_main_menu">
|
|
<script type="text/javascript" src="#!data!skin::url!#/files.js"></script>
|
|
<link rel="stylesheet" href="#!data!skin::url!#/files.css">
|
|
<tr>
|
|
<td colspan="3" class="menu_title" style="text-align: center;" >
|
|
#!string!striker_0119!#
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 30%;">
|
|
|
|
</td>
|
|
<td style="width: 40%;" >
|
|
<div id="fileuploader">Upload</div>
|
|
</td>
|
|
<td style="width: 30%;">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="text-align: center; white-space: nowrap;">
|
|
#!variable!file_list!#
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- end main-menu -->
|
|
|
|
<!-- start open-file-list -->
|
|
<table style="width: 100%; text-align: center;">
|
|
<tr>
|
|
<td class="column_header">
|
|
<!-- Manage -->
|
|
#!string!header_0042!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="column_header">
|
|
<!-- File Name -->
|
|
#!string!header_0043!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="column_header">
|
|
<!-- File Type -->
|
|
#!string!header_0044!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="column_header">
|
|
<!-- File Size -->
|
|
#!string!header_0045!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="column_header">
|
|
<!-- md5sum -->
|
|
#!string!header_0046!#
|
|
</td>
|
|
</tr>
|
|
<!-- end open-file-list -->
|
|
|
|
<!-- start close-file-list -->
|
|
</table>
|
|
<!-- end close-file-list -->
|
|
|
|
<!-- start file-list-entry -->
|
|
<tr>
|
|
<td class="fixed_width_no_wrap">
|
|
<a href="?files=true&file_uuid=#!variable!file_uuid!#"><img src="#!data!skin::url!#/images/manage_file_32.png" alt="#!string!striker_0281!#" style="height: .8em;"></a>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="fixed_width_no_wrap_left">
|
|
<a href="?files=true&file_uuid=#!variable!file_uuid!#">#!variable!file_name!#</a>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="fixed_width_no_wrap">
|
|
#!variable!file_type!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="fixed_width_no_wrap_right">
|
|
#!variable!file_size!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="fixed_width_no_wrap_left">
|
|
#!variable!md5sum!#
|
|
</td>
|
|
</tr>
|
|
<!-- end file-list-entry -->
|
|
|
|
<!-- start file-list-manager -->
|
|
<tr>
|
|
<td colspan="9">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="9" style="text-align: center; white-space: nowrap;">
|
|
<form method="post" enctype="multipart/form-data">
|
|
<table class="manager">
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="row_header">
|
|
<!-- New File Name -->
|
|
#!string!header_0047!#:
|
|
</td>
|
|
<td colspan="3">
|
|
<input type="text" id="new_file_name" name="new_file_name" placeholder="#!variable!file_name!#" value="#!variable!new_file_name!#" class="#!variable!new_file_name_class!#" />
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="row_header">
|
|
<!-- New File Type -->
|
|
#!string!header_0048!#:
|
|
</td>
|
|
<td colspan="3">
|
|
#!variable!new_file_type!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="row_header">
|
|
<!-- Purge option -->
|
|
<a href="?files=true&file_uuid=#!variable!file_uuid!#&purge=true&save=true"><span class="risky_click">#!string!header_0049!#</span></a>
|
|
</td>
|
|
<td colspan="3" style="text-align: left;">
|
|
#!string!striker_0282!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
#!variable!confirm_purge_button!#
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="column_header" style="text-align: right;">
|
|
<!-- Anvil List -->
|
|
#!string!header_0050!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td class="column_header" style="text-align: center;">
|
|
<!-- Synced -->
|
|
#!string!header_0051!#
|
|
</td>
|
|
<td class="column_header" style="text-align: center;">
|
|
<!-- Remove -->
|
|
#!string!header_0052!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
#!variable!anvil_list!#
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">
|
|
<!-- Close -->
|
|
<a href="?files=true" class="button">#!string!striker_0285!#</a>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td style="text-align: right;">
|
|
#!variable!confirm_save_button!#
|
|
</td>
|
|
<td style="text-align: right;">
|
|
<input type="submit" name="save" id="save" value="#!string!striker_0067!#" class="button">
|
|
<input type="hidden" name="files" id="files" value="true" />
|
|
<input type="hidden" name="file_uuid" id="file_uuid" value="#!variable!file_uuid!#" />
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="9">
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- end file-list-manager -->
|
|
|
|
<!-- start file-list-manager-confirm-save-button -->
|
|
<input type="submit" name="confirm" id="confirm" value="#!string!striker_0082!#" class="button">
|
|
<input type="hidden" name="save" id="save" value="true">
|
|
<!-- end file-list-manager-confirm-save-button -->
|
|
|
|
<!-- start file-list-manager-confirm-purge-button -->
|
|
<tr>
|
|
<td class="row_header">
|
|
<!-- Purge option -->
|
|
<a href="#!variable!url!#" class="button">#!string!striker_0082!#</a>
|
|
</td>
|
|
<td colspan="4">
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- end file-list-manager-confirm-purge-button -->
|
|
|
|
<!-- start file-list-manager-anvil-entry -->
|
|
<tr>
|
|
<td class="available" style="text-align: right;">
|
|
#!variable!anvil_name!#:
|
|
</td>
|
|
<td style="text-align: left;">
|
|
#!variable!anvil_description!#
|
|
</td>
|
|
<td>
|
|
<!-- Synced -->
|
|
<input type="radio" name="#!variable!radio_name!#" id="#!variable!radio_name!#" value="true" class="radio" #!variable!true_checked!#>
|
|
</td>
|
|
<td>
|
|
<!-- Remove -->
|
|
<input type="radio" name="#!variable!radio_name!#" id="#!variable!radio_name!#" value="false" class="radio" #!variable!false_checked!#>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- end file-list-manager-anvil-entry -->
|
|
|
|
<!-- start file-list-manager-no-anvils -->
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td colspan="3" class="subtle_text">
|
|
#!string!striker_0283!#
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- end file-list-manager-no-anvils -->
|
|
|
|
<!-- start upload_header -->
|
|
<!DOCTYPE html>
|
|
<html lang="en_CA">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<!-- Disable caching during development. -->
|
|
<meta http-equiv="cache-control" content="max-age=0" />
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
<meta http-equiv="expires" content="0" />
|
|
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
|
<meta http-equiv="pragma" content="no-cache" /> <title>Alteeve - Striker</title>
|
|
|
|
<link rel="stylesheet" href="/skins/alteeve/main.css" media="screen" />
|
|
<script type="text/javascript" src="/jquery-latest.js"></script>
|
|
<script type="text/javascript" src="/skins/alteeve/main.js"></script>
|
|
|
|
<!-- NOTE: These are for jquery-ui using the 'smoothness' skin. We may want to move this under the skin directory in case other skins want to use different jquery-ui skins someday. -->
|
|
<link rel="stylesheet" href="/jquery-ui-latest/jquery-ui.css">
|
|
<script type="text/javascript" src="/jquery-ui-latest/jquery-ui.js"></script>
|
|
|
|
<script type="text/javascript" src="/skins/alteeve/files.js"></script>
|
|
<link rel="stylesheet" href="/skins/alteeve/files.css">
|
|
<title>#!string!striker_0120!#</title>
|
|
</head>
|
|
<body>
|
|
#!string!striker_0120!#
|
|
</body>
|
|
<!-- end upload_header -->
|