29
30
Fork 85
Esse commit está contido em:
Max Mehl 2019-05-27 14:16:06 +02:00
commit c921e8169b
Assinado por: max.mehl
ID da chave GPG: 2704E4AB371E2E92
19 arquivos alterados com 15455 adições e 335 exclusões

Ver arquivo

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="tools/xsltsl/static-elements.xsl" />
<xsl:import href="fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="body">
<div id="frontpage">
<xsl:apply-templates />
</div>
</xsl:template>
<!--xsl:template match="quote-box">
<xsl:call-template name="quote-box">
<xsl:with-param name="tag" select="@tag" />
</xsl:call-template>
</xsl:template-->
<xsl:template match="label-ourwork2011">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'support'" />
</xsl:call-template>
</xsl:template>
<!--display dynamic list of news items-->
<xsl:template match="all-news">
<xsl:call-template name="fetch-news">
@ -33,9 +33,9 @@
<xsl:with-param name="show-date" select="'yes'" />
<!--TODO enable a "Read More" link with class "learn-more" at the end of newsteaser-->
</xsl:call-template>
</xsl:template>
<!--display dynamic list of event items-->
<xsl:template match="all-events">
<!-- Current events -->
@ -44,7 +44,7 @@
<xsl:with-param name="tag">front-page</xsl:with-param>
<xsl:with-param name="display-details" select="'yes'" />
</xsl:call-template>
<!-- Future events -->
<xsl:call-template name="fetch-events">
<xsl:with-param name="wanted-time" select="'future'" />
@ -53,7 +53,7 @@
<xsl:with-param name="nb-items" select="3" />
<!--FIXME ↑ why is it showing one more?-->
</xsl:call-template>
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="href">/events/events.html</xsl:attribute>
@ -62,18 +62,18 @@
</xsl:element>
</xsl:element>
</xsl:template>
<!-- display campaign box 3 -->
<xsl:template match="campaign-box-3">
<xsl:element name="a">
<xsl:attribute name="href">/campaigns/ilovefs/ilovefs<xsl:value-of select="/buildinfo/@language" />.html</xsl:attribute>
<xsl:variable name="lang" select="/buildinfo/@language" />
<xsl:variable name="img-path"
select="concat( '/campaigns/valentine/valentine-358x60-', substring($lang, 2, 2) , '.png' )" />
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="$img-path" />
@ -95,19 +95,19 @@
data-cycle-log="false"
data-cycle-pause-on-hover="true"
data-cycle-speed="500"
data-cycle-timeout="9000"
data-cycle-timeout="6000"
data-cycle-slides="a"
data-cycle-fx="scrollHorz"
data-cycle-swipe="true">
<div class="cycle-pager"/>
<xsl:for-each select="/buildinfo/document/set/campaign[@running = 'yes']">
<xsl:apply-templates select="." mode="slideshow" />
</xsl:for-each>
</div>
</xsl:template>
<xsl:template match="campaign" mode="slideshow">
<a href="{link}" class="campaign-box">
<xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
@ -127,39 +127,39 @@
<xsl:if test=" text2 != '' ">
<p class="text2"><xsl:value-of select="text2" /></p>
</xsl:if>
<!-- Author (if existing) -->
<xsl:if test="author != ''">
<span class="author"><xsl:value-of select="author" /></span>
</xsl:if>
<!-- Copyright notice (if existing) -->
<xsl:if test="copyright != ''">
<span class="copyright"><xsl:value-of select="copyright" /></span>
</xsl:if>
</a>
</xsl:template>
<!-- display campaign box 4 -->
<xsl:template match="campaign-box4">
</xsl:template>
<!--display labels-->
<!--translated word "newsletter"-->
<xsl:template match="newsletter-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'newsletter'" />
</xsl:call-template>
</xsl:template>
<!--translated sentence "receive-newsletter"-->
<xsl:template match="receive-newsletter">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'receive-newsletter'" />
</xsl:call-template>
</xsl:template>
<!--translated word "news"-->
<xsl:template match="news-label">
<xsl:call-template name="gettext">
@ -173,41 +173,41 @@
<xsl:with-param name="id" select="'events'" />
</xsl:call-template>
</xsl:template>
<!--translated word "more"-->
<xsl:template match="more-label">
<xsl:call-template name="more-label" /><xsl:text></xsl:text>
</xsl:template>
<xsl:template name="more-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'more'" />
</xsl:call-template>
</xsl:template>
<!--translated word "more news"-->
<xsl:template match="more-news">
<xsl:call-template name="more-news" /><xsl:text></xsl:text>
</xsl:template>
<xsl:template name="more-news">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'morenews'" />
</xsl:call-template>
</xsl:template>
<!--translated word "more events"-->
<xsl:template match="more-events">
<xsl:call-template name="more-events" /><xsl:text></xsl:text>
</xsl:template>
<xsl:template name="more-events">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'moreevents'" />
</xsl:call-template>
</xsl:template>
<!--translated word "donate"-->
<xsl:template match="donate-label">
<xsl:call-template name="gettext">
@ -228,7 +228,7 @@
<xsl:with-param name="id" select="'support'" />
</xsl:call-template>
</xsl:template>
<xsl:template match="about-work-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'about-work'" />
@ -239,5 +239,5 @@
<xsl:template match="subscribe-nl">
<xsl:call-template name="subscribe-nl" />
</xsl:template>
</xsl:stylesheet>

