diff options
author | Simon Rettberg | 2022-07-01 17:51:36 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-07-01 17:51:36 +0200 |
commit | cebc0c48fd86750eb9b45745a2d68c5e5d71d9f8 (patch) | |
tree | 778a2bc16e4fda122015908f89e7c7590d803701 /modules-available/vmstore/templates/benchmark-imgselect.html | |
parent | [rebootcontrol] Fix permission check (diff) | |
download | slx-admin-cebc0c48fd86750eb9b45745a2d68c5e5d71d9f8.tar.gz slx-admin-cebc0c48fd86750eb9b45745a2d68c5e5d71d9f8.tar.xz slx-admin-cebc0c48fd86750eb9b45745a2d68c5e5d71d9f8.zip |
[dnbd3/vmstore] Add first version of speedtest/benchmark GUI
Diffstat (limited to 'modules-available/vmstore/templates/benchmark-imgselect.html')
-rw-r--r-- | modules-available/vmstore/templates/benchmark-imgselect.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/modules-available/vmstore/templates/benchmark-imgselect.html b/modules-available/vmstore/templates/benchmark-imgselect.html new file mode 100644 index 00000000..26ac898e --- /dev/null +++ b/modules-available/vmstore/templates/benchmark-imgselect.html @@ -0,0 +1,41 @@ +<h1>{{lang_benchmark}}</h1> + +<h3>{{lang_selectImage}}</h3> + +<form role="form" method="post" action="?do=vmstore"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="show" value="benchmark"> + <input type="hidden" name="id" value="{{id}}"> + + <table class="table"> + <thead> + <tr> + <th>{{lang_image}}</th> + <th class="slx-smallcol">{{lang_users}}</th> + <th class="slx-smallcol">{{lang_size}}</th> + </tr> + </thead> + <tbody> + {{#list}} + <tr> + <td> + <div class="radio radio-inline"> + <input type="radio" id="r-{{id}}" name="image" value="{{name}}"> + <label for="r-{{id}}">{{name}}</label> + </div> + </td> + <td class="text-right">{{users}}</td> + <td class="text-right">{{size}}</td> + </tr> + {{/list}} + </tbody> + </table> + + <div class="buttonbar text-right"> + <button type="submit" name="action" value="start" class="btn btn-primary"> + <span class="glyphicon glyphicon-play"></span> + {{lang_start}} + </button> + </div> + +</form>
\ No newline at end of file |