diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-04-20 10:56:25 +0000 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-20 18:44:40 +0200 |
commit | f303240c554fde68ded5aff4a13f96d07508eb7d (patch) | |
tree | 79fedf5551f5ad7ca6be386cd5c0c0cfd3faec35 /ogcp/templates/scopes.html | |
parent | 5e46157060463c86c42053ec20f789ed579eefce (diff) |
Create "Add Room" form and view
Creates "add room" form with required inputs only: center, name and
netmask.
Adds a new button inside the button group in the scopes view. Because
scopes checkboxes values maps to ips the only way to specify the center
in which to add the room is in the add room form itself, using a select
input.
In the future, the RoomForm can be used to display room information once
such functionality lands in the ogserver.
Diffstat (limited to 'ogcp/templates/scopes.html')
-rw-r--r-- | ogcp/templates/scopes.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 0adeca4..df2b535 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -59,6 +59,8 @@ formaction="{{ url_for('action_image_create') }}" formmethod="get"> <input class="dropdown-item" type="submit" value="{{ _('Set boot mode') }}" formaction="{{ url_for('action_mode') }}" formmethod="get"> + <input class="dropdown-item" type="submit" value="{{ _('Add room') }}" + formaction="{{ url_for('action_room_add') }}" formmethod="get"> </div> </div> </form> |