mirror of
https://github.com/yhl452493373/frps-panel.git
synced 2026-04-04 06:16:59 +08:00
add version info and GitHub link on index
This commit is contained in:
@@ -108,6 +108,11 @@ section.proxy-list .proxy-info .layui-row .layui-row > div:first-child {
|
||||
border-color: #fde2e2;
|
||||
}
|
||||
|
||||
.version a,
|
||||
.version span {
|
||||
color: #99a9bf;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.layui-bg-blue {
|
||||
background-color: #395c74 !important;
|
||||
|
||||
@@ -38,6 +38,7 @@ var loadServerInfo = (function ($) {
|
||||
function renderServerInfo(data) {
|
||||
var html = layui.laytpl($('#serverInfoTemplate').html()).render(data);
|
||||
$('#content').html(html);
|
||||
$('#frpVersion').text(data.version);
|
||||
|
||||
renderTrafficChart(data);
|
||||
renderCountChart(data);
|
||||
|
||||
Reference in New Issue
Block a user