Fix #4
This commit is contained in:
parent
99abed1bf9
commit
28e549d6e9
|
@ -137,7 +137,7 @@ body {
|
||||||
margin-top: 90px;
|
margin-top: 90px;
|
||||||
}
|
}
|
||||||
.cover.render {
|
.cover.render {
|
||||||
margin-top: 0px;
|
margin-top: 90px;
|
||||||
}
|
}
|
||||||
/* Pull out the header and footer */
|
/* Pull out the header and footer */
|
||||||
.masthead {
|
.masthead {
|
||||||
|
|
|
@ -31,3 +31,9 @@ a.classic:hover,
|
||||||
a.classic:focus {
|
a.classic:focus {
|
||||||
color: #337AB7;
|
color: #337AB7;
|
||||||
}
|
}
|
||||||
|
.left-mg {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
@-moz-document url-prefix() {
|
||||||
|
fieldset { display: table-cell; }
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
% # 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>
|
<h3><%= l('What is Lufi?') %></h3>
|
||||||
<p><%= l('Lufi is a free (as in free speech) file hosting software.') %></p>
|
<p><%= l('Lufi is a free (as in free speech) file hosting software.') %></p>
|
||||||
<h3><%= l('Privacy') %></h3>
|
<h3><%= l('Privacy') %></h3>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
||||||
% use Number::Bytes::Human qw(format_bytes);
|
% use Number::Bytes::Human qw(format_bytes);
|
||||||
<div class="inner cover render">
|
|
||||||
<h1><%= l('Information about delays') %></h1>
|
<h1><%= l('Information about delays') %></h1>
|
||||||
<div class="text-left">
|
<div class="text-left">
|
||||||
<p><%= l('If you choose a delay, the file will be deleted after that delay.') %><br>
|
<p><%= l('If you choose a delay, the file will be deleted after that delay.') %><br>
|
||||||
|
@ -32,4 +31,3 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
</div>
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<p>
|
<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.') %>
|
<%= 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>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
% delay_1 => l('24 hours'),
|
% delay_1 => l('24 hours'),
|
||||||
% delay_365 => l('1 year')
|
% delay_365 => l('1 year')
|
||||||
% );
|
% );
|
||||||
<div class="inner cover">
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
% if (defined(config('broadcast_message'))) {
|
% if (defined(config('broadcast_message'))) {
|
||||||
<div class="col-sm-12 col-xs-12">
|
<div class="col-sm-12 col-xs-12">
|
||||||
|
@ -68,7 +67,6 @@
|
||||||
<ul class="list-group" id="ul-results">
|
<ul class="list-group" id="ul-results">
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
%= javascript begin
|
%= javascript begin
|
||||||
var ws_url = '<%= url_for('upload')->to_abs() %>';
|
var ws_url = '<%= url_for('upload')->to_abs() %>';
|
||||||
var baseURL = '<%= url_for('/')->to_abs() %>';
|
var baseURL = '<%= url_for('/')->to_abs() %>';
|
||||||
|
|
|
@ -43,7 +43,9 @@
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%= content %>
|
<div class="inner cover render">
|
||||||
|
<%= content %>
|
||||||
|
</div>
|
||||||
<!-- <div class="mastfoot">
|
<!-- <div class="mastfoot">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<p>Lufi, © 2015 <a href="https://fiat-tux.fr">Luc Didry</a>, <a href="https://gnu.org/licenses/agpl.html">GNU Affero Public License</a></p>
|
<p>Lufi, © 2015 <a href="https://fiat-tux.fr">Luc Didry</a>, <a href="https://gnu.org/licenses/agpl.html">GNU Affero Public License</a></p>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
||||||
<div class="inner cover render">
|
|
||||||
% if (defined(stash('msg'))) {
|
% if (defined(stash('msg'))) {
|
||||||
<div class="alert alert-warning"><%= stash('msg') %></div>
|
<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>
|
<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>
|
<a href="#" class="btn btn-primary" id="mailto"><%= l('Send with your own mail software') %></a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
%= javascript begin
|
%= javascript begin
|
||||||
function findItem(name) {
|
function findItem(name) {
|
||||||
var files = localStorage.getItem('files');
|
var files = localStorage.getItem('files');
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
||||||
<div class="inner cover render">
|
|
||||||
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
||||||
<div class="alert alert-warning"><%= stash('msg') %></div>
|
<div class="alert alert-warning"><%= stash('msg') %></div>
|
||||||
% } elsif (defined(stash('msg_success'))) {
|
% } elsif (defined(stash('msg_success'))) {
|
||||||
|
@ -8,4 +7,3 @@
|
||||||
<h2><%= stash('f')->filename %></h2>
|
<h2><%= stash('f')->filename %></h2>
|
||||||
<div class="alert alert-info"><%= stash('msg') %></div>
|
<div class="alert alert-info"><%= stash('msg') %></div>
|
||||||
% }
|
% }
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
||||||
<div class="inner cover render">
|
|
||||||
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
||||||
<div class="alert alert-danger"><%= stash('msg') %></div>
|
<div class="alert alert-danger"><%= stash('msg') %></div>
|
||||||
% } else {
|
% } else {
|
||||||
|
@ -26,4 +25,3 @@ var i18n = {
|
||||||
%= javascript '/js/lufi-down.js'
|
%= javascript '/js/lufi-down.js'
|
||||||
% }
|
% }
|
||||||
% }
|
% }
|
||||||
</div>
|
|
||||||
|
|
Loading…
Reference in New Issue