diff options
author | gorhill <rhill@raymondhill.net> | 2015-02-11 11:34:51 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-02-11 11:34:51 -0500 |
commit | 44768e8dbad317364b9c9d6b2aa47cc335e20ab0 (patch) | |
tree | da04e831ed68a6d711e80be991b84e75dfa5fefc /src/dyna-rules.html | |
parent | 287f50232163655bfda16e78230d313c25de045c (diff) | |
download | uBlock-44768e8dbad317364b9c9d6b2aa47cc335e20ab0.zip uBlock-44768e8dbad317364b9c9d6b2aa47cc335e20ab0.tar.gz uBlock-44768e8dbad317364b9c9d6b2aa47cc335e20ab0.tar.bz2 |
#731: UI counterpart
Diffstat (limited to 'src/dyna-rules.html')
-rw-r--r-- | src/dyna-rules.html | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/src/dyna-rules.html b/src/dyna-rules.html index 0f161ca..409c9fb 100644 --- a/src/dyna-rules.html +++ b/src/dyna-rules.html @@ -10,16 +10,33 @@ <body> -<div> - <p data-i18n="rulesHint"></p> - <p data-i18n="rulesFormatHint"></p> - <p><button id="rulesApply" disabled="true" data-i18n="1pApplyChanges"></button></p> - <textarea id="rulesEditor" spellcheck="false" dir="auto"></textarea> - <p><button id="importButton" type="button" data-i18n="1pImport"></button>   - <button id="exportButton" type="button" data-i18n="1pExport"></button> - <input class="hidden" id="importFilePicker" type="file" accept="text/plain" style="display: none;"></p> - <span class="hidden" data-i18n="rulesDefaultFileName" style="display: none;"></span> -</div> +<p data-i18n="rulesHint"></p> +<p data-i18n="rulesFormatHint"></p> +<div id="diff"> + <div class="pane left"> + <div> + <h2 data-i18n="rulesPermanentHeader"></h2> + <button type="button" id="exportButton" data-i18n="rulesExport"></button> + <button type="button" id="revertButton" data-i18n="rulesRevert"></button> + </div> + <ul></ul> + </div> + <div class="pane right"> + <div> + <h2 data-i18n="rulesTemporaryHeader"></h2> + <button type="button" id="commitButton" data-i18n="rulesCommit"></button> + <button type="button" id="editEnterButton" data-i18n="rulesEdit"></button> + <button type="button" id="editStopButton" data-i18n="rulesEditSave"></button> + <button type="button" id="editCancelButton" data-i18n="rulesEditDiscard"></button> + <button type="button" id="importButton" data-i18n="rulesImport"></button> + </div> + <textarea spellcheck="false"></textarea> + <ul></ul> + </div> + </div> + +<input class="hidden" id="importFilePicker" type="file" accept="text/plain" style="display: none;"> +<span class="hidden" data-i18n="rulesDefaultFileName" style="display: none;"></span> <script src="js/vapi-common.js"></script> <script src="js/vapi-client.js"></script> |