-# Coquelicot: "one-click" file sharing with a focus on users' privacy. -# Copyright © 2010-2012 potager.org -# © 2011 mh / immerda.ch -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . !!! XML !!! Strict %html %head %title coquelicot %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=UTF-8" } %base{ :href => base_href } %link{ :rel => 'stylesheet', :href => "style.css", :type => 'text/css', :media => "screen, projection" } - unless settings.additional_css.empty? %link{ :rel => 'stylesheet', :href => "#{settings.additional_css}", :type => 'text/css', :media => "screen, projection" } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.min.js' } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.lightBoxFu.js' } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.uploadProgress.js' } :javascript var i18n = { generateRandomPassword: _('Generate random'), generatingRandomPassword: _('Generating…'), pleaseTryAgain: _('Please try again!'), error: _('Error:'), uploadStarting: _('Upload starting...'), uploading: _('Uploading: '), kb: _('kB'), }; %script{ :type => 'text/javascript', :src => 'javascripts/coquelicot.js' } %body #container = yield #footer %span= 'Coquelicot © 2010-2012 potager.org' %span = '—' %a{ :href => 'http://www.gnu.org/licenses/agpl.txt' }= 'AGPLv3' = '—' %span %code= "git clone #{clone_url}"