From 20f88065bb79d4c19611873c7b22d57387a32727 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 17 Feb 2021 10:06:10 +0000 Subject: Add boot mode to actions This action is related to /mode in ogServer API. Allows changing the netboot template for a set of given clients, previously selected in the /scopes view. --- ogcp/templates/actions/mode.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ogcp/templates/actions/mode.html (limited to 'ogcp/templates/actions') diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html new file mode 100644 index 0000000..d93e8a7 --- /dev/null +++ b/ogcp/templates/actions/mode.html @@ -0,0 +1,13 @@ +{% extends 'base.html' %} +{% import "bootstrap/wtf.html" as wtf %} + +{% block content %} + +{{ wtf.quick_form(form, + action=url_for('action_mode'), + method='post', + button_map={'ok': 'primary'}, + extra_classes="m-5") }} + +{% endblock %} + -- cgit v1.2.3-18-g5258