mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 18:29:47 +00:00
UI: Change the type locks to labels (#1773)
* Changing the locks * Changing the locks to labels * Update index.html update chagned param * whitespaces
This commit is contained in:
parent
b7daffea87
commit
3532a73d59
2 changed files with 7 additions and 7 deletions
|
@ -111,16 +111,16 @@ function reloadIndexers() {
|
||||||
item.state = "success";
|
item.state = "success";
|
||||||
|
|
||||||
if (item.type == "public") {
|
if (item.type == "public") {
|
||||||
item.type_icon_content = "🔓\uFE0E";
|
item.type_label = "success";
|
||||||
}
|
}
|
||||||
else if (item.type == "private") {
|
else if (item.type == "private") {
|
||||||
item.type_icon_content = "🔐\uFE0E";
|
item.type_label = "danger";
|
||||||
}
|
}
|
||||||
else if (item.type == "semi-private") {
|
else if (item.type == "semi-private") {
|
||||||
item.type_icon_content = "🔒\uFE0E";
|
item.type_label = "warning";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
item.type_icon_content = "";
|
item.type_label = "default";
|
||||||
}
|
}
|
||||||
|
|
||||||
var main_cats_list = item.caps.filter(function(c) {
|
var main_cats_list = item.caps.filter(function(c) {
|
||||||
|
|
|
@ -236,7 +236,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each indexers}}
|
{{#each indexers}}
|
||||||
<tr class="configured-indexer-row">
|
<tr class="configured-indexer-row">
|
||||||
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a> <span title="{{type}}" class="type-{{type}}">{{type_icon_content}}</span></td>
|
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a> <span title="{{type}}" class="label label-{{type_label}}" style="text-transform: capitalize;">{{type}}</span></td>
|
||||||
<td class="fit">
|
<td class="fit">
|
||||||
<div class="indexer-buttons">
|
<div class="indexer-buttons">
|
||||||
<a href="{{torznab_host}}" title="{{torznab_host}}" role="button" class="indexer-button-copy btn btn-xs btn-info">Copy Torznab Feed</a>
|
<a href="{{torznab_host}}" title="{{torznab_host}}" role="button" class="indexer-button-copy btn btn-xs btn-info">Copy Torznab Feed</a>
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
<tr class="unconfigured-indexer-row">
|
<tr class="unconfigured-indexer-row">
|
||||||
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a></td>
|
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a></td>
|
||||||
<td>{{mains_cats}}</td>
|
<td>{{mains_cats}}</td>
|
||||||
<td class="fit"><span title="{{type}}" class="type-{{type}}">{{type_icon_content}}</span></td>
|
<td class="fit"><span title="{{type}}" class="label label-{{type_label}}" style="text-transform: capitalize;">{{type}}</span></td>
|
||||||
<td>{{type}}</td>
|
<td>{{type}}</td>
|
||||||
<td class="fit">{{language}}</td>
|
<td class="fit">{{language}}</td>
|
||||||
<td class="fit">
|
<td class="fit">
|
||||||
|
@ -622,6 +622,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
||||||
<script type="text/javascript" src="../custom.js?changed=2017083001"></script>
|
<script type="text/javascript" src="../custom.js?changed=2017090501"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue