diff options
| author | Stephen Blott | 2014-09-01 12:07:24 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2014-09-02 08:43:36 +0100 | 
| commit | 41bdac83d2fd450569013dd5cfdb78239143ba24 (patch) | |
| tree | 58c06e564cb5641102fbc6583071e84e094818f7 /pages/popup.html | |
| parent | 1685640ccabe265c9f182a0175d8ce823db35b4b (diff) | |
| download | vimium-41bdac83d2fd450569013dd5cfdb78239143ba24.tar.bz2 | |
Structured passkeys, internally and on the options and popup pages.
Diffstat (limited to 'pages/popup.html')
| -rw-r--r-- | pages/popup.html | 22 | 
1 files changed, 15 insertions, 7 deletions
diff --git a/pages/popup.html b/pages/popup.html index 89f1f02a..86982eae 100644 --- a/pages/popup.html +++ b/pages/popup.html @@ -6,17 +6,22 @@          padding: 0px;        } -      #vimiumPopup { width: 500px; } +      #vimiumPopup { width: 400px; }        #excludeControls {          padding: 10px;        } -      #popupInput { +      #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;        } -      #excludeConfirm { +      #confirmationMessage {          display: inline-block;          width: 18px;          height: 13px; @@ -24,7 +29,8 @@          display: none;        } -      #popupButton { margin-left: 10px; } +      #popupRemove { margin: 5px; } +      #popupExclude { margin: 5px; }        #popupMenu ul {          list-style: none; @@ -52,9 +58,11 @@    <body>      <div id="vimiumPopup">        <div id="excludeControls"> -        <input id="popupInput" type="text" /> -        <input id="popupButton" type="button" value="Exclude URL" /> -        <span id="excludeConfirm">Saved.</span> +        <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">  | 
