Reformat view templates
parent
b96e3a0acb
commit
190b684469
|
@ -36,9 +36,19 @@
|
||||||
<link rel="stylesheet" href="{{ cb_url('main.css') }}">
|
<link rel="stylesheet" href="{{ cb_url('main.css') }}">
|
||||||
<noscript>
|
<noscript>
|
||||||
<style>
|
<style>
|
||||||
#main { display: inherit !important; }
|
#main {
|
||||||
.content { max-height: 720px; padding: 18px; border-radius: 10px; }
|
display: inherit !important;
|
||||||
.collapsible { display: none; }
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
max-height: 720px;
|
||||||
|
padding: 18px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</noscript>
|
</noscript>
|
||||||
<style>{{ config.style }}</style>
|
<style>{{ config.style }}</style>
|
||||||
|
@ -115,19 +125,24 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-near">
|
<div class="config-div config-div-near">
|
||||||
<label for="config-near">{{ translation['config-near'] }}: </label>
|
<label for="config-near">{{ translation['config-near'] }}: </label>
|
||||||
<input type="text" name="near" id="config-near" placeholder="{{ translation['config-near-help'] }}" value="{{ config.near }}">
|
<input type="text" name="near" id="config-near"
|
||||||
|
placeholder="{{ translation['config-near-help'] }}" value="{{ config.near }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-block">
|
<div class="config-div config-div-block">
|
||||||
<label for="config-block">{{ translation['config-block'] }}: </label>
|
<label for="config-block">{{ translation['config-block'] }}: </label>
|
||||||
<input type="text" name="block" id="config-block" placeholder="{{ translation['config-block-help'] }}" value="{{ config.block }}">
|
<input type="text" name="block" id="config-block"
|
||||||
|
placeholder="{{ translation['config-block-help'] }}" value="{{ config.block }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-block">
|
<div class="config-div config-div-block">
|
||||||
<label for="config-block-title">{{ translation['config-block-title'] }}: </label>
|
<label for="config-block-title">{{ translation['config-block-title'] }}: </label>
|
||||||
<input type="text" name="block_title" id="config-block" placeholder="{{ translation['config-block-title-help'] }}" value="{{ config.block_title }}">
|
<input type="text" name="block_title" id="config-block"
|
||||||
|
placeholder="{{ translation['config-block-title-help'] }}"
|
||||||
|
value="{{ config.block_title }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-block">
|
<div class="config-div config-div-block">
|
||||||
<label for="config-block-url">{{ translation['config-block-url'] }}: </label>
|
<label for="config-block-url">{{ translation['config-block-url'] }}: </label>
|
||||||
<input type="text" name="block_url" id="config-block" placeholder="{{ translation['config-block-url-help'] }}" value="{{ config.block_url }}">
|
<input type="text" name="block_url" id="config-block"
|
||||||
|
placeholder="{{ translation['config-block-url-help'] }}" value="{{ config.block_url }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-nojs">
|
<div class="config-div config-div-nojs">
|
||||||
<label for="config-nojs">{{ translation['config-nojs'] }}: </label>
|
<label for="config-nojs">{{ translation['config-nojs'] }}: </label>
|
||||||
|
@ -162,24 +177,29 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-new-tab">
|
<div class="config-div config-div-new-tab">
|
||||||
<label for="config-new-tab">{{ translation['config-new-tab'] }}: </label>
|
<label for="config-new-tab">{{ translation['config-new-tab'] }}: </label>
|
||||||
<input type="checkbox" name="new_tab" id="config-new-tab" {{ 'checked' if config.new_tab else '' }}>
|
<input type="checkbox" name="new_tab"
|
||||||
|
id="config-new-tab" {{ 'checked' if config.new_tab else '' }}>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-view-image">
|
<div class="config-div config-div-view-image">
|
||||||
<label for="config-view-image">{{ translation['config-images'] }}: </label>
|
<label for="config-view-image">{{ translation['config-images'] }}: </label>
|
||||||
<input type="checkbox" name="view_image" id="config-view-image" {{ 'checked' if config.view_image else '' }}>
|
<input type="checkbox" name="view_image"
|
||||||
|
id="config-view-image" {{ 'checked' if config.view_image else '' }}>
|
||||||
<div><span class="info-text"> — {{ translation['config-images-help'] }}</span></div>
|
<div><span class="info-text"> — {{ translation['config-images-help'] }}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-tor">
|
<div class="config-div config-div-tor">
|
||||||
<label for="config-tor">{{ translation['config-tor'] }}: {{ '' if tor_available else 'Unavailable' }}</label>
|
<label for="config-tor">{{ translation['config-tor'] }}: {{ '' if tor_available else 'Unavailable' }}</label>
|
||||||
<input type="checkbox" name="tor" id="config-tor" {{ '' if tor_available else 'hidden' }} {{ 'checked' if config.tor else '' }}>
|
<input type="checkbox" name="tor"
|
||||||
|
id="config-tor" {{ '' if tor_available else 'hidden' }} {{ 'checked' if config.tor else '' }}>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-get-only">
|
<div class="config-div config-div-get-only">
|
||||||
<label for="config-get-only">{{ translation['config-get-only'] }}: </label>
|
<label for="config-get-only">{{ translation['config-get-only'] }}: </label>
|
||||||
<input type="checkbox" name="get_only" id="config-get-only" {{ 'checked' if config.get_only else '' }}>
|
<input type="checkbox" name="get_only"
|
||||||
|
id="config-get-only" {{ 'checked' if config.get_only else '' }}>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-get-only">
|
<div class="config-div config-div-get-only">
|
||||||
<label for="config-accept-language">Set Accept-Language: </label>
|
<label for="config-accept-language">Set Accept-Language: </label>
|
||||||
<input type="checkbox" name="accept_language" id="config-accept-language" {{ 'checked' if config.accept_language else '' }}>
|
<input type="checkbox" name="accept_language"
|
||||||
|
id="config-accept-language" {{ 'checked' if config.accept_language else '' }}>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-div config-div-root-url">
|
<div class="config-div config-div-root-url">
|
||||||
<label for="config-url">{{ translation['config-url'] }}: </label>
|
<label for="config-url">{{ translation['config-url'] }}: </label>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue