vansin commited on
Commit
fba6383
1 Parent(s): 5c4d90e

feat: update index

Browse files
Files changed (1) hide show
  1. templates/index.html +25 -3
templates/index.html CHANGED
@@ -2,12 +2,34 @@
2
  <html>
3
 
4
  <head>
5
- <title>leaderboard-llm</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  </head>
7
 
8
  <body>
9
- <iframe src="https://opencompass.org.cn/leaderboard-llm"
10
- style="border: none; width: 100%; height: 100vh;"></iframe>
 
 
11
  </body>
12
 
13
  </html>
 
2
  <html>
3
 
4
  <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width" />
7
+ <title>My static Space</title>
8
+ <style>
9
+ body {
10
+ margin: 0;
11
+ }
12
+
13
+ .space {
14
+ max-width: 100%;
15
+ max-height: 100%;
16
+ width: 100vw;
17
+ height: 100vh;
18
+ overflow: hidden;
19
+ }
20
+
21
+ .iframe {
22
+ min-width: 100%;
23
+ min-height: 100%;
24
+ }
25
+ </style>
26
  </head>
27
 
28
  <body>
29
+ <div class="space">
30
+ <iframe class="iframe" allowfullscreen="true" frameborder="0" src="https://opencompass.org.cn/leaderboard-llm">
31
+ </iframe>
32
+ </div>
33
  </body>
34
 
35
  </html>