home » zplus/freepost.git
Author zPlus <zplus@peers.community> 2017-03-21 15:05:42
Committer Gogs <gogitservice@gmail.com> 2017-03-21 15:05:42
Commit c9b2f02 (patch)
Tree 724efab
Parent(s)

Merge branch 'master' of jorgesumle/freepost into master


commits diff: 4740ddf..c9b2f02
5 files changed, 119 insertions, 22 deletionsdownload


Diffstat
-rw-r--r-- css/reset.styl 73
-rw-r--r-- template/about.twig 37
-rw-r--r-- template/index.twig 27
-rw-r--r-- template/login.twig 2
-rw-r--r-- template/login_reset.twig 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+72/-1 M   css/reset.styl
index ee21ad7..dacf549
old size: 3K - new size: 5K
@@ -36,6 +36,26 @@ h3
36 36 p
37 37 margin 0 0 10px 0
38 38
39 + .bg-green
40 + background-color #d9ffca
41 + border-radius 4px
42 + padding .5em 1em
43 +
44 + .bg-red
45 + background-color #f2dede
46 + border-radius 4px
47 + padding .5em 1em
48 +
49 + .bg-blue
50 + background-color #337ab7
51 + border-radius 4px
52 + padding .5em 1em
53 +
54 + .bg-light-blue
55 + background-color #d9edf7
56 + border-radius 4px
57 + padding .5em 1em
58 +
39 59 /* Some styles for buttons */
40 60 .button
41 61 border 0px
@@ -121,4 +141,55 @@ html, body
121 141 line-height 1em
122 142 margin 0
123 143 padding 0
124 - width 100%
124 > \ No newline at end of file
144 + width 100%
145 +
146 + pre
147 + background-color #f9f9f9
148 + font-family "Courier 10 Pitch", Courier, monospace
149 + font-size 95%
150 + line-height 140%
151 + white-space pre
152 + white-space pre-wrap
153 + white-space -moz-pre-wrap
154 + white-space -o-pre-wrap
155 +
156 + code
157 + font-family Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace
158 + font-size 95%
159 + line-height 140%
160 + white-space pre
161 + white-space pre-wrap
162 + white-space -moz-pre-wrap
163 + white-space -o-pre-wrap
164 +
165 + /* Monospace <pre/> to write some nice ASCII art in frontpage */
166 + pre.new_year
167 + background-color transparent
168 + color #BF0000
169 + font-family "Courier 10 Pitch", Courier, monospace
170 + font-size .8em
171 + font-webkit bold
172 + margin 0 0 2em 0
173 + text-align center
174 + white-space pre
175 + white-space pre-wrap
176 + white-space -moz-pre-wrap
177 + white-space -o-pre-wrap
178 +
179 + /* Inline code */
180 + p > code
181 + background-color #f5f5f5
182 + border-radius 3px
183 + display inline-block
184 + font-family Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace
185 + font-size 85%
186 + line-height 140%
187 + margin 0 .2em
188 + padding .2em
189 + white-space pre
190 + white-space pre-wrap
191 + white-space -moz-pre-wrap
192 + white-space -o-pre-wrap
193 +
194 + ul, ol
195 + margin 1.2em 2em
195 < \ No newline at end of file

