From e6685a50f217bf7b4d322ad2a0f310e4c636e90f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 30 Oct 2008 15:00:01 +0000 Subject: Added rc / Startup menu. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1568 ab2d0c66-481e-0410-8bed-d214d4d58bed --- rc-status-html.lsp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'rc-status-html.lsp') diff --git a/rc-status-html.lsp b/rc-status-html.lsp index 1ea448a..3272af0 100644 --- a/rc-status-html.lsp +++ b/rc-status-html.lsp @@ -13,11 +13,12 @@ end %>

<%= view.label %>

- - -<% if session.permissions[page_info.controller].edit then %> + +<% if session.permissions.rc.edit then %> <% end %> + + <% for i,item in ipairs(view.value) do %> @@ -28,9 +29,9 @@ for i,item in ipairs(view.value) do %> if result.value.kill.value then result.value.kill.checked = "" end if result.value.system.value then result.value.system.checked = "" end %> " method="POST"> + - <% else %> -- cgit v1.2.3
Service NameSequenceKill on shutdownSystem init service
UpdateService NameSequenceKill on shutdownSystem init service
<%= item.servicename %><%= html.form.hidden(result.value.servicename) %><%= html.form.text(result.value.sequence) %> <%= html.form.checkbox(result.value.kill) %><%= html.form.checkbox(result.value.system) %>
<%= item.servicename %><%= item.sequence %>