/usr/share/pcsd/views/_dialogs.erb is in pcs 0.9.149-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <div id="dialog_login" style="display:none;">
<form id="login_form">
<div>Your session has expired. Log in again, please.</div>
<div id="login_form_denied" style="color:red; display:none;">
Bad username or password
</div>
<table>
<tr>
<td><label for="login_form_username">Username:</label></td>
<td><input type="text" id="login_form_username" name="username"></td>
</tr>
<tr>
<td><label for="login_form_password">Password:</label></td>
<td><input type="password" id="login_form_password" name="password"></td>
</tr>
</table>
</form>
</div>
<div id="auth_nodes" style="display:none;">
<form id="auth_nodes_form">
Enter password for user 'hacluster' to authenticate nodes.<br>
Nodes to authenticate:
<table class="err_msg_table" style="width: 100%">
<tr><td align=center style="color: red" colspan=2"><span id="auth_failed_error_msg" style="display:none;">Authentication on some nodes failed.</span></td></tr>
</table>
<table id="auth_nodes_list">
</table>
<div id="same_pass"><label><input type="checkbox" name="all" onchange="if ($(this).is(':checked')) {$('#auth_nodes_list').find('input:password').each(function(){$(this).hide()}); $('#pass_for_all').show();} else {$('#auth_nodes_list').find('input:password').each(function(){$(this).show()}); $('#pass_for_all').hide();}"> Use same password for all nodes:</label>
<input type="password" name="pass-all" id="pass_for_all" style="display: none;"></div>
</form>
</div>
<div id="dialog_verify_remove_clusters" style="display: none;">
<p style="font-size:12px;">Are you sure you want to remove the following cluster(s) from the GUI? (This only removes the cluster from the GUI, it does not stop the cluster from running.)</p>
<span class="name_list"></span>
</div>
<div id="dialog_verify_remove_nodes" style="display:none;">
<p style="font-size:12px;">Are you sure you want to remove the following node(s)?</p>
<span class="name_list"></span>
{{#if Pcs.is_cman_with_udpu_transport}}
<p style="color: orange">This is a CMAN cluster with UDPU transport, cluster restart is required to apply node removal.</p>
{{/if}}
</div>
<div id="dialog_verify_remove_resources" style="display: none;">
<p style="font-size:12px;">Are you sure you want to remove the following resource(s)?</p>
<span class="name_list"></span>
<input type="checkbox" name="force">
Enforce removal (Remove the resources without stopping them first.)
</div>
<div id="dialog_verify_remove_acl_roles" style="display:none;">
<p style="font-size:12px;">Are you sure you want to remove the following ACL role(s)?</p>
<span class="name_list"></span>
</div>
|