Search/RSS will be greyed out if they are not available on that indexer (instead of missing)
This commit is contained in:
parent
1709b6ff89
commit
30511d166d
|
@ -26,4 +26,8 @@
|
||||||
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input:first-of-type:disabled ~ .slide-button {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -95,6 +95,15 @@
|
||||||
font-size : 16px;
|
font-size : 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.label-white {
|
||||||
|
color : black;
|
||||||
|
background-color : white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
cursor : default;
|
cursor : default;
|
||||||
|
|
||||||
|
@ -113,11 +122,6 @@ a, .btn {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.label-white {
|
|
||||||
color : black;
|
|
||||||
background-color : white;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background:
|
background:
|
||||||
url('../Content/Images/background/logo.png') 50px center no-repeat fixed,#272727;
|
url('../Content/Images/background/logo.png') 50px center no-repeat fixed,#272727;
|
||||||
|
|
|
@ -17,14 +17,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if supportsRss}}
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label">Enable RSS Sync</label>
|
<label class="col-sm-3 control-label">Enable RSS Sync</label>
|
||||||
|
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<label class="checkbox toggle well">
|
<label class="checkbox toggle well">
|
||||||
<input type="checkbox" name="enableRss"/>
|
<input type="checkbox" name="enableRss" {{#unless supportsRss}}disabled="disabled"{{/unless}}/>
|
||||||
<p>
|
<p>
|
||||||
<span>Yes</span>
|
<span>Yes</span>
|
||||||
<span>No</span>
|
<span>No</span>
|
||||||
|
@ -32,19 +31,23 @@
|
||||||
|
|
||||||
<div class="btn btn-primary slide-button"/>
|
<div class="btn btn-primary slide-button"/>
|
||||||
</label>
|
</label>
|
||||||
|
{{#unless supportsRss}}
|
||||||
|
<span class="help-inline-checkbox">
|
||||||
|
<i class="icon-nd-form-warning" title="" data-original-title="RSS is not supported with this indexer"></i>
|
||||||
|
</span>
|
||||||
|
{{/unless}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if supportsSearch}}
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label">Enable Search</label>
|
<label class="col-sm-3 control-label">Enable Search</label>
|
||||||
|
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<label class="checkbox toggle well">
|
<label class="checkbox toggle well">
|
||||||
<input type="checkbox" name="enableSearch"/>
|
|
||||||
|
<input type="checkbox" name="enableSearch" {{#unless supportsSearch}}disabled="disabled"{{/unless}}/>
|
||||||
<p>
|
<p>
|
||||||
<span>Yes</span>
|
<span>Yes</span>
|
||||||
<span>No</span>
|
<span>No</span>
|
||||||
|
@ -52,10 +55,14 @@
|
||||||
|
|
||||||
<div class="btn btn-primary slide-button"/>
|
<div class="btn btn-primary slide-button"/>
|
||||||
</label>
|
</label>
|
||||||
|
{{#unless supportsSearch}}
|
||||||
|
<span class="help-inline-checkbox">
|
||||||
|
<i class="icon-nd-form-warning" title="" data-original-title="Search is not supported with this indexer"></i>
|
||||||
|
</span>
|
||||||
|
{{/unless}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{formBuilder}}
|
{{formBuilder}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="label label-default">RSS</span>
|
<span class="label label-default">RSS</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
<span class="label label-default label-disabled">RSS</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if supportsSearch}}
|
{{#if supportsSearch}}
|
||||||
|
@ -18,6 +20,8 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="label label-default">Search</span>
|
<span class="label label-default">Search</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
<span class="label label-default label-disabled">Search</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue