/usr/share/pcsd/views/_configure.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 | <tr id="configure_title_row" {{bind-attr style="Pcs.configure_page"}}>
<td id="page_header" colspan=3>
<table id="config_options">
<tr>
<td>CLUSTER PROPERTIES</td>
</tr>
</table>
</td>
</tr>
<tr id="configure_header_row" {{bind-attr style="Pcs.configure_page"}}>
<td colspan=3>
<hr>
</td>
</tr>
<tr id="configure_list_row" {{bind-attr style="Pcs.configure_page"}}>
<td id="config" colspan=3>
{{input
type="text"
value=Pcs.settingsController.filter
placeholder="Filter"
}}
{{#if Pcs.settingsController.show_advanced}}
<button onclick="Pcs.settingsController.set('show_advanced', false);">Hide advanced settings</button>
{{else}}
<button onclick="Pcs.settingsController.set('show_advanced', true);">Show advanced settings</button>
{{/if}}
<form id="cluster_properties">
<table>
{{#each property in Pcs.settingsController.filtered}}
{{cluster-property prop=property name=property.name}}
{{else}}
<tr><td>No cluster properties available.</td></tr>
{{/each}}
</table>
{{#if Pcs.settingsController.filtered}}
<button onclick="update_cluster_settings(); return false;">
Apply Changes
</button>
{{/if}}
<button onclick="show_loading_screen(); refresh_cluster_properties(); return false;">
Refresh
</button>
</form>
</td>
</tr>
<tr>
<td colspan=3>
<hr>
</td>
</tr>
|