aboutsummaryrefslogtreecommitdiffstats
path: root/pages/popup.html
blob: 775d6c07ef12b78c4b93d7ec029e7a4169982003 (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
<html>
  <head>
    <style>
      * {
        margin: 0px;
        padding: 0px;
      }

      #vimiumPopup { width: 400px; }

      #excludeControls {
        padding: 10px;
      }

      #popupPattern, #popupPassKeys {
        margin: 5px;
        width: 330px;
        /* Match the corresponding font and font size used on the options page. */
        /* TODO (smblott): Match other styles from the options page. */
        font-family: Consolas, "Liberation Mono", Courier, monospace;
        font-size: 14px;
      }

      #confirmationMessage {
        display: inline-block;
        width: 18px;
        height: 13px;
        background: url(icons/check.png) 3px 2px no-repeat;
        display: none;
      }

      #popupRemove { margin: 5px; }
      #popupExclude { margin: 5px; }

      #popupMenu ul {
        list-style: none;
      }

      #popupMenu li, #popupMenu a:active, #popupMenu a:visited {
        color: #3F6EC2;
        display: block;
        border-top: 1px solid #DDDDDD;
        padding: 3px;
        padding-left: 10px;
      }

      #popupMenu a:hover {
        background: #EEEEEE;
      }

      #optionsLink {
        font-family : "Helvetica Neue", "Helvetica", "Arial", sans-serif;
        font-size: 12px;
        float: right;
      }
      #helpText {
        color: #979ca0;
        font-family : "Helvetica Neue", "Helvetica", "Arial", sans-serif;
        font-size: 12px;
        float: left;
        display: none;
      }
    </style>
    <script src="popup.js"></script>
  </head>
  <body>
    <div id="vimiumPopup">
      <div id="excludeControls">
        <input id="popupPattern" placeholder="Pattern against which to match URLs..." type="text" /><br/>
        <input id="popupPassKeys" placeholder="Only exclude these keys..." type="text" /><br/>
        <input id="popupRemove" type="button" value="Remove Rule" />
        <input id="popupExclude" type="button" value="Add or Update Rule" />
        <span id="confirmationMessage">Text is added in popup.coffee.</span>
      </div>

      <div id="popupMenu">
        <ul>
          <li>
             <span id="helpText">Type <strong>Ctrl-Enter</strong> to save and close.</span>
             <a id="optionsLink" target="_blank">Options</a>
          </li>
        </ul>
      </div>
    </div>
  </body>
</html>