% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % use Mojo::Util qw(url_escape); % my $twitter_url = 'https://twitter.com/share'; % my $url = url_for('/')->to_abs(); % $twitter_url .= '?url='.url_escape("$url") % .'&via=framasky' % .'&text=Check out this %23Lutim instance! '; Lutim % if (current_route 'stats') { %= asset 'stats.css' % } elsif (current_route 'about') { %= asset 'about.css' % } else { %= asset 'index.css' % }
% if (defined(config('hosted_by'))) {
<%== config('hosted_by') %>
% }

Let's Upload That Image!

© 2014 <%= link_to 'http://www.fiat-tux.fr' => begin %>Luc Didry<% end %> —  <%=l 'license' %> <%= link_to 'https://www.gnu.org/licenses/agpl-3.0.html' => begin %>AGPL<% end %> —  <%= link_to url_for('about') => begin %><%=l 'informations' %><% end %> —  <%= link_to 'https://github.com/ldidry/lutim' => (title => l 'fork-me') => begin %><% end %>  <%= link_to $twitter_url => (title => l 'share-twitter') => begin %><% end %>  <%= link_to 'https://flattr.com/submit/auto?user_id=_SKy_&url='.$url.'&title=Lutim&category=software' => (title => 'Flattr this') => begin %><% end %>  <%= link_to 'bitcoin:1K3n4MXNRSMHk28oTfXEvDunWFthePvd8v?label=lutim' => (title => 'Give Bitcoins') => begin %><% end %>  mozilla rocket logo <%=l 'install_as_webapp' %>

% if (defined(config('broadcast_message'))) {
<%= config('broadcast_message') %>
% } % if (defined(stash('stop_upload'))) {
<%= stash('stop_upload') %>
% } %= javascript begin var manifestUrl = '<%== url_for('manifest.webapp')->to_abs() %>'; % end % if (current_route 'stats') { %= asset 'stats.js' % } elsif (!(current_route 'about')) { %= asset 'index.js' % } <%= content %>
% if (defined(config('piwik_img'))) { % }