From 228a42ed6085bd2458fb730caaadc5e065bbf2fa Mon Sep 17 00:00:00 2001 From: Brian Read Date: Sun, 5 May 2024 09:31:10 +0100 Subject: [PATCH] Sort formatting for english lex and add localise to tables columns --- Targets/Nfsshare-Custom.pm.new | 2 +- Targets/Nfsshare.html.ep | 2 +- Targets/Nfsshare.pm | 4 +- Targets/_nfs_PARAMS.html.ep | 6 +-- Targets/_nfs_TABLE.html.ep | 16 ++++---- Targets/nfsshare_en.lex | 45 ++++++++++++---------- Templates/html_controls.html.ep.xml | 16 ++++---- sm2gen.py | 59 +++++++++++++++++++++++++++-- 8 files changed, 103 insertions(+), 47 deletions(-) diff --git a/Targets/Nfsshare-Custom.pm.new b/Targets/Nfsshare-Custom.pm.new index facf67a..11c228c 100644 --- a/Targets/Nfsshare-Custom.pm.new +++ b/Targets/Nfsshare-Custom.pm.new @@ -2,7 +2,7 @@ # Routines to be editted by the developer to provide validation for parameters # and provison of the control data for table(s) # -# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-03 17:51 +# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-05 09:26 # use esmith::util; diff --git a/Targets/Nfsshare.html.ep b/Targets/Nfsshare.html.ep index ff0caad..372925c 100644 --- a/Targets/Nfsshare.html.ep +++ b/Targets/Nfsshare.html.ep @@ -1,6 +1,6 @@ % layout 'default', title => "Sme server 2 - NFS data share", share_dir => './'; %# -%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-03 17:51 +%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-05 09:26 %# % content_for 'module' => begin
diff --git a/Targets/Nfsshare.pm b/Targets/Nfsshare.pm index 94360ba..1d7c209 100644 --- a/Targets/Nfsshare.pm +++ b/Targets/Nfsshare.pm @@ -1,6 +1,6 @@ package SrvMngr::Controller::Nfsshare; # -# Generated by version:SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-03 17:51 +# Generated by version:SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-05 09:26 # #---------------------------------------------------------------------- # heading : Network @@ -203,7 +203,7 @@ sub do_update { sub do_display { # # Return after link clicked in table (this is a get) - route is "/d" -# Expects ?trt=PANEL&selected="TableRowName" plus any other required +# Expects ?trt=PANEL&selected="TableRownfs_Name" plus any other required # #load up all supplied params into prefix_data hash #call get-selected-PANEL() - returns hash of all relevent parameters diff --git a/Targets/_nfs_PARAMS.html.ep b/Targets/_nfs_PARAMS.html.ep index a203351..8cbefa4 100644 --- a/Targets/_nfs_PARAMS.html.ep +++ b/Targets/_nfs_PARAMS.html.ep @@ -1,5 +1,5 @@ %# -%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-03 17:51 +%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-05 09:26 %#