summaryrefslogtreecommitdiffstats
path: root/src/log.html
blob: d9212ab46ef8c8d76c1b017b183604e98c6992af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title data-i18n="log">FoxyProxy </title>
    <link rel="icon" type="image/png" href="/images/icon.svg">
    <link rel="stylesheet" href="styles/fontawesome-4.6.3.css">
    <link rel="stylesheet" href="styles/app.css">
    <style>
      tbody tr:hover a { color: #a0522d; }
      tbody td { padding: 0em 0.2em; overflow-x: auto; text-overflow: ellipsis; white-space: nowrap; scrollbar-color: #ddd #f5f5f5; scrollbar-width: thin; }
      td:nth-child(1) { max-width: 20em; }
      td:nth-child(2) { max-width: 5em; }
      td:nth-child(3) { width: 2em; border-radius: 5px; border: 2px solid #fff; }
      td:nth-child(4) { max-width: 8em; }
      td:nth-child(5) { max-width: 8em; }
      td:nth-child(6) { max-width: 14em; }
      .prime.warning {  font-size: 0.9em; padding: 0.5em;}
      tbody { counter-reset: n; }
      tbody tr td:first-child::before {
         display: inline-block;
         color: #aaa;
         min-width: 1.5em;
         text-align: right;
         vertical-align: middle;
         margin-right: 0.4em;
         pointer-events: none;
         counter-increment: n;
         content: counter(n);
         font-size: 0.7em;
      }
      
     label[data-i18n] {
        margin: 0 0.5em 0 1em; 
      }
    
      input[type="text"] {
        display: inline-block;
        width: 5em;
        padding: 0.2em;
        height: auto;
      }
      i.fa, i.fa:hover { color: inherit; font-size: inherit; }
    </style>
  </head>
  <body>

    <!-- header -->
    <div class="prime header" data-i18n="log"></div>


    <!-- spinner --> <!-- options, patterns, log -->
    <div class="spinner on"><i class="fa fa-refresh fa-spin"></i></div>


    <!-- main -->
    <div class="prime">

        <div style="text-align: right;">

          <label data-i18n="log"></label>
          <input type="checkbox" class="switch" id="onOff"><label for="onOff"></label>

          <label data-i18n="logSize"></label>
          <input id="logSize" type="text">
 
      </div>      

      <div class="prime warning"><strong>Failed URLs display here, too!</strong><br>
        A row in this log does not mean the URL successfully loaded. The log shows only how <strong>attempts</strong> were made to load URLs. If the proxy server was not responding or there was some other problem which prevented the URL from loading, the URL still displays here. This is a limitation of Firefox 57+.
      </div>

      <h3 data-i18n="matchedURLs"></h3>
      <div class="scroll">
        <table>
          <thead>
            <tr>
              <th data-i18n="url"></th><th data-i18n="proxyTitle"></th><th data-i18n="color"></th>
              <th data-i18n="proxyAddress"></th><th data-i18n="matchPattern"></th><th data-i18n="whiteBlack"></th>
              <th data-i18n="timestamp"></th>
             </tr>
            <!-- template -->
            <tr class="matchedtemplate">
               <td><a href="" target="_blank"></a></td>
               <td></td>
               <td></td>
               <td></td>
               <td></td>
               <td></td>
               <td></td>
            </tr>
          </thead>

          <tbody></tbody>
        </table>
      </div>

      <h3 data-i18n="unmatchedURLs"></h3>
      <div class="scroll">
        <table>
          <thead>
            <tr>
              <th data-i18n="url"></th>
              <th data-i18n="timestamp"></th>
             </tr>
            <!-- template -->
            <tr class="unmatchedtemplate">
               <td><a href="" target="_blank"></a></td>
               <td></td>
            </tr>
          </thead>

          <tbody></tbody>
        </table>
      </div>
      
      <div style="margin-top: 1em; text-align: right;">
        <button type="button" data-i18n="back">&#x25c1; </button>
        <button type="button" data-i18n="refresh"><i class="fa fa-refresh"></i> </button>
        <button type="button" class="alert" data-i18n="clear"><i class="fa fa-trash"></i> </button>
      </div>

    </div>

  <script src="scripts/utils.js"></script>
  <script src="scripts/log.js"></script>
  </body>
</html>