1 -# Coquelicot: "one-click" file sharing with a focus on users' privacy.
2 -# Copyright © 2010-2012 potager.org <jardiniers@potager.org>
3 -# © 2011 mh / immerda.ch <mh+coquelicot@immerda.ch>
5 -# This program is free software: you can redistribute it and/or modify
6 -# it under the terms of the GNU Affero General Public License as
7 -# published by the Free Software Foundation, either version 3 of the
8 -# License, or (at your option) any later version.
10 -# This program is distributed in the hope that it will be useful,
11 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -# GNU Affero General Public License for more details.
15 -# You should have received a copy of the GNU Affero General Public License
16 -# along with this program. If not, see <http://www.gnu.org/licenses/>.
23 %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=UTF-8" }
24 %base{ :href => base_href }
25 %link{ :rel => 'stylesheet', :href => "style.css", :type => 'text/css',
26 :media => "screen, projection" }
27 - unless settings.additional_css.empty?
28 %link{ :rel => 'stylesheet', :href => "#{settings.additional_css}", :type => 'text/css', :media => "screen, projection" }
29 %script{ :type => 'text/javascript', :src => 'javascripts/jquery.min.js' }
30 %script{ :type => 'text/javascript', :src => 'javascripts/jquery.lightBoxFu.js' }
31 %script{ :type => 'text/javascript', :src => 'javascripts/jquery.uploadProgress.js' }
33 var i18n = { generateRandomPassword: _('Generate random'),
34 generatingRandomPassword: _('Generating…'),
35 pleaseTryAgain: _('Please try again!'),
37 uploadStarting: _('Upload starting...'),
38 uploading: _('Uploading: '),
41 %script{ :type => 'text/javascript', :src => 'javascripts/coquelicot.js' }
46 %span= 'Coquelicot © 2010-2012 potager.org'
49 %a{ :href => 'http://www.gnu.org/licenses/agpl.txt' }= 'AGPLv3'
52 %code= "git clone #{clone_url}"