-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
180 lines (173 loc) · 8.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 设置文档字符编码 -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- 引入样式表 -->
<link rel="stylesheet" type="text/css" href="./css/mirrorList.css" />
<link rel="stylesheet" type="text/css" href="./css/base.css" />
<link rel="stylesheet" type="text/css" href="./css/download.css" />
<!-- 引入JavaScript库和脚本文件 -->
<script type="text/javascript" src="./js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="./js/download.js"></script>
<script type="text/javascript" src="./js/mirrorList.js"></script>
<!-- 设置网站图标 -->
<link rel="icon" href="./images/iscas_logo.png" />
<title>欢迎访问 ISCAS 开源镜像站</title>
</head>
<body>
<!-- 主容器 -->
<div class="container">
<!-- 页面头部 -->
<header class="header">
<div class="header-content">
<!-- Logo区域 -->
<div class="logo-section">
<h1>欢迎来到</h1>
<div id="logo">
<img src="./images/iscaslogo.png" alt="ISCAS_logo" />
</div>
<h1>开源镜像站</h1>
</div>
<!-- 导航标签栏 -->
<div class="nav-tabs">
<!-- 镜像列表标签 -->
<button class="tab-btn" data-tab="iso">镜像列表</button>
<!-- 下拉菜单 -->
<div class="dropdown">
<button class="tab-btn dropdown-toggle" data-tab="mirror-download">
获取安装镜像
<span class="arrow"></span>
</button>
<!-- 下拉菜单内容 -->
<div class="dropdown-menu">
<div class="dropdown-content">
<div class="dropdown-item" data-type="os">操作系统</div>
<div class="dropdown-item" data-type="apps">应用软件</div>
<div class="dropdown-item" data-type="fonts">字体</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- 主要内容区域 -->
<div class="main-wrapper">
<!-- 镜像源列表 -->
<main class="mirror-list">
<!-- 状态筛选弹窗 -->
<div class="filter-popup" style="display: none;">
<div class="filter-popup-content">
<!-- 筛选选项 -->
<div class="filter-options">
<!-- 同步状态复选框 -->
<label class="filter-option">
<input type="checkbox" value="success" checked>
<span class="checkbox-custom"></span>
同步成功
</label>
<label class="filter-option">
<input type="checkbox" value="syncing" checked>
<span class="checkbox-custom"></span>
同步中
</label>
<label class="filter-option">
<input type="checkbox" value="failed" checked>
<span class="checkbox-custom"></span>
同步失败
</label>
</div>
<!-- 筛选操作按钮 -->
<div class="filter-actions">
<button class="filter-confirm">确定</button>
</div>
</div>
</div>
<!-- 镜像列表表格 -->
<table id="distro-table" cellpadding="0" cellspacing="0">
<!-- 设置列宽 -->
<colgroup>
<col width="15%" />
<col width="15%" />
<col width="15%" />
<col width="15%" />
<col width="15%" />
</colgroup>
<!-- 表头 -->
<thead>
<tr>
<th><span>镜像名</span></th>
<!-- 更新时间列(可排序) -->
<th>
<div class="sort-header">
<span>上次更新时间</span>
<div class="sort-icon" data-sort="update-time">
<svg viewBox="0 0 24 24" width="14" height="14">
<path d="M7 14l5-5 5 5z"/>
</svg>
</div>
</div>
</th>
<!-- 状态列(可筛选) -->
<th>
<div class="status-header">
<span>状态</span>
<div class="filter-icon">
<svg viewBox="0 0 24 24" width="16" height="16">
<path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
</svg>
</div>
</div>
</th>
<th><span>镜像大小</span></th>
<th>使用帮助</th>
</tr>
</thead>
<!-- 表格内容区域(由JavaScript动态填充,见mirrorList.js) -->
<tbody>
</tbody>
</table>
</main>
<!-- 获取镜像下载功能(默认隐藏) -->
<main class="os-container" style="display: none;">
<!-- 左侧边栏 -->
<div class="os-sidebar">
<!-- 默认显示操作系统列表 -->
<div class="sidebar-header">操作系统列表</div>
<!-- 菜单列表(由JavaScript动态填充) -->
<ul class="os-menu">
</ul>
</div>
<!-- 右侧内容区 -->
<div class="os-content">
<div class="os-header">
<h2 class="os-title">下载文件</h2>
</div>
<!-- 下载列表区域(由JavaScript动态填充) -->
<div class="os-list">
</div>
</div>
</main>
</div>
<!-- 页脚区域 -->
<footer id="footer">
<!-- 机构链接 -->
<p>
<a target="_blank" href="https://isrc.iscas.ac.cn/">Intelligent Software Research Center,</a>
<a target="_blank" href="https://is.cas.cn/">Institute of Software,</a>
<a target="_blank" href="https://www.cas.cn/">Chinese Academy of Sciences</a>
</p>
<!-- 反馈链接 -->
<p>
<a target="_blank" href="https://github.com/isrc-cas/mirror-requests/issues/new/choose">Mirrors-Feedbacks</a>
<a target="_blank" href="mailto://[email protected]">Email us</a>
</p>
<!-- 备案信息 -->
<p>
<a target="_blank" href="https://beian.miit.gov.cn/"></a>京ICP备05046678号-1</a>
</p>
</footer>
</div>
</body>
</html>