/usr/share/sreview/templates/layouts/admin.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 | <!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
%= stylesheet '/style.css'
% if (my $scripts = stash 'scripts_raw') {
% foreach my $script(@$scripts) {
<script><%== $script %></script>
% }
% }
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<script src="/jquery/jquery.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
% if (my $extra = stash 'scripts_extra') {
% foreach my $script(@$extra) {
<script src='<%== $script %>'></script>
% }
% }
</head>
<body>
<div class="container">
<%= content %>
<p><%= link_to 'Log out' => 'logout' %> | <%= link_to 'Volunteer review' => '/volunteer/list' %>
% if (!$c->session->{volunteer} ) {
| <%= link_to 'Admin review: overview' => '/admin' %> | <%= link_to 'Admin review: broken talks' => 'broken_table' %>
% }
% if ($c->session->{admin}) {
| <%= link_to 'Admin: actions' => '/admin/system' %>
% }
</p>
</div>
</body>
</html>
|