1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00
This commit is contained in:
gorhill 2015-02-16 07:08:41 -05:00
parent d58004f91a
commit eb02abbc54
4 changed files with 19 additions and 21 deletions

View File

@ -10,14 +10,12 @@
<body> <body>
<div> <p data-i18n="1pFormatHint"></p>
<p data-i18n="1pFormatHint"></p> <p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p> <textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea> <p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button> <button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p> <input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
</div>
<script src="js/vapi-common.js"></script> <script src="js/vapi-common.js"></script>
<script src="js/vapi-client.js"></script> <script src="js/vapi-client.js"></script>

View File

@ -5,9 +5,10 @@ div > p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.userFilters { .userFilters {
box-sizing: border-box;
font-size: small; font-size: small;
width: 48em; height: 60vh;
height: 40em;
white-space: pre; white-space: pre;
width: 100%;
text-align: left; text-align: left;
} }

View File

@ -5,11 +5,12 @@ div > p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
#whitelist { #whitelist {
box-sizing: border-box;
font-size: small; font-size: small;
width: 48em; height: 60vh;
height: 40em;
white-space: pre;
text-align: left; text-align: left;
white-space: pre;
width: 100%;
} }
#whitelist.bad { #whitelist.bad {
background-color: #fee; background-color: #fee;

View File

@ -10,14 +10,12 @@
<body> <body>
<div> <p data-i18n="whitelistPrompt"></p>
<p data-i18n="whitelistPrompt"></p> <p><button id="whitelistApply" type="button" disabled="true" data-i18n="whitelistApply"></button></p>
<p><button id="whitelistApply" type="button" disabled="true" data-i18n="whitelistApply"></button></p> <textarea id="whitelist" dir="auto" spellcheck="false"></textarea>
<textarea id="whitelist" dir="auto" spellcheck="false"></textarea> <p><button id="importWhitelistFromFile" data-i18n="whitelistImport"></button> &emsp;
<p><button id="importWhitelistFromFile" data-i18n="whitelistImport"></button> &emsp;
<button id="exportWhitelistToFile" data-i18n="whitelistExport"></button> <button id="exportWhitelistToFile" data-i18n="whitelistExport"></button>
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p> <input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
</div>
<script src="lib/punycode.js"></script> <script src="lib/punycode.js"></script>
<script src="js/vapi-common.js"></script> <script src="js/vapi-common.js"></script>