Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
trinity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tony Bonnin
trinity
Commits
143549cf
Unverified
Commit
143549cf
authored
1 year ago
by
Tony Bonnin
Browse files
Options
Downloads
Patches
Plain Diff
Dashboard App for ACF
parent
59089703
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/template-html.lsp
+2
-8
2 additions, 8 deletions
app/template-html.lsp
with
2 additions
and
8 deletions
app/template-html.lsp
+
2
−
8
View file @
143549cf
...
...
@@ -25,7 +25,7 @@ end
<!DOCTYPE html>
<!--
==============================================================
🛡️
Alpine Linux Admin Dashboard | v1.0.0 - ACF
🛡️
🟦
Alpine Linux Admin Dashboard | v
1.0.0 - ACF
==============================================================
* Product Page: ACF Dashboard Skin (https://gitlab.alpinelinux.org/trinity-labs/dashboard-skin)
* Created by: T. Bonnin for Alpine Configuration Framework (ACF) based on N. Angelacos previous work
...
...
@@ -56,8 +56,6 @@ end
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"#16597a"
>
<
%
if
pageinfo.skinned
~=
"
false
"
then
%
>
<!-- FORMAT PAGE TITLE - 20230327 -->
<!-- REMOVE HOSTNAME FOR GUSET - 20230408 -->
<
%
if
session.userinfo
and
session.userinfo.userid
and
viewlibrary
and
viewlibrary.dispatch_component
then
%
>
<title><
%=
html.html_escape
(
string.upper
(
hostname
)
..
"
-
"
..
string.gsub
(
pageinfo.controller
,
"^%
l
",
string.upper
)
..
"
∣
"
..
string.gsub
(
pageinfo.action
,
"^%
l
",
string.upper
))
%
></title>
<
%
else
%
>
...
...
@@ -112,7 +110,6 @@ end
</script>
</head>
<
%
end
--
pageinfo.skinned
%
>
<!-- ADD BODY CLASS - 20230207 -->
<
%
local
class
local
tabs
...
...
@@ -122,7 +119,6 @@ end
if not tabs and group.controllers[pageinfo.prefix .. pageinfo.controller] then
tabs = group.tabs
%>
<!--ADD ID CAT PAGE NAME - 20230304 -->
<body
id=
"<%= html.html_escape(cat.name) %>"
class=
"<%= pageinfo.controller.."
"..
pageinfo.controller..
"
-
"..
pageinfo.action
%
>
">
<
%
end
...
...
@@ -143,7 +139,7 @@ end
if
session.userinfo
and
session.userinfo.userid
then
print
("<
a
href=
'javascript:void(0);'
class=
'icon'
id=
'toogle-link'
title=
'Menu'
onclick=
'toogleMenu()'
><div
id=
'toogle'
><i
class=
'fa-solid fa-bars'
></i></div></a>
")
print("
<div
id=
'header-links'
><a
id=
'logoff'
class=
'icon-header'
title=
'Logoff'
href=
\""..html.html_escape(ctlr).."logoff\"
><i
class=
'fa-solid fa-user-lock fa-2x logoff-icon'
></i></a>
")
print("
<a
id=
'home-link'
class=
'icon-header'
title=
'Home'
href=
"..html.html_escape(pageinfo.wwwprefix)..
"
/
".."
><i
class=
'fa-solid fa-house fa-2x home-icon'
></i></a>
")
print("
<a
id=
'home-link'
class=
'icon-header'
title=
'Home'
href=
"..
html.html_escape(pageinfo.wwwprefix)
..
"
/
cgi-bin
/
acf
/
acf-util
/
welcome
/
read
".."
><i
class=
'fa-solid fa-house fa-2x home-icon'
></i></a>
")
else
print("
<div
id=
'header-links'
><a
id=
'logon'
class=
'icon-header'
title=
'Logon'
href=
\""..html.html_escape(ctlr).."logon\"
><i
class=
'fa-solid fa-lock fa-2x logon-icon'
></i></a>
" )
end
...
...
@@ -185,8 +181,6 @@ end
end
%>
</div>
<!-- nav -->
<!-- ADD PAGE TITLE AND CATEGORY - 20230702 -->
<div
id=
"page-<%= pageinfo.action %>"
class=
"page page-<%= pageinfo.controller %>"
>
<div
id=
"main"
>
<div
id=
"subnav"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment