/usr/share/pcsd/views/permissions.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 | <table id="main">
<tr id="cluster_title_row" {{bind-attr style=Pcs.permissions_page}}>
<td id="page_header" colspan="2" style="vertical-align:middle;">
<table id="permissions_commands">
<tr>
<td>PERMISSIONS</td>
</tr>
</table>
</td>
</tr>
<tr id="cluster_header_row" {{bind-attr style=Pcs.permissions_page}}>
<td class="borderbottom" colspan="2"> </td>
</tr>
<tr id="cluster_list_row" {{bind-attr style=Pcs.permissions_page}}>
<td id="cluster_list" class="node_list" style="width:auto;">
<table cellpadding="0" cellspacing="0" style="width:100%;">
<tr>
<th> </th>
<th> </th>
<th>CLUSTER NAME</th>
<th style="padding-right: 16px;"> </th>
</tr>
<% @clusters.each do |c| %>
<tr
onmouseover="if(permissions_current_cluster != '<%= h(c.name) %>') hover_over(this);"
onmouseout="if(permissions_current_cluster != '<%= h(c.name) %>') hover_out(this);"
onclick="permissions_show_cluster('<%= h(c.name) %>', this);"
>
<td class="node_list_sprite">
<div class="check sprites"></div>
</td>
<td style="min-width:1em; padding-right:0.5em;">
<span class="unsaved_changes" style="display:none;"
title="There are unsaved changes in the form"
>(*)</span>
</td>
<td nowrap class="node_name">
<%= h(c.name) %>
</td>
<td>
<div class="arrow sprites" style="display:none;"></div>
</td>
</tr>
<% end %>
</table>
</td>
<td id="node_info">
<% @clusters.each { |c| %>
<div id="permissions_cluster_<%= h(c.name) %>" style="display:none;">
</div>
<% } %>
</td>
</tr>
</table>
<%= erb :_dialogs %>
|