Ver arquivo

@ -246,52 +246,6 @@ img.signatory-logo {
}
#appelbaum {
background: url('/graphics/appelbaum.jpg') top right no-repeat #070400;
background-size: cover;
@media (min-width: @screen-sm-min) {
background-size: contain;
}
img {
display: none;
}
.author:before {
content: "– ";
}
.text {
.quote;
}
.author, .text {
display: block;
background-color: rgba(0, 0, 0, 0.5);
padding: 0.5em;
}
@media (min-width: @screen-sm-min) {
.author, .text {
margin-right: 45%;
}
}
@media (min-width: @screen-md-min) {
.author, .text {
margin-right: 35%;
}
}
.copyright {
font-size: 0.6em;
position: absolute;
bottom: 0;
right: 0;
}
}
#zacchiroli {
background: url('/graphics/group-blur-800.jpg') center 33% no-repeat #666;
text-shadow: 0px 1px 2px rgb(0, 0, 0);
@ -324,37 +278,6 @@ img.signatory-logo {
display: block;
}
}
}
#summit16 {
.campaign-box-center;
background: url('/graphics/fsfe-summit-header-background.jpg') center no-repeat #666;
background-size: cover;
}
#summit16 img {
position: absolute;
}
#summit16 img:first-of-type {
top: 10%;
left: 5%;
width: 40%;
max-width: 250px;
}
#summit16 img:last-of-type {
bottom: 10%;
right: 5%;
width: 50%;
max-width: 400px;
}
@media (min-width: 800px) {
#summit16 img:first-of-type {
top: 20%;
}
}
#boxpmpc {
@ -391,53 +314,13 @@ img.signatory-logo {
}
#dfd {
.campaign-box-center;
background: url('/graphics/fellowship/plussy_tile_01-33alpha.png') rgba(118, 181, 32, 1);
img {
height: 200px;
margin-bottom: 10px;
margin-top: -70px;
max-width: none;
}
}
#ilovefs {
.campaign-box-center;
background: url('/graphics/ilovefs-hashtag-campaignbox.png') center 33% no-repeat transparent;
}
#racketware {
.campaign-box-center;
background: center 33% no-repeat #FFF;
.text {
display: none;
}
}
#becomefellow {
.campaign-box-center;
background: url('/graphics/group-blur-800.jpg') center 33% no-repeat #666;
}
#fightback {
.campaign-box-center;
background: url('/graphics/thedaywefightback.png') center 33% no-repeat transparent;
}
}
}
.svg #campaigns-boxes #dfd {
img {
/*TODO: can we maybe change it to svg here?*/
}
}
#news {
padding-bottom: 1.5em;
@ -484,7 +367,6 @@ img.signatory-logo {
}
#latest-news-list, #more-news-list {
list-style-type: none;
font-size: 1.2em;

15421
look/fsfe.min.css externo

