First version of CGI-based edit interface. This is very much a
[privoxy.git] / templates / edit-actions-list
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3
4 <head>
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta http-equiv="Content-Script-Type" content="text/javascript">
7 <meta name="robots" content="noindex,nofollow">
8
9 <title>JunkBuster: Edit actions list</title>
10
11 <style type="text/css">
12 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
13 tr.actions   { background-color: #EEFFEE }
14 tr.url1      { background-color: #D0D0FF }
15 tr.url2      { background-color: #EEEEFF }
16 tr.rule      { background-color: #C0C0C0; height: 3 }
17 tr.adv       { background-color: #FFFFD0 }
18 td.header    { font-weight: bold }
19 td.url       { font-weight: bold }
20 td.action    { font-weight: bold; font-style: italic }
21 </style>
22
23 <script type="text/javascript">
24 <!--
25 function edit_pattern(b,p,ct)
26 {
27    ct=unescape(ct);
28         nt=window.prompt("Edit this URL pattern:",ct);
29         if ((nt!=null)&&(nt!=ct)&&(nt!=""))
30         { window.location.href="http://i.j.b/change-pattern?section="+b+"&pattern="+p+"&newval="+escape(nt)+"#s"+b+"url"+p; }
31 }
32
33 function add_pattern(b)
34 {
35         nt=window.prompt("Enter URL pattern to add:", "");
36         if ((nt!=null)&&(nt!=""))
37         { window.location.href="http://i.j.b/change-pattern?section="+b+"&pattern=new&newval="+escape(nt)+"#s"+b+"urls"; }
38 }
39
40 function edit_actions(b)
41 {
42         window.location.href="http://i.j.b/edit-actions?section="+b;
43 }
44
45 function not_yet()
46 {
47         window.alert("The feature you are trying to use has not been implemented yet.");
48 }
49 //-->
50 </script>
51 </head>
52
53 <body>
54
55 @sections@
56
57 </body>
58
59 </html>