Correct HTML, external Stylesheets, eye candy, some fixes
[privoxy.git] / templates / edit-actions-list
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-list,v $
4 #
5 # Purpose     :  Template used to edit the actions file.
6
7 #
8 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
9 #                Privoxy team. http://www.privoxy.org/
10 #
11 #                Original Author: Copyright (C) 2001 Jonathan Foster
12 #                http://www.jon-foster.co.uk/
13 #
14 #                This program is free software; you can redistribute it 
15 #                and/or modify it under the terms of the GNU General
16 #                Public License as published by the Free Software
17 #                Foundation; either version 2 of the License, or (at
18 #                your option) any later version.
19 #
20 #                This program is distributed in the hope that it will
21 #                be useful, but WITHOUT ANY WARRANTY; without even the
22 #                implied warranty of MERCHANTABILITY or FITNESS FOR A
23 #                PARTICULAR PURPOSE.  See the GNU General Public
24 #                License for more details.
25 #
26 #                The GNU General Public License should be included with
27 #                this file.  If not, you can view it at
28 #                http://www.gnu.org/copyleft/gpl.html
29 #                or write to the Free Software Foundation, Inc., 59
30 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31 #
32 # Revisions   :
33 #    $Log: edit-actions-list,v $
34 #    Revision 1.14  2002/03/26 22:29:56  swa
35 #    we have a new homepage!
36 #
37 #    Revision 1.13  2002/03/24 15:23:33  jongfoster
38 #    Name changes
39 #
40 #    Revision 1.12  2002/03/24 11:01:06  swa
41 #    name change
42 #
43 #    Revision 1.11  2002/03/23 16:18:15  swa
44 #    renamed every reference to the old name with foobar.
45 #    fixed "application foobar application" tag, fixed
46 #    "the foobar" with "foobar". left junkbuster in cvs
47 #    comments and remarks to history untouched. should
48 #    make final rename easier.
49 #
50 #    Revision 1.10  2002/03/16 15:22:19  jongfoster
51 #    Moving 'alpha' warning to the end of the page
52 #
53 #    Revision 1.9  2002/03/05 00:24:51  jongfoster
54 #    Patch to always edit the current actions file.
55 #
56 #    Revision 1.8  2002/03/03 10:29:12  swa
57 #    point users to the right feedback forms,
58 #    not necessarily the developer list.
59 #
60 #    Revision 1.7  2002/01/23 00:26:45  jongfoster
61 #    Reducing length of URLs
62 #    Where encoded and unencoded versions of a string existed, removing
63 #    the unencoded one.
64 #
65 #    Revision 1.6  2002/01/17 21:33:00  jongfoster
66 #    Replacing all references to the URL of the config interface
67 #    with @default-cgi@
68 #
69 #    Revision 1.5  2002/01/17 21:21:05  jongfoster
70 #    DOS->Unix line endings
71 #
72 #    Revision 1.4  2001/11/13 00:58:18  jongfoster
73 #    New version of actions file editor templates
74 #
75 #
76 ##############################################################################
77 #
78 # Browser support for the CSS on this page:
79 #   MS Internet Explorer 5.5 - Yes - everything works.
80 #   Netscape 6.2             - Yes - everything works.
81 #   Netscape 4.75            - No  - CSS buttons look really bad, but they are
82 #                                    usable.  Everything else works.
83 #   Opera 5.12               - Yes - everything works.
84 #   MS Internet Explorer 4+  - Untested
85 #   MS IE 3.x, NS3.x         - Untested (Don't support CSS, so everything
86 #                              should work, but will look ugly).
87 #   Mozilla >=0.6            - Untested
88 #
89 # All browsers should work, you just might not get the pretty CSS buttons.
90 #
91 # If you're favorite browser isn't listed/tested, please test and add it.
92 #
93 #
94 #############################################################################
95 #
96 # Standard support:
97 #
98 # This file currently produces valid HTML 4.01 Strict.
99 #
100 # If you change it, please save the generated page from your web browser
101 # and then upload it to http://validator.w3.org/ for checking.
102 #
103 #############################################################################
104 #
105 # Available variables include:
106 #
107 # filename
108 # ver
109 #
110 #
111 #############################################################################
112 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
113 <html>
114
115 <head>
116   <meta http-equiv="Content-Style-Type" content="text/css">
117   <meta http-equiv="Content-Script-Type" content="text/javascript">
118   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
119   <meta name="robots" content="noindex,nofollow">
120   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
121
122   <title>Privoxy: Edit actions file</title>
123
124   <style type="text/css">
125
126 table.wide {
127   padding: 5px;
128 }
129 table.framed {
130   border: solid black 1px;
131   margin: 10px 0px;
132 }
133 tr.actions {
134   background-color: #eeffee;
135 }
136 tr.url1 {
137   background-color: #d0d0ff;
138 }
139 tr.url2 {
140   background-color: #eeeeff;
141 }
142 tr.rule {
143   background-color: #c0c0c0;
144   height: 3px;
145   max-height: 3px;
146   font-size: 1px
147 }
148 tr.adv {
149   background-color: #FFFFD0;
150 }
151 td.header {
152   font-weight: bold;
153 }
154 td.url {
155   font-weight: bold;
156 }
157 td.action {
158   font-weight: bold;
159   font-style: italic;
160 }
161 td.nbr {
162   white-space: nowrap;
163 }
164 a.cmd, div.buttons a {
165   white-space: nowrap;
166   width: auto;
167   padding: 2px;
168   background-color: #dddddd;
169   color:            #000000;
170   text-decoration: none;
171   border-top:    1px solid #ffffff;
172   border-left:   1px solid #ffffff;
173   border-bottom: 1px solid #000000;
174   border-right:  1px solid #000000;
175 }
176 a.cmd:hover, div.buttons a:hover {
177   background-color: #eeeeee;
178 }
179 a.cmd:active, div.buttons a:active {
180   border-top:    1px solid #000000;
181   border-left:   1px solid #000000;
182   border-bottom: 1px solid #ffffff;
183   border-right:  1px solid #ffffff;
184 }
185
186 </style>
187
188 <script type="text/javascript">
189 <!--
190 function not_yet()
191 {
192    window.alert("The feature you are trying to use has not been implemented yet.");
193 }
194
195 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page
196 // JavaScript-capable browsers will call this function, which does a
197 // client-side prompt for speed.  It may kick off the delete directly.
198 // It always returns false to cancel following the link.
199 function rm_p(pattern,curtext)
200 {
201    if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))
202    { window.location.href="edit-actions-remove-url?f=@f@&v=@v@&p="+pattern+"#l"+pattern; }
203    return false;
204 }
205
206 //-->
207 </script>
208 </head>
209
210 <body>
211
212   <table cellpadding="20" cellspacing="10" border="0" width="100%">
213     <tr>
214       <td class="title">
215         <h1>
216           This is <a href="@homepage@">Privoxy</a> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@,
217           @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@
218         </h1>
219       </td>
220     </tr>
221
222 <!-- @if-unstable-start -->
223 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
224     <tr>
225       <td class="warning">
226         <h2>Warning:</h2>
227         <p>
228           <b>Please note that this <em class="warning">@code-status@</em> release
229           of the proxy software is not intended for production systems!
230           <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
231         </p>
232       </td>
233     </tr>
234 <!-- if-unstable-end@ -->
235
236
237     <tr>
238       <td class="box">
239         <div class="buttons">
240           <h2>Editing Actions File</h2>
241           <p><a class="cmd" href="edit-actions-section-add?f=@f@&amp;v=@v@&amp;s=0">Insert new section at top</a></p>
242         </div>
243       </td>
244     </tr>
245
246     <tr>
247       <td class="container">
248         <div class="buttons">@sections@</div>
249       </td>
250     </tr>
251
252     <tr>
253       <td class="box">
254         <h2>More Privoxy:</h2>
255         <ul>@menu@</ul>
256       </td>
257     </tr>
258
259     <tr>
260       <td class="info">
261         <h2>Support and Service via Sourceforge:</h2>
262         <p>
263           We value your feedback. To provide you with the best support,
264           we ask that you:
265         </p>
266         <ul>
267           <li>
268             use the <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=211118">support forum</a> or (better) the
269             <a href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a> to get help.
270           </li>
271           <li>
272             submit banners and all problems with the actions file only through the
273             <a href="javascript:void(window.open('http://www.privoxy.org/actions','Feedback','width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());">actions
274             file feedback system</a>.
275           </li>
276           <li>
277             submit bugs only through our <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=111118">bug tracker</a>.
278             Make sure that the bug has not yet been submitted.
279           </li>
280           <li>
281             submit feature requests only through our <a href="http://sourceforge.net/tracker/?atid=361118&amp;group_id=11118&amp;func=browse">feature
282             request tracker</a>.
283           </li>
284         </ul>
285       </td>
286     </tr>
287
288 <!-- @if-have-help-info-start -->
289     <tr>
290       <td class="info">
291         <h2>Local Privoxy support:</h2>
292
293 <!-- @if-have-proxy-info-start -->
294         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Privoxy installation.</p>        
295 <!-- if-have-proxy-info-end@ -->
296
297 <!-- @if-have-adminaddr-info-start -->
298         <p>Address e-mail questions about this service to
299           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
300           who will be glad to help you.
301         </p>
302 <!-- if-have-adminaddr-info-end@ -->
303       </td>
304     </tr>
305 <!-- if-have-help-info-end@ -->
306
307     <tr>
308       <td>
309         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
310       </td>
311     </tr>
312
313   </table>
314 </body>
315
316 </html>