This commit is contained in:
Luc Didry 2015-10-04 21:32:34 +02:00
parent 99abed1bf9
commit 28e549d6e9
10 changed files with 12 additions and 14 deletions

View File

@ -137,7 +137,7 @@ body {
margin-top: 90px;
}
.cover.render {
margin-top: 0px;
margin-top: 90px;
}
/* Pull out the header and footer */
.masthead {

View File

@ -31,3 +31,9 @@ a.classic:hover,
a.classic:focus {
color: #337AB7;
}
.left-mg {
margin-left: 10px;
}
@-moz-document url-prefix() {
fieldset { display: table-cell; }
}

View File

@ -1,5 +1,5 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="inner cover render text-left">
<div class="text-left">
<h3><%= l('What is Lufi?') %></h3>
<p><%= l('Lufi is a free (as in free speech) file hosting software.') %></p>
<h3><%= l('Privacy') %></h3>

View File

@ -1,6 +1,5 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% use Number::Bytes::Human qw(format_bytes);
<div class="inner cover render">
<h1><%= l('Information about delays') %></h1>
<div class="text-left">
<p><%= l('If you choose a delay, the file will be deleted after that delay.') %><br>
@ -32,4 +31,3 @@
</ul>
</div>
% }
</div>

View File

@ -3,7 +3,7 @@
<hr>
<p>
<a href="#" onclick="purgeExpired();" class="pull-right btn btn-info btn-xs"><%= l('Purge expired files from localStorage') %></a>
<a href="#" onclick="purgeExpired();" class="pull-right btn btn-info btn-xs left-mg"><%= l('Purge expired files from localStorage') %></a>
<%= l('Only the files sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you\'ll loose this informations.') %>
</p>

View File

@ -4,7 +4,6 @@
% delay_1 => l('24 hours'),
% delay_365 => l('1 year')
% );
<div class="inner cover">
<div class="form-group row">
% if (defined(config('broadcast_message'))) {
<div class="col-sm-12 col-xs-12">
@ -68,7 +67,6 @@
<ul class="list-group" id="ul-results">
</ul>
</div>
</div>
%= javascript begin
var ws_url = '<%= url_for('upload')->to_abs() %>';
var baseURL = '<%= url_for('/')->to_abs() %>';

View File

@ -43,7 +43,9 @@
</nav>
</div>
</div>
<%= content %>
<div class="inner cover render">
<%= content %>
</div>
<!-- <div class="mastfoot">
<div class="inner">
<p>Lufi, &copy; 2015 <a href="https://fiat-tux.fr">Luc Didry</a>, <a href="https://gnu.org/licenses/agpl.html">GNU Affero Public License</a></p>

View File

@ -1,5 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="inner cover render">
% if (defined(stash('msg'))) {
<div class="alert alert-warning"><%= stash('msg') %></div>
% }
@ -35,7 +34,6 @@
<button type="submit" class="btn btn-info"><%= l('Send with this server') %></button>
<a href="#" class="btn btn-primary" id="mailto"><%= l('Send with your own mail software') %></a>
</form>
</div>
%= javascript begin
function findItem(name) {
var files = localStorage.getItem('files');

View File

@ -1,5 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="inner cover render">
% if (!defined(stash('f')) && defined(stash('msg'))) {
<div class="alert alert-warning"><%= stash('msg') %></div>
% } elsif (defined(stash('msg_success'))) {
@ -8,4 +7,3 @@
<h2><%= stash('f')->filename %></h2>
<div class="alert alert-info"><%= stash('msg') %></div>
% }
</div>

View File

@ -1,5 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="inner cover render">
% if (!defined(stash('f')) && defined(stash('msg'))) {
<div class="alert alert-danger"><%= stash('msg') %></div>
% } else {
@ -26,4 +25,3 @@ var i18n = {
%= javascript '/js/lufi-down.js'
% }
% }
</div>