Diff do arquivo suprimido porque uma ou mais linhas são muito longas

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="summit16">
<link>/community/events/2016/summit/frontpage.en.html</link>
<content>
<img src="/graphics/fsfe-summit-header-logo.png" align="left" />
<img src="/graphics/fsfe-summit-header-date.png" align="right" />
</content>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Guter Zugang zu Informationen und mehr Aufklärung für Offene Standards.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Γιορτή για την προσβασιμότητα στην πληροφορία και την απόκτηση
συνειδητοποίησης για τα Ανοιχτά Πρότυπα.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Celebrating information accessibility and raising awareness of Open Standards.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Celebrando la accesibilidad a la información y creando conciencia sobre los Estándares Abiertos.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Célèbre l'accès à l'information et sensibilise aux Standards Ouverts.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Celebrare l'accessibilità dell'informazione e sensibilizzare sugli Standard Aperti.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Vier de toegang tot informatie en verhoog het bewustzijn over Open Standaarden.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Celebrando a acessibilidade à informação e alertando para as Normas Abertas.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="dfd">
<photo>/graphics/robot-protest-light.png</photo>
<text>
Празднуем доступность информации и популяризуем открытые стандарты.
</text>
<link>//documentfreedom.org</link>
</campaign>
</campaigns>

Ver arquivo

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="appelbaum">
<text>
I believe that actions of support for the FSFE are important for
encouraging Free Software development and adoption in Europe as well
as the rest of the world. I&#39;m an FSFE Fellow because financially
supporting the cause of Free Software brings positive improvements to
all societies throughout the world.
</text>
<author>Jacob Appelbaum - Spokesperson for The TOR Project</author>
<link>/join</link>
<copyright>Jacob Appelbaum's photo by Stephan Röhl (Heinrich-Böll-Stiftung) used with CC BY SA 2.0 license</copyright>
</campaign>
</campaigns>

Ver arquivo

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="appelbaum">
<text>
Creo que las acciones de apoyo a la FSFE son importantes para fortalecer
el desarrollo y adopción del Software Libre en Europa y en el resto del mundo.
Soy un «Fellow» de la FSFE porque apoyar económicamente la causa del Software
Libre trae mejoras positivas a todas las sociedades del mundo.
</text>
<author>Jacob Appelbaum - Portavoz del proyecto TOR</author>
<link>/fellowship/index.html</link>
<copyright>Jacob Appelbaum's photo by Stephan Röhl (Heinrich-Böll-Stiftung) used with CC BY SA 2.0 license</copyright>
</campaign>
</campaigns>

Ver arquivo

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="appelbaum">
<text>
Credo che le azioni che sostengono la FSFE siano importanti per
incoraggiare lo sviluppo e l'adozione del Software Libero in Europa
e nel resto del mondo. Sono un Fellow della FSFE perché sostenere
economicamente la causa del Software Libero implica risvolti positivi
a tutte le società del mondo.
</text>
<author>Jacob Appelbaum - Portavoce del progetto TOR</author>
<link>/fellowship/index.html</link>
<copyright>Jacob Appelbaum's photo by Stephan Röhl (Heinrich-Böll-Stiftung) used with CC BY SA 2.0 license</copyright>
</campaign>
</campaigns>

Ver arquivo

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="appelbaum">
<text>
Ik geloof dat het steunen van de FSFE belangrijk is voor de ontwikkeling van en het overgaan op
Vrije Software in Europa en de rest van de wereld. Ik ben een FSFE Fellow omdat het financieel steunen van Vrije Software positieve verbeteringen veroorzaakt in alle samenlevingen over de wereld.
</text>
<author>Jacob Appelbaum - Woordvoerder van het TOR Project</author>
<link>/fellowship/index.html</link>
<copyright>Jacob Appelbaum's photo by Stephan Röhl (Heinrich-Böll-Stiftung) used with CC BY SA 2.0 license</copyright>
</campaign>
</campaigns>

Ver arquivo

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="appelbaum">
<text>
Besoj se aktet në përkrahje të FSFE-së janë të rëndësishme për
nxitjen e zhvillimit dhe përhapjes së Software-it të Lirë në
Europë, si dhe në gjithë botën. Jam anëtar shok i FSFE-së, ngaqë
përkrahja financiare e kauzës së Software-it të Lirë sjell
përmirësime pozitive në krejt shoqëritë, anembanë botës.
</text>
<author>Jacob Appelbaum - Zëdhënës për Projektin TOR</author>
<link>/fellowship/index.html</link>
<copyright>Jacob Appelbaum's photo by Stephan Röhl (Heinrich-Böll-Stiftung) used with CC BY SA 2.0 license</copyright>
</campaign>
</campaigns>

Ver arquivo

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="no" id="box15years">
<text></text>
<link>/campaigns/15years</link>
</campaign>
</campaigns>