summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-bios-update.html
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-19 13:52:44 +0100
committerSimon Rettberg2019-03-19 13:52:44 +0100
commitcbb3d0f368347993b61fde2a49eecd66c2e56813 (patch)
tree42dd2b9e195ca588f25e79caa1b9639ad83bbb6d /modules-available/statistics/templates/machine-bios-update.html
parent[roomplanner] Implement (auto)rotating SVG, make SVG pretty (diff)
downloadslx-admin-cbb3d0f368347993b61fde2a49eecd66c2e56813.tar.gz
slx-admin-cbb3d0f368347993b61fde2a49eecd66c2e56813.tar.xz
slx-admin-cbb3d0f368347993b61fde2a49eecd66c2e56813.zip
[statistics] Feature: BIOS update info
Fetch list of known BIOS updates that fix issues wrt. bwLehrpool/OpenSLX/whatever it's called today.
Diffstat (limited to 'modules-available/statistics/templates/machine-bios-update.html')
-rw-r--r--modules-available/statistics/templates/machine-bios-update.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/machine-bios-update.html b/modules-available/statistics/templates/machine-bios-update.html
new file mode 100644
index 00000000..2e8a8908
--- /dev/null
+++ b/modules-available/statistics/templates/machine-bios-update.html
@@ -0,0 +1,26 @@
+<div><span class="btn btn-{{class}} btn-sm" data-toggle="modal" data-target="#bios-modal">
+ {{lang_biosUpdate}} &raquo;
+</span></div>
+
+<div class="modal fade" id="bios-modal" tabindex="-1" role="dialog" aria-labelledby="bios-modal-label" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span
+ class="sr-only">Close</span></button>
+ <h4 class="modal-title" id="bios-modal-label">{{lang_biosFixes}}</h4>
+ </div>
+ <div class="modal-body">
+ {{#fixes}}
+ <p><b>{{date}}{{revision}}</b>: {{text}}</p>
+ {{/fixes}}
+ <p>
+ <a href="{{url}}" target="_blank">{{lang_biosUpdateLink}}</a>
+ </p>
+ </div>
+ <div class="modal-footer text-right">
+ <button type="button" class="btn btn-default" data-dismiss="modal">{{lang_close}}</button>
+ </div>
+ </div>
+ </div>
+</div> \ No newline at end of file