Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/subscriptions.tmpl

Issue 29337807: Issue 3097 - Refactored subscriptions list table on adblockplus.org/en/subscriptions (Closed)
Patch Set: Refactored markup & styles, added rtl styles, and fixed typo. Created July 19, 2016, 10:26 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 title=Known Adblock Plus subscriptions 1 title=Known Adblock Plus subscriptions
2 {# 2 {#
3 # This file is part of the Adblock Plus website, 3 # This file is part of the Adblock Plus website,
4 # Copyright (C) 2006-2016 Eyeo GmbH 4 # Copyright (C) 2006-2016 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details. 13 # GNU General Public License for more details.
14 # 14 #
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 16 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
17 #} 17 #}
18 18
19 19
20 <style type="text/css"> 20 <style type="text/css">
21 .subscriptions 21 .screen-reader-text
22 { 22 {
23 border-collapse: collapse; 23 clip: rect(1px, 1px, 1px, 1px);
Thomas Greiner 2016/07/27 09:42:10 According to https://developer.mozilla.org/en-US/d
juliandoucette 2016/07/27 12:11:01 I agree. I vote: Leave the text and remove the c
Thomas Greiner 2016/07/27 13:25:48 Yep, sounds good. :)
juliandoucette 2016/07/28 21:34:01 Done.
24 width: 100%; 24 position: absolute;
25 } 25 }
26 26
27 .subscriptions td 27 .subscriptions-list,
28 .supplemented-subscriptions-list
28 { 29 {
30 margin: 0px;
31 list-style: none;
32 }
33
34 .subscriptions-list
35 {
36 padding: 0px;
37 }
38
39 .supplemented-subscriptions-list
40 {
41 padding: 0px 0px 0px 30px;
Thomas Greiner 2016/07/27 09:42:10 Note that since you're using `[dir="rtl"]` below f
juliandoucette 2016/07/27 12:11:01 I switched it to short hand to avoid defining a pa
42 }
43
44 [dir="rtl"] .supplemented-subscriptions-list
45 {
46 padding: 0px 30px 0px 0px;
47 }
48
49 .subscription
50 {
51 position: relative;
52 overflow: auto;
53 /* Using outline and margin instead of border to prevent overlapping
54 and missing connections in hierarchy */
55 outline: 1px dashed #000;
56 margin-left: -1px;
57 margin-top: 1px;
58 }
59
60 #content .subscription h1
61 {
62 margin: 0px;
63 font-size: 16px;
64 }
65
66 .subscription p
67 {
68 margin: 0px;
69 }
70
71 .subscription-summary,
72 .subscription-authors,
73 .subscription-links
74 {
75 padding: 5px;
76 }
77
78 .subscription-content,
79 .subscription-details
80 {
81 float: left;
29 width: 50%; 82 width: 50%;
30 } 83 }
31 84
32 .subscriptions td, .subscriptions th 85 [dir="rtl"] .subscription-content,
86 [dir="rtl"] .subscription-details
33 { 87 {
34 vertical-align: top; 88 float: right;
35 border: 1px dashed black;
36 padding: 5px;
37 } 89 }
38 90
39 .subscriptions .dummy 91 .subscription-authors,
92 .subscription-links
40 { 93 {
41 border-style: none; 94 border-left: 1px dashed #000;
42 width: 20px; 95 }
43 min-width: 20px; 96
97 [dir="rtl"] .subscription-authors,
98 [dir="rtl"] .subscription-links
99 {
100 border-left: none;
101 border-right: 1px dashed #000;
102 }
103
104 .subscription-links
105 {
106 border-top: 1px dashed #000;
44 } 107 }
45 108
46 .subscriptions .deprecated 109 .subscriptions .deprecated
47 { 110 {
48 opacity: 0.5; 111 opacity: 0.5;
49 } 112 }
50 </style> 113 </style>
51 114
52 <p>{{"This is a list of the actively maintained filter subscriptions we're aware of. You can subscribe to any of them by simply clicking its \"Subscribe\" link and confirming your decision. The filters will be added to Adblock Plus and upda ted automatically. Note that <a href=\"getting_started#subscription\">you should n't add too many filter subscriptions</a>."|translate("s1")}}</p> 115 <p>{{"This is a list of the actively maintained filter subscriptions we're aware of. You can subscribe to any of them by simply clicking its \"Subscribe\" link and confirming your decision. The filters will be added to Adblock Plus and upda ted automatically. Note that <a href=\"getting_started#subscription\">you should n't add too many filter subscriptions</a>."|translate("s1")}}</p>
53 116
54 117
55 {% from "includes/subscriptionList" import display_subscriptions %} 118 {% from "includes/subscriptionList" import display_subscriptions %}
56 119
57 {{ display_subscriptions(get_subscriptions()) }} 120 {{ display_subscriptions(get_subscriptions()) }}
58 121
59 122
60 <p>{{"Can't see your filter list here? <a href=\"mailto:subscriptionlist@adblock plus.org\">Send</a> the information you would like to be displayed here. Please note that in order to be included in this list your subscription must contain a comment at the beginning describing the origin of the filter list and the prefer red way of contacting you if problems with your list occur. You should also be c ertain that when these issues arise you will be able to fix them in a reasonable amount of time."|translate("s2")}}</p> 123 <p>{{"Can't see your filter list here? <a href=\"mailto:subscriptionlist@adblock plus.org\">Send</a> the information you would like to be displayed here. Please note that in order to be included in this list your subscription must contain a comment at the beginning describing the origin of the filter list and the prefer red way of contacting you if problems with your list occur. You should also be c ertain that when these issues arise you will be able to fix them in a reasonable amount of time."|translate("s2")}}</p>
61 124
62 <p> 125 <p>
63 {{"Please note that all of these filter lists are being maintained by third part ies. Eyeo, the company behind Adblock Plus, has no control over them.\nWe are on ly listing them to help you find lists that could be useful to you.\nIn no case shall Eyeo be held liable towards you or any other third party for any loss or d amage (including but not limited to loss of chances and of business) deriving di rectly or indirectly from your use of these lists."|translate("s3")}} 126 {{"Please note that all of these filter lists are being maintained by third part ies. Eyeo, the company behind Adblock Plus, has no control over them.\nWe are on ly listing them to help you find lists that could be useful to you.\nIn no case shall Eyeo be held liable towards you or any other third party for any loss or d amage (including but not limited to loss of chances and of business) deriving di rectly or indirectly from your use of these lists."|translate("s3")}}
64 </p> 127 </p>
OLDNEW
« no previous file with comments | « includes/subscriptionList.tmpl ('k') | static/css/main.css » ('j') | templates/default.tmpl » ('J')

Powered by Google App Engine
This is Rietveld