diff options
Diffstat (limited to 'pyload/web/app/templates/default/linkgrabber/package.html')
-rw-r--r-- | pyload/web/app/templates/default/linkgrabber/package.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pyload/web/app/templates/default/linkgrabber/package.html b/pyload/web/app/templates/default/linkgrabber/package.html new file mode 100644 index 000000000..54f6f4ad1 --- /dev/null +++ b/pyload/web/app/templates/default/linkgrabber/package.html @@ -0,0 +1,30 @@ +<strong>{{ name }}</strong> - <button class="btn btn-small btn-blue btn-expand"><i class="icon-arrow-down"></i> </button> <button class="btn btn-small btn-success btn-add"><i class="icon-plus"></i> </button> <button class="btn btn-small btn-danger btn-delete"><i class="icon-trash"></i> </button> <br> +<table class="table table-condensed" {{#unless expanded}}style="display: none"{{/unless}}> + <tbody> + {{#each links}} + <tr> + <td>{{ name }}</td> + <td><img src="{{ pluginIcon plugin }}"> {{ plugin }}</td> + <td>{{ linkStatus status }}</td> + <td><button class="btn btn-danger btn-mini" data-index={{@index}}><i class="icon-trash"></i></button></td> + </tr> + {{/each}} + </tbody> +</table> +<hr> +{{ ngettext "%d link" "%d links" length }}: +{{#if online}} +<span class="text-success"> + {{ online }} {{_ "online" }} +</span> +{{/if}} +{{#if offline}} +<span class="text-error"> + {{ offline }} {{_ "offline" }} +</span> +{{/if}} +{{#if unknown}} +<span class="text-info"> + {{ unknown }} {{_ "unknown" }} +</span> +{{/if}} |