diff options
author | Simon Rettberg | 2019-10-09 17:31:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-09 17:31:19 +0200 |
commit | f800abeea4f6c68182c51cd4aaea19d7636431c8 (patch) | |
tree | 802f9bcee14210b355cac211751449e31c71fbc0 /modules-available/minilinux/templates/versionlist.html | |
parent | slx-fixes: Expose function for adding additional automatic confirm handlers (diff) | |
download | slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.tar.gz slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.tar.xz slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.zip |
[minilinux] Rewrite for multiple version/sources handling
* You can supply multiple sources for updates (URLs)
* Sources can provide multiple branches
* Each branch can supply multiple versions (eg. updates)
TODO: Set global default version
TODO: Supply hook to serversetup-ipxe to add specific boot entries
TODO: UX polish
TODO: phpdoc/polish
Diffstat (limited to 'modules-available/minilinux/templates/versionlist.html')
-rw-r--r-- | modules-available/minilinux/templates/versionlist.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules-available/minilinux/templates/versionlist.html b/modules-available/minilinux/templates/versionlist.html new file mode 100644 index 00000000..1e5c7c96 --- /dev/null +++ b/modules-available/minilinux/templates/versionlist.html @@ -0,0 +1,39 @@ +<table class="table table-striped"> +<tr> + <th>{{lang_version}}</th> + <th>{{lang_releaseDate}}</th> + <th>{{lang_title}}</th> + <th class="slx-smallcol"></th> + <th class="slx-smallcol"></th> +</tr> +{{#versions}} +<tr> + <td> + <a href="#" class="version-link" data-version="{{versionid}}" {{#downloading}}data-autoclick="true"{{/downloading}}> + {{versionid}} + <b class="caret"></b> + </a> + </td> + <td>{{dateline_s}}</td> + <td>{{title}}</td> + <td> + {{^installed}} + {{^downloading}} + <button type="button" class="btn btn-xs btn-success btn-download" data-version="{{versionid}}"> + <span class="glyphicon glyphicon-download"></span> + {{lang_download}} + </button> + {{/downloading}} + {{/installed}} + </td> + <td> + {{#orphan}} + {{lang_orphanedVersion}} + {{/orphan}} + </td> +</tr> +<tr> + <td colspan="5" class="version-container collapse" data-version="{{versionid}}"></td> +</tr> +{{/versions}} +</table>
\ No newline at end of file |