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
fbd2ad50
Unverified
Commit
fbd2ad50
authored
1 year ago
by
Tony Bonnin
Browse files
Options
Downloads
Patches
Plain Diff
Dashboard App for ACF
parent
c275c2de
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
app/acf-util/welcome-html.lsp
+4
-4
4 additions, 4 deletions
app/acf-util/welcome-html.lsp
with
6 additions
and
4 deletions
README.md
+
2
−
0
View file @
fbd2ad50
...
...
@@ -23,6 +23,8 @@
Light-weight App (Less than 2 MB) installed
> ⚠️ `Serve by` field check version of both `lighttpd` and `mini_httpd`. If lighttpd is install on system, command return `lighttpd` as prefered ACF server. However, it's the best choice to switch to `lighttpd` for `ACF`
Install essential packages :
```
bash
...
...
This diff is collapsed.
Click to expand it.
app/acf-util/welcome-html.lsp
+
4
−
4
View file @
fbd2ad50
...
...
@@ -32,12 +32,12 @@ end
local minor_distver = string.gsub(string.match(actual_distver, "%p%d+"), "%D", "") -- Parse Minor for Update
local patch_distver = string.gsub(string.match(actual_distver, ".[^.]*$"), "%D", "") -- Parse Patch for Fix
if major_sysver == major_distver and minor_sysver == minor_distver and patch_sysver == patch_distver then
chkres = "<a class='version-link version-ok' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-ok'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | up to date"
chkres = "<a class='version-link version-ok' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-ok'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | up to date
"
else
chkres = "<a class='version-link version-update' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-update'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | update needed"
chkres = "<a class='version-link version-update' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-update'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | update needed
"
end
if major_sysver ~= major_distver then
chkres = "<a class='version-link version-upgrade' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-upgrade'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | upgrade required"
chkres = "<a class='version-link version-upgrade' href='https://www.alpinelinux.org/releases/' target='_blank'><span class='version-check-upgrade'>Alpine Linux <span class='version-letter'>" .. check_sysver .. "</span></span></a> | upgrade required
"
end
-- GET DIST VERSION CHANGES
...
...
@@ -145,7 +145,7 @@ end
<span class="data-title">OS : </span>
<%= chkres %>
<span class="check-version">
- <!--<a class="version-link" href="https://www.alpinelinux.org/posts/Alpine-<%= actual_distver %>-released.html" target="_blank">-->
- <!--<a class="version-link" href="https://www.alpinelinux.org/posts/Alpine-<%= actual_distver %>-released.html" target="_blank">-->
Last Release : <%= actual_distver %>
</span><!--</a>--><br>
<span class="data-title">ACF Version : </span><%= sys.value.luaver.value %>
...
...
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