Fix message display
This commit is contained in:
parent
8bcb334306
commit
de9ccbbd52
|
@ -3,9 +3,11 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<h1 class="title is-1 has-text-centered mb-6"><%= l('My files') %></h1>
|
<h1 class="title is-1 has-text-centered mb-6"><%= l('My files') %></h1>
|
||||||
|
|
||||||
<div class="intro">
|
<div class="message is-info">
|
||||||
<%= l('Only the files sent with this browser will be listed here. This list is stored in localStorage: if you delete your localStorage data, you\'ll lose this list.') %><br>
|
<div class="message-body">
|
||||||
<%= l('Rows in red mean that the files have expired and are no longer available.') %>
|
<%= l('Only the files sent with this browser will be listed here. This list is stored in localStorage: if you delete your localStorage data, you\'ll lose this list.') %><br>
|
||||||
|
<%= l('Rows in red mean that the files have expired and are no longer available.') %>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
% if (defined(stash('msg'))) {
|
% if (defined(stash('msg'))) {
|
||||||
<div class="message">
|
<div class="message is-danger">
|
||||||
<div class="message-body is-danger">
|
<div class="message-body">
|
||||||
<%= stash('msg')%>
|
<%= stash('msg')%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
|
|
||||||
<div class="message">
|
<div class="message is-info">
|
||||||
<div class="message-body is-info">
|
<div class="message-body">
|
||||||
<p><%= l('If you send the mail from this server, the links will be sent to the server, which may lower your privacy protection.') %></p>
|
<p><%= l('If you send the mail from this server, the links will be sent to the server, which may lower your privacy protection.') %></p>
|
||||||
<p><%= l('Adding URLs not related to this Lufi instance to the mail body or subject is prohibited.') %></p>
|
<p><%= l('Adding URLs not related to this Lufi instance to the mail body or subject is prohibited.') %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
% if (!defined(stash('f')) && defined(stash('msg'))) {
|
||||||
<div class="message">
|
<div class="message is-danger">
|
||||||
<div class="message-body is-danger">
|
<div class="message-body">
|
||||||
<%= stash('msg')%>
|
<%= stash('msg')%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue