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>
<div>
<p data-i18n="1pFormatHint"></p>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
</div>
<p data-i18n="1pFormatHint"></p>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
<script src="js/vapi-common.js"></script>
<script src="js/vapi-client.js"></script>

View File

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

View File

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

View File

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