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

Side by Side Diff: popup.html

Issue 11627039: Added ad counting functionality (Closed)
Patch Set: Changed strings & using appLocale Created Sept. 18, 2013, 9:45 a.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <http://adblockplus.org/>, 4 - This file is part of Adblock Plus <http://adblockplus.org/>,
5 - Copyright (C) 2006-2013 Eyeo GmbH 5 - Copyright (C) 2006-2013 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 .ui-button { 70 .ui-button {
71 padding: 3px; 71 padding: 3px;
72 } 72 }
73 73
74 .spacer { 74 .spacer {
75 height: 7px; 75 height: 7px;
76 width: 5px; 76 width: 5px;
77 display: block; 77 display: block;
78 } 78 }
79
80 #statsStuff
Wladimir Palant 2013/09/18 13:22:17 #statsContainer? :)
81 {
82 margin: 10px 5px;
83 padding: 5px;
84 border: 1px solid rgb(150, 150, 200);
85 border-radius: 5px;
86 white-space: nowrap;
87 background: -webkit-linear-gradient(top, rgb(250, 250, 255), rgb(200, 200, 255 ) 50px);
88 background: linear-gradient(top, rgb(250, 250, 255), rgb(200, 200, 255) 50px);
Wladimir Palant 2013/09/18 13:22:17 This isn't valid linear-gradient syntax, see https
89 }
90
91 #statsPage > strong,
92 #statsTotal > strong
93 {
94 display: inline-block;
95 min-width: 30px;
Wladimir Palant 2013/09/18 13:22:17 Hm, we'll easily see six-digit numbers here... May
96 color: rgb(255, 50, 50);
97 text-align: right;
98 }
99
100 #share
101 {
102 display: block;
103 color: rgb(75, 75, 200);
104 text-align: right;
105 text-decoration: underline;
106 }
107
108 #shareBox > a
109 {
110 display: block;
111 margin-top: 5px;
112 }
79 </style> 113 </style>
80 114
81 <script type="text/javascript" src="jquery-ui/js/jquery-1.7.1.min.js"></script> 115 <script type="text/javascript" src="jquery-ui/js/jquery-1.7.1.min.js"></script>
82 <script type="text/javascript" src="i18n.js"></script> 116 <script type="text/javascript" src="i18n.js"></script>
83 <script type="text/javascript" src="popup.js"></script> 117 <script type="text/javascript" src="popup.js"></script>
84 <script type="text/javascript" src="notification.js"></script> 118 <script type="text/javascript" src="notification.js"></script>
119 <script type="text/javascript" src="stats.js"></script>
85 </head> 120 </head>
86 <body id="main"> 121 <body id="main">
122
87 <div id="notification" style="display: none"> 123 <div id="notification" style="display: none">
88 <h1 id="title"></h1> 124 <h1 id="title"></h1>
89 <p id="message"></p> 125 <p id="message"></p>
90 </div> 126 </div>
91 127
92 <div id="enabledCheckboxAndLabel" style="display:none"><input id="enabled" type= "checkbox" checked><label for="enabled"><span class="i18n_enabled_for_site"></sp an></label></div> 128 <div id="enabledCheckboxAndLabel" style="display:none"><input id="enabled" type= "checkbox" checked><label for="enabled"><span class="i18n_enabled_for_site"></sp an></label></div>
93 <div id="clickHideInactiveStuff" style="display: none"> 129 <div id="clickHideInactiveStuff" style="display: none">
94 <div class="spacer"></div> 130 <div class="spacer"></div>
95 <button id="clickHideButton" class="ui-button ui-widget ui-state-default ui-corn er-all ui-button-text-only"><span class="i18n_easy_create_filter"></span></butto n> 131 <button id="clickHideButton" class="ui-button ui-widget ui-state-default ui-corn er-all ui-button-text-only"><span class="i18n_easy_create_filter"></span></butto n>
96 </div> 132 </div>
97 133
98 <div id="clickHideActiveStuff" style="display: none"> 134 <div id="clickHideActiveStuff" style="display: none">
99 <div id="clickHideMsg"><span class="i18n_clickhide_instructions"></span></div> 135 <div id="clickHideMsg"><span class="i18n_clickhide_instructions"></span></div>
100 <div class="spacer"></div> 136 <div class="spacer"></div>
101 <button id="cancelButton" class="ui-button ui-widget ui-state-default ui-corner- all ui-button-text-only"><span class="i18n_cancel"></span></button> 137 <button id="cancelButton" class="ui-button ui-widget ui-state-default ui-corner- all ui-button-text-only"><span class="i18n_cancel"></span></button>
102 </div> 138 </div>
103 139
140 <div id="statsStuff" hidden>
141 <strong class="i18n_stats_title"></strong>
142 <div id="stats">
143 <div id="statsPage" class="i18n_stats_label_page label"></div>
144 <div id="statsTotal" class="i18n_stats_label_total label"></div>
Wladimir Palant 2013/09/18 13:22:17 Please remove the i18n classes here, just fill the
145 </div>
146 <div>
147 <a id="share" class="i18n_stats_share_title" href="#"></a>
148 <div id="shareBox" hidden>
149 <a class="i18n_stats_share_label_fb ui-button ui-widget ui-state-default u i-corner-all" data-social="facebook"></a>
150 <a id="shareTwitter" class="i18n_stats_share_label_twitter ui-button ui-wi dget ui-state-default ui-corner-all" data-social="twitter"></a>
151 <a id="shareGplus" class="i18n_stats_share_label_gplus ui-button ui-widget ui-state-default ui-corner-all" data-social="gplus"></a>
152 </div>
153 </div>
154 </div>
155
104 </div> 156 </div>
105 </body> 157 </body>
106 </html> 158 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld