/usr/share/sreview/templates/admin/dashboard.html.ep is in sreview-web 0.3.0-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 | <h1> Hi <%= $email%>!</h1>
<% if (my $message = flash 'msg') { %>
<p><b><%= $message %></b></p>
<% } %>
<p>The following actions are possible:</p>
<dl><dt>Create a new user</dt>
<dd>
%= form_for adduser => begin
%= label_for email => 'Username (email address):'
%= email_field 'email'
<br>
%= label_for name => 'Name:'
%= text_field 'name'
<br>
%= label_for isadmin => 'Is administrator?'
%= check_box isadmin => 'true'
<br>
%= label_for isvolunteer => 'Is volunteer?'
%= check_box isvolunteer => 'true'
<br>
%= label_for rooms => 'Limited to room:'
%= select_field rooms => $rooms
<br>
%= submit_button
%end
</dd>
<dt>Reset a password</dt>
<dd>
%= form_for chpw => begin
%= label_for email => 'User email:'
%= email_field 'email'
%= submit_button
%end
</dd>
<dt>Change my password</dt>
<dd>
%= form_for setpw => begin
%= label_for password1 => 'New password:'
%= password_field 'password1'
%= label_for password2 => 'Again:'
%= password_field 'password2'
%= submit_button
%end
</dd>
</dl>
|