Add empty relevant css classes to css file

This commit is contained in:
2024-09-20 17:31:09 +01:00
parent 6e29aebd82
commit 53d10a96fa
16 changed files with 146 additions and 86 deletions

View File

@@ -1,10 +1,10 @@
#
# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
#
#
# Routines to be edited by the developer to provide validation for parameters
# and provison of the control data for table(s)
#
# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-15 10:49
#
use esmith::util;
use esmith::HostsDB;
use esmith::AccountsDB;

View File

@@ -1,6 +1,6 @@
package SrvMngr::Controller::DiskUsage;
#
# Generated by version:SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-16 11:18
# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
#
#----------------------------------------------------------------------
# heading : Miscellaneous

View File

@@ -1,5 +1,5 @@
%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-16 11:18
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
%#
<div id="DiskUsage-PARAMS" class="partial DiskUsage-PARAMS">
<script>
@@ -21,11 +21,11 @@
<h2><%=l('du_Manage_DiskUsage_settings:')%></h2>
<p>
<p class='paragraph para1'>
%=l('du_Wed_Sep_11_19:01:00_BST')
</p>
<pre>
<pre class='preformatted pref1'>
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/main-root 29G 4.8G 24G 17% /
devtmpfs 2.0G 0 2.0G 0% /dev
@@ -36,15 +36,15 @@ tmpfs 2.0G 648K 2.0G 1% /run
</pre>
<br /><table class="sme-border TableSort sme-table">
<thead>
<br /><table class="sme-border TableSort sme-table tabl1 ">
<thead class='tabl1'>
<tr table-head-row>
<th class='sme-border table-head-col table-head-col-I-bays '><%=l('du_I-bays')%></th>
<th class='sme-border table-head-col table-head-col-Usage '><%=l('du_Usage')%></th>
<th class='sme-border table-head-col table-head-col-Path '><%=l('du_Path')%></th>
</tr>
</thead>
<tbody>
<tbody class='tabl1'>
% my $control_data = $self->stash('Table1');
% foreach my $row (@$control_data) {
<tr class='table-row'>
@@ -57,15 +57,15 @@ tmpfs 2.0G 648K 2.0G 1% /run
</table>
<br /><table class="sme-border TableSort sme-table">
<thead>
<br /><table class="sme-border TableSort sme-table tabl2 ">
<thead class='tabl2'>
<tr table-head-row>
<th class='sme-border table-head-col table-head-col-Users '><%=l('du_Users')%></th>
<th class='sme-border table-head-col table-head-col-Usage '><%=l('du_Usage')%></th>
<th class='sme-border table-head-col table-head-col-Path '><%=l('du_Path')%></th>
</tr>
</thead>
<tbody>
<tbody class='tabl2'>
% my $control_data = $self->stash('Table2');
% foreach my $row (@$control_data) {
<tr class='table-row'>

View File

@@ -0,0 +1,15 @@
/*
Generated by SM2Gen version: SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
*/
.name {}
.rout {}
.head {}
.subh {}
.para1 {}
.pref1 {}
.tabl1 {}
thead .tabl1 {}
tboay .tabl1 {}
.tabl2 {}
thead .tabl2 {}
tboay .tabl2 {}

View File

@@ -1,8 +1,10 @@
%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
%#
% layout 'default', title => "Sme server 2 - Disk Usage", share_dir => './';
%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-16 11:18
%#
%# css specific to this panel:
% content_for 'module' => begin
%= stylesheet '/css/diskusage.css'
<div id="module" class="module DiskUsage-panel">
% if ($config->{debug} == 1) {

View File

@@ -1,11 +1,14 @@
'du_Path' => 'Path',
#
# Generated by SM2Gen version: SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21
#
'du_Hello_PARAMS' => 'Hello PARAMS',
'du_Usage' => 'Usage',
'du_Users' => 'Users',
'du_I-bays' => 'I-bays',
'du_PARAMS_panel_action_was_successful' => 'PARAMS panel action was successful',
'du_Disk_Usage' => 'Disk Usage',
'du_Disk_usage' => 'Disk usage',
'du_PARAMS_panel_action_was_successful' => 'PARAMS panel action was successful',
'du_Manage_DiskUsage_settings:' => 'Manage DiskUsage settings:',
'du_APPLY' => 'Apply',
'du_Wed_Sep_11_19:01:00_BST' => 'Wed Sep 11 19:01:00 BST 2024',
'du_Users' => 'Users',
'du_Manage_DiskUsage_settings:' => 'Manage DiskUsage settings:',
'du_Hello_PARAMS' => 'Hello PARAMS',
'du_Disk_Usage' => 'Disk Usage',
'du_Usage' => 'Usage',
'du_Path' => 'Path',