Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 9d229e9

Browse files
committed
1.10.1-alpha
1 parent 26137b3 commit 9d229e9

File tree

1 file changed

+51
-4
lines changed

1 file changed

+51
-4
lines changed

views/index.ejs

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,51 @@
1-
<div>
2-
User Code Analysis: <strong>/user/:user/</strong> (e.g. <a href="https://stats.deeptrain.net/user/zmh-program/">/user/zmh-program/</a>) <br>
3-
Repo Code Statistic: <strong>/repo/:user/:repo/</strong> (e.g. <a href="https://stats.deeptrain.net/repo/zmh-program/admin-pages/">/repo/zmh-program/admin-pages/</a>)
4-
</div>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Code Statistic</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css">
7+
<style>
8+
html, body {
9+
display: grid;
10+
padding: 0;
11+
margin: 0;
12+
place-items: center;
13+
width: 100%;
14+
height: 100%;
15+
}
16+
.card {
17+
place-items: center;
18+
}
19+
</style>
20+
<script src="//unpkg.com/vue@3"></script>
21+
<script src="//unpkg.com/element-plus"></script>
22+
<script>
23+
const username = Vue.ref("1");
24+
const type = Vue.ref("1");
25+
</script>
26+
</head>
27+
<body>
28+
<div id="app">
29+
<el-card class="card">
30+
<el-form label-width="auto">
31+
<el-form-item label="Activity name">
32+
<el-input v-model="username"></el-input>
33+
</el-form-item>
34+
<el-form-item label="Resources">
35+
<el-radio-group v-model="type">
36+
<el-radio border label="User"></el-radio>
37+
<el-radio border label="Repo"></el-radio>
38+
</el-radio-group>
39+
</el-form-item>
40+
<el-form-item>
41+
<el-button type="primary" @click="onSubmit">Create</el-button>
42+
<el-button>Cancel</el-button>
43+
</el-form-item>
44+
</el-form>
45+
<strong>/user/:user/</strong> (e.g. <a href="https://stats.deeptrain.net/user/zmh-program/">/user/zmh-program/</a>) <br>
46+
<strong>/repo/:user/:repo/</strong> (e.g. <a href="https://stats.deeptrain.net/repo/zmh-program/admin-pages/">/repo/zmh-program/admin-pages/</a>)
47+
</el-card>
48+
</div>
49+
<script> Vue.createApp().use(ElementPlus).mount('#app') </script>
50+
</body>
51+
</html>

0 commit comments

Comments
 (0)