+25/-12 M   template/about.twig
index 470d838..6ff0e6d
old size: 2K - new size: 4K
@@ -9,16 +9,14 @@
9 9 Please read this page before using the website.
10 10 </p>
11 11
12 - <h3>
13 - <a id="who"></a>
12 + <h3 id="who">
14 13 Who maintains <em>freepost</em>?
15 14 </h3>
16 15 <p>
17 16 <em>freepost</em> is maintained by <a href="http://peers.community">Peers</a>. We are part of a highly motivated community of people with a strong interest in free culture.
18 17 </p>
19 18
20 - <h3>
21 - <a id="what-to-post"></a>
19 + <h3 id="what-to-post">
22 20 What to post
23 21 </h3>
24 22 <p>
@@ -28,8 +26,7 @@
28 26 You are free to submit any links ranging from software, to art, science, and politics, as long as they have some interesting relevance with free culture. This means that most posts about proprietary software, politics, religion, sport, or meme are off-topic.
29 27 </p>
30 28
31 - <h3>
32 - <a id="how-to-post"></a>
29 + <h3 id="how-to-post">
33 30 How to post
34 31 </h3>
35 32 <p>
@@ -42,8 +39,7 @@
42 39 Please do not submit too many links at once.
43 40 </p>
44 41
45 - <h3>
46 - <a id="how-to-comment"></a>
42 + <h3 id="how-to-comment">
47 43 How to comment
48 44 </h3>
49 45 <p>
@@ -53,15 +49,32 @@
53 49 Unless malice is overwhelmingly evident, assume good intentions whenever reading and responding others’ comments. We do <strong>not</strong> tolerate insults, threats, or harassment.
54 50 </p>
55 51
56 - <h3>
57 - <a id="terms-of-use"></a>
52 + <h3 id="terms-of-use">
58 53 Terms of Use
59 54 </h3>
60 55 <p>
61 - By using this website, you irrevocably agree to release your posts and comments under the <a href="http://creativecommons.org/licenses/by/4.0">CC BY 4.0</a> License.
56 + By using this website, you irrevocably agree to release your posts and comments under the <a href="http://creativecommons.org/licenses/by/4.0">CC BY 4.0</a> License. A link is sufficient for CC BY 4.0 attribution.
62 57 </p>
63 58 <p>
64 - A link is sufficient for CC BY 4.0 attribution.
59 + The website is offered in the hope that it will be useful, but we do not assume any sort of legal responsibility or liability and we do not offer any sort of warranty. We cannot be held responsible for any misuse or money loss derived from the use of the website.
60 + </p>
61 + <p>
62 + By using the website you agree to accept the terms of services written on this page.
63 + </p>
64 +
65 + <h3 id="privacy-policy">
66 + Privacy Policy
67 + </h3>
68 + <p>
69 + <em>freepost</em> can optionally store a user email address, which is only used to reset the user password. Emails are not shared with anybody and can be deleted at any time by the user.
70 + <br />
71 + <em>freepost</em> is currently hosted by <a href="https://tuxfamily.org">TuxFamily</a>. TuxFamily keeps the web server raw access logs for up to a year, as required by French laws. Read more on their <a href="https://faq.tuxfamily.org/Privacy/En">FAQ</a>.
72 + </p>
73 + <p>
74 + If you wish to increase your anonymity while browsing <em>freepost</em>, we suggest to use <a href="https://www.torproject.org">Tor</a> and a random email address.
75 + </p>
76 + <p>
77 + <em>freepost</em> does <strong>not</strong> make use of any third-party service (for example CDNs).
65 78 </p>
66 79
67 80 </div>

+20/-7 M   template/index.twig
index b8d3ece..9f2abd0
old size: 2K - new size: 2K
@@ -3,17 +3,30 @@
3 3 <div class="posts">
4 4
5 5 {# banner
6 - <div class="bg-success" style="margin: 0 0 2em 0; padding: .5em;">
6 + <div class="bg-green" style="margin: 0 0 2em 0; padding: .5em;">
7 7 <img alt="" title="" src="images/pulse.gif" style="height: 1em;" />
8 - miniLAC conference (Berlin)
9 - <a href="https://streaming.media.ccc.de/minilac16/mainhall/">Mainhall</a>
10 -
11 - <a href="https://streaming.media.ccc.de/minilac16/seminar-room/">Seminar room</a>
12 -
13 - <a href="http://minilac.linuxaudio.org/index.php/Schedule">Schedule</a>
8 + <a href="https://streaming.media.ccc.de/33c3">33C3 LIVƎ</a>
14 9 </div>
15 10 #}
16 11
12 + {# Welcome New Year
13 + <pre class="new_year">
14 + .''.
15 + . *''* :_\/_:
16 + _\(/_ .:.*_\/_* : /\ :
17 + ./)\ ':'* /\ * : '..'.
18 + ' *''* * '.\'/.' _\(/_'
19 + *_\/_* -= o =- /)\
20 + * /\ * .'/.\'. '
21 + *..* :
22 + ____ ___ _ _____
23 + |___ \ / _ \/ |___ |
24 + __) | | | | | / /
25 + / __/| |_| | | / /
26 + |_____|\___/|_|/_/
27 + </pre>
28 + #}
29 +
17 30 {% for post in posts %}
18 31
19 32 <div class="post">

+1/-1 M   template/login.twig
index cf53ce5..824a29b
old size: 1K - new size: 1K
@@ -2,7 +2,7 @@
2 2
3 3 <div class="login">
4 4 {% if feedback %}
5 - <div class="alert bg-danger">
5 + <div class="alert bg-red">
6 6 {{ feedback }}
7 7 </div>
8 8 {% endif %}

+1/-1 M   template/login_reset.twig
index 914b4e6..8022e1b
old size: 2K - new size: 2K
@@ -2,7 +2,7 @@
2 2
3 3 <div class="login">
4 4 {% if feedback %}
5 - <div class="alert bg-danger">
5 + <div class="alert bg-red">
6 6 {{ feedback }}
7 7 </div>
8 8 {% endif %}