Skip to content
Snippets Groups Projects
Unverified Commit 00cb18ec authored by Tony Bonnin's avatar Tony Bonnin
Browse files

Dashboard App for ACF

parent fbd2ad50
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
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`
> ⚠️ `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 :
......
......@@ -41,7 +41,7 @@ end
end
-- GET DIST VERSION CHANGES
local check_verchanges = string.match(sys.value.alpineposts.value, "((("..actual_distver..").+%$)-released.html)")
local check_verchanges = string.gsub(string.match(string.match(sys.value.alpineposts.value, "(href=\"Alpine-.+("..actual_distver.."))(.+\")"), "\".+\""), "\"", "")
-- FORMAT UPTIME
local up_time = math.floor(string.match(sys.value.uptime.value, "[%d]+"))
......@@ -145,9 +145,9 @@ end
<span class="data-title">OS : </span>
<%= chkres %>
<span class="check-version">
&nbsp; - &nbsp;<!--<a class="version-link" href="https://www.alpinelinux.org/posts/Alpine-<%= actual_distver %>-released.html" target="_blank">-->
&nbsp; - &nbsp;<a class="version-link version-external-link" href="https://www.alpinelinux.org/posts/<%= check_verchanges %>" target="_blank">
Last Release : <%= actual_distver %>
</span><!--</a>--><br>
</span></a><br>
<span class="data-title">ACF Version : </span><%= sys.value.luaver.value %>
<% if sys.value.ACFlightServer.value ~= "" then %>
<span class="data-title"> | Serve by : </span><%= sys.value.ACFlightServer.value %>
......
......@@ -354,6 +354,17 @@
color: #b9b9b9;
}
.version-external-link::after {
font-family: "Font Awesome 6 Free";
font-weight: bold;
content: '\F35D' !important;
display: inline-block;
position: relative;
margin: 0 0.25rem 0 0.15rem;
color: inherit;
font-size: 0.45rem;
}
.welcome .data-system-up-time::before {
font-family: "Font Awesome 6 Free";
font-weight: bold;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment