From 3f27dd3ef140248fb790a7c616335525a87e31fd Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Fri, 24 Nov 2023 10:49:01 +0100 Subject: views: allow to edit a client Add a form to allow the user to update a client. ip field is in read only mode because this is the primary key to identify a client in db. Fields corresponding to boot mode (ie. oglivedir and boot) are also in read only for now; ogServer has to fix set boot mode functionality before it can be added here. --- ogcp/templates/scopes.html | 2 ++ ogcp/views.py | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) (limited to 'ogcp') diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index d07e7d3..9b93971 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -23,6 +23,8 @@