feat: 增加subdownload页面对移动端的支持

This commit is contained in:
lyz05
2022-11-22 17:49:09 +08:00
parent d23382aed4
commit 6938f5a7d3
2 changed files with 968 additions and 9609 deletions

10454
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>代理软件下载链接</title>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css"
@@ -9,65 +10,73 @@
</head>
<body>
<div class="container">
<h1>代理软件下载加速链接:</h1>
<p>
以下是各个代理软件(含浏览器扩展)的Github最新版本:</p>
<ul>
<% for (item of datas) { %>
<li>
<a href="#<%= item.repo %>"><%= item.repo %></a>
</li>
<% } %>
</ul>
<% for (item of datas) { %>
<h2 id="<%= item.repo %>"><%= item.repo %>
<small><%= item.tag_name %></small>
</h2>
<div class="row">
<h1>代理软件下载加速链接:</h1>
<p>
<table class="table table-striped">
<thead>
<tr>
<th>文件名</th>
<th>文件大小</th>
<th>下载次数</th>
<th>修改时间</th>
<th>链接</th>
</tr>
</thead>
<tbody>
<% for(asset of item.assets){ %>
<tr>
<td>
<a href="<%= asset.fastgit_url %>">
<span><%= asset.name %></span>
</a>
</td>
<td>
<%= asset.size %>
</td>
<td>
<%= asset.download_count %>
</td>
<td>
<%= asset.updated_at %>
</td>
<td>
<div class="btn-group btn-group-sm">
<a class="btn btn-default" href="<%= asset.browser_download_url %>">
<span>原始链接</span>
</a>
<a class="btn btn-default" href="<%= asset.fastgit_url %>">
<span>fastgit</span>
</a>
<a class="btn btn-default" href="<%= asset.ghproxy_url %>">
<span>ghproxy</span>
</a>
</div>
</td>
</tr>
以下是各个代理软件(含浏览器扩展)的Github最新版本:
</p>
<ul>
<% for (item of datas) { %>
<li>
<a href="#<%= item.repo; %>"><%= item.repo; %></a>
</li>
<% } %>
</tbody>
</table>
</ul>
</div>
<% for (item of datas) { %>
<div class="row">
<div class="page-header">
<h2 id="<%= item.repo %>"><%= item.repo %>
<small><%= item.tag_name %></small>
</h2>
</div>
<div class="panel">
<table class="table table-striped table-hover">
<thead>
<tr>
<th>文件名</th>
<th>文件大小</th>
<th>下载次数</th>
<th>修改时间</th>
<th>链接</th>
</tr>
</thead>
<tbody>
<% for(asset of item.assets){ %>
<tr>
<td>
<a href="<%= asset.fastgit_url %>">
<span><%= asset.name %></span>
</a>
</td>
<td>
<%= asset.size %>
</td>
<td>
<%= asset.download_count %>
</td>
<td>
<%= asset.updated_at %>
</td>
<td>
<div class="btn-group btn-group-sm">
<a class="btn btn-default" href="<%= asset.browser_download_url %>">
<span>原始链接</span>
</a>
<a class="btn btn-default" href="<%= asset.fastgit_url %>">
<span>fastgit</span>
</a>
<a class="btn btn-default" href="<%= asset.ghproxy_url %>">
<span>ghproxy</span>
</a>
</div>
</td>
</tr>
<% } %>
</tbody>
</table>
</div>
</div>
<% } %>
</div>
</body>