改为本地资源

This commit is contained in:
Longfeng Qin 2024-12-24 22:31:42 +08:00
parent e13cd054d1
commit 337fab581e
6 changed files with 71 additions and 48 deletions

7
web/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
web/images/ic_launcher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

7
web/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

4
web/js/jquery-3.2.1.slim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

5
web/js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>RetroArch 大厅</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="icon" href="https://www.libretro.com/wp-content/uploads/2016/01/ic_launcher.png" sizes="32x32"/>
<link rel="icon" href="https://www.libretro.com/wp-content/uploads/2016/01/ic_launcher.png" sizes="192x192"/>
<link rel="apple-touch-icon-precomposed" href="https://www.libretro.com/wp-content/uploads/2016/01/ic_launcher.png"/>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="icon" href="images/ic_launcher.png" sizes="32x32"/>
<link rel="icon" href="images/ic_launcher.png" sizes="192x192"/>
<link rel="apple-touch-icon-precomposed" href="images/ic_launcher.png"/>
</head>
<body>
<div class="container">
@ -30,7 +30,7 @@
</tr></thead><tbody>
{{ range $key, $session := . }}
<tr>
{{ if $session.Country }}<td><img height="25" title="{{ $session.Country }}" alt="{{ $session.Country }}" src="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.4.3/flags/1x1/{{ $session.Country }}.svg"></td>{{ else }}<td></td>{{ end }}
{{ if $session.Country }}<td><img height="25" title="{{ $session.Country }}" alt="{{ $session.Country }}" src="flags/{{ $session.Country }}.svg"></td>{{ else }}<td></td>{{ end }}
<th>{{ $session.Username }}</th>
<td>{{ $session.GameName }}</td>
<td>{{ $session.CoreName }} {{ $session.CoreVersion }}</td>
@ -52,8 +52,8 @@
本产品包含由 <a href="https://www.maxmind.com">MaxMind</a> 创建的 GeoLite2 数据。
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>