Commit beffb815 authored by fv3rdugo's avatar fv3rdugo
Browse files

interface

parent 60055b97
...@@ -26,7 +26,7 @@ Clone the sources: ...@@ -26,7 +26,7 @@ Clone the sources:
- perlmagick - perlmagick
- libmoosex-types-netaddr-ip-perl - libmoosex-types-netaddr-ip-perl
- libsys-statistics-linux-perl - libsys-statistics-linux-perl
- libio-interace-perl - libio-interface-perl
##Old debian ##Old debian
......
public/img/intro-bg.jpg

86.3 KB | W: | H:

public/img/intro-bg.jpg

133 KB | W: | H:

public/img/intro-bg.jpg
public/img/intro-bg.jpg
public/img/intro-bg.jpg
public/img/intro-bg.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -276,13 +276,6 @@ get '/requests.json' => sub { ...@@ -276,13 +276,6 @@ get '/requests.json' => sub {
return list_requests($c); return list_requests($c);
}; };
any '/messages.html' => sub {
my $c = shift;
return access_denied($c) if !_logged_in($c);
return messages($c);
};
get '/messages.json' => sub { get '/messages.json' => sub {
my $c = shift; my $c = shift;
...@@ -333,6 +326,14 @@ get '/messages/view/*.html' => sub { ...@@ -333,6 +326,14 @@ get '/messages/view/*.html' => sub {
return $c->render( json => $USER->show_message($id_message) ); return $c->render( json => $USER->show_message($id_message) );
}; };
get '/requirements' => sub {
my $c = shift;
return access_denied($c) if !_logged_in($c);
return requirements($c);
};
################################################### ###################################################
...@@ -1035,6 +1036,12 @@ Hi <%= $name %>, ...@@ -1035,6 +1036,12 @@ Hi <%= $name %>,
<a href="<%= $url %>">click here</a> <a href="<%= $url %>">click here</a>
@@ layouts/default.html.ep @@ layouts/default.html.ep
@@ about.html.ep
% layout 'default';
<h1>Run</h1>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head><title><%= title %></title></head> <head><title><%= title %></title></head>
......
...@@ -33,7 +33,16 @@ ...@@ -33,7 +33,16 @@
</ul> </ul>
</li> </li>
% } % }
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-question"></i>&nbsp;Help<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/requirements">Requirements</a></li>
<li role="separator" class="divider"></li>
<li><a href="/about"><i class="fa fa-info-circle"></i>&nbsp;About</a></li>
</ul>
</li>
% if ( !$_anonymous ) { % if ( !$_anonymous ) {
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-user"></i>&nbsp;<%= $_logged_in %><span class="caret"></span></a> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-user"></i>&nbsp;<%= $_logged_in %><span class="caret"></span></a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment