Commit b3b13669 authored by Rejo Zenger's avatar Rejo Zenger

Made a shamefully small start with fixing the footer and an /about page. See also #27 and #28.

parent 81427a85
......@@ -117,5 +117,10 @@ class Main extends Controller {
function piphone($f3, $args) {
$f3->set('block_content', 'piphone.html');
}
function about($f3, $args) {
$f3->set('block_content', 'about.html');
}
};
;
......@@ -23,5 +23,11 @@ return array(
"piphone.yournumberplease" => "We need your phone number to initiate the call.",
"piphone.numberformat" => "Start your phone number with "+" and your country code.",
"piphone.callme" => "Call me!",
"about.contact" => "Contact",
"about.contactdetails" => "You can reach us at info@savethememe.net.",
"about.credits" => "Credits",
"about.thanksalot" => "This site has been developed by Bits of Freedom, with the help of numerous volunteers. It relies for a large part on the tool that was coded by La Quadrature du Net which allows users to call members of parliament for free.",
"about.privacy" => "Privacy",
"about.privacypolicy" => "This website processes your personal details in a variety of ways. First of all, to show you all the content, most of the content is loaded from a server that is owned and operated by Bits of Freedom. Some elements are loaded from a servers that are operated by the La Quadrature du Net and the European Parliament. We try to limit the reliance on third parties as much as we can. In addition to that, we keep track of the use of this website using a tool called Piwik (and which has been configured to limit the amount of tracking).",
);
?>
......@@ -23,5 +23,11 @@ return array(
"piphone.yournumberplease" => "Om te bellen hebben we je nummer nodig.",
"piphone.numberformat" => "Begin je nummer met "+", gevolgd door je landcode (+31 voor Nederland.)",
"piphone.callme" => "Bel me nu",
"about.contact" => "Contact",
"about.contactdetails" => "We zijn bereikbaar op het e-mailadres info@savethememe.net.",
"about.credits" => "Credits",
"about.thanksalot" => "Deze website is ontwikkeld door Bits of Freedom, met de fantastische hulp van vrijwilligers. De site is voor een groot deel gebaseerd op een tool van onze Franse collega's van La Quadrature. Daarmee kunnen internetters gratis parlementsleden bellen.",
"about.privacy" => "Privacy",
"about.privacypolicy" => "Je kunt deze website niet ongezien gebruiken. In de eerste plaats wordt voor het tonen van de pagina's informatie ingeladen van servers die beheerd worden en eigendom zijn van burgerrechtenorganisatie Bits of Freedom. Een deel van de pagina's worden ingeladen van servers die beheerd worden door de Franse collega's van La Quadrature du Net. Die code laat ook informatie van servers die weer beheerd worden door het Europees Parlement. We proberen zoveel mogelijk onze afhankelijkheid van derden te beperken. We gebruiken ook een tool waarmee we inzicht krijgen in het gebruik van deze webite, genaamd Piwik. Die hebben we zo geconfigureerd dat we dat inzicht krijgen met zo min mogelijk persoonlijke informatie.",
);
?>
......@@ -7,6 +7,7 @@ GET @contactslist:/contactslist=Main->contactslist
GET @feedbacksip:/calls/@callid=SIP->feedbacksip
GET @campaign:/campaign=Main->campaign
GET @piphone:/piphone=Main->piphone
GET @about:/about=Main->about
; Fake REST API
GET /restapi/campaigns/@id=RestApi->campaign
......
<section class="panel">
<div class="wrap">
<p class="meme-text">{{ @about.contact }}</p>
<p class="other-text">{{ @about.contactdetails }}</p>
<p class="meme-text">{{ @about.credits }}</p>
<p class="other-text">{{ @about.thanksalot }}</p>
<p class="meme-text">{{ @about.privacy }}</p>
<p class="other-text">{{ @about.privacypolicy }}</p>
</div>
</section>
</main>
<footer class="page-footer blue-grey">
<footer class="page-footer white">
<div class="container">
<div class="row">
<div class="col m9 s12">
<h5 class="blue-grey-text text-darken-4">{{ _("This campaign is powered by the piphone") }}</h5>
<p class="blue-grey-text text-lighten-4">{{ _("The piphone is a campaigning tool developped by <a href=\"https://www.laquadrature.net/\" class=\"blue-grey-text text-darken-2\">La Quadrature du Net</a>
to help organisations and citizens to make their voices heard by elected representant.") }}</p>
</div>
<div class="col m3 s12">
<img class="small-icons" src="https://git.laquadrature.net/uploads/appearance/header_logo/1/logo_devs_lqdn.png">
<div class="row">
<a href="https://bof.nl/"><img src="/logo-bitsoffreedom.png" width="25%"></a>
<ul>
<li><a class="blue-grey-text text-darken-4" href="https://git.laquadrature.net/piphone/">Source Code</a></li>
<li><a class="blue-grey-text text-darken-4" href="mailto:contact@laquadrature.net">{{ _("Get in touch with LQDN") }}</a></li>
<li><a class="blue-grey-text text-darken-4" href="https://www.gnu.org/licenses/agpl-3.0.html">{{ _("Code licensed under the AGPL v3.0+") }}</a></li>
<li><a href="/about">About this and us</a></li>
</ul>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment