diff options
Diffstat (limited to 'cron-listjobs-html.lsp')
-rw-r--r-- | cron-listjobs-html.lsp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cron-listjobs-html.lsp b/cron-listjobs-html.lsp index 6dd3b14..b9759d3 100644 --- a/cron-listjobs-html.lsp +++ b/cron-listjobs-html.lsp @@ -48,9 +48,12 @@ local function createmoveform(name) end %> -<h1>Cron Jobs</h1> +<% +local header_level = htmlviewfunctions.displayheader(view, page_info) +header_level = htmlviewfunctions.incrementheader(header_level) +%> <% for i,tabl in ipairs(view.value) do %> -<h2><%= html.html_escape(tabl.period) %></h2> +<% htmlviewfunctions.displayheader(cfe({label=tabl.period}), page_info, header_level) %> <% if #tabl.jobs == 0 then %> <p>No jobs</p> <% else %> |