Spaces:
Sleeping
Sleeping
ThorkildFregi
commited on
Commit
•
5dddc30
1
Parent(s):
641f4a6
Update templates/home.html
Browse files- templates/home.html +61 -61
templates/home.html
CHANGED
@@ -1,62 +1,62 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8">
|
5 |
-
<title>Home</title>
|
6 |
-
|
7 |
-
<link href="https://seeklogo.com/images/V/valorant-logo-3D72D9117F-seeklogo.com.png" rel="icon"/>
|
8 |
-
|
9 |
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/css/uikit.min.css" />
|
10 |
-
|
11 |
-
<script src="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/js/uikit.min.js"></script>
|
12 |
-
<script src="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/js/uikit-icons.min.js"></script>
|
13 |
-
</head>
|
14 |
-
<body>
|
15 |
-
<div class="uk-container uk-align-center uk-flex uk-flex-center uk-flex-middle" uk-height-viewport="expand: true">
|
16 |
-
<div>
|
17 |
-
<h1 class="uk-text-center">VCT Map Predictor</h1>
|
18 |
-
<form action="{{url_for('prediction')}}" method="POST">
|
19 |
-
<label>Tournament</label>
|
20 |
-
<select id="tournament" name="tournament" class="uk-select uk-margin-bottom" aria-label="Select">
|
21 |
-
<option value="">Please select tournament...</option>
|
22 |
-
{% for tournament in tournaments %}
|
23 |
-
<option>{{tournament}}</option>
|
24 |
-
{% endfor %}
|
25 |
-
</select>
|
26 |
-
<br>
|
27 |
-
<label>Map</label>
|
28 |
-
<select id="map" name="map" class="uk-select uk-margin-bottom" aria-label="Select">
|
29 |
-
<option value="">Please select map...</option>
|
30 |
-
{% for map in maps %}
|
31 |
-
<option>{{map}}</option>
|
32 |
-
{% endfor %}
|
33 |
-
</select>
|
34 |
-
<br>
|
35 |
-
<label>Team A</label>
|
36 |
-
<select id="team_a" name="team_a" class="uk-select uk-margin-bottom" aria-label="Select">
|
37 |
-
<option value="">Please select team A...</option>
|
38 |
-
{% for team_a in team_A %}
|
39 |
-
<option>{{team_a}}</option>
|
40 |
-
{% endfor %}
|
41 |
-
</select>
|
42 |
-
<br>
|
43 |
-
<label>Team B</label>
|
44 |
-
<select id="team_b" name="team_b" class="uk-select uk-margin-bottom" aria-label="Select">
|
45 |
-
<option value="">Please select team B...</option>
|
46 |
-
{% for team_b in team_B %}
|
47 |
-
<option>{{team_b}}</option>
|
48 |
-
{% endfor %}
|
49 |
-
</select>
|
50 |
-
<label>Team A agents</label>
|
51 |
-
<input class="uk-input" type="text" id="ta_agents" name="ta_agents" placeholder="Agents1 Agents2 Agents3 Agents4 Agents5" aria-label="Input">
|
52 |
-
<label>Team B agents</label>
|
53 |
-
<input class="uk-input" type="text" id="tb_agents" name="tb_agents" placeholder="Agents1 Agents2 Agents3 Agents4 Agents5" aria-label="Input">
|
54 |
-
<button class="uk-button uk-button-default uk-margin-top uk-align-center" type="submit">Predict map</button>
|
55 |
-
</form>
|
56 |
-
<div class="uk-flex uk-flex-center">
|
57 |
-
<a class="uk-margin-right" href="{{url_for('loading_train_model')}}">Train model</a> | <a class="uk-margin-left" href="{{url_for('loading_update_data')}}">Update data</a>
|
58 |
-
</div>
|
59 |
-
</div>
|
60 |
-
</div>
|
61 |
-
</body>
|
62 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Home</title>
|
6 |
+
|
7 |
+
<link href="https://seeklogo.com/images/V/valorant-logo-3D72D9117F-seeklogo.com.png" rel="icon"/>
|
8 |
+
|
9 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/css/uikit.min.css" />
|
10 |
+
|
11 |
+
<script src="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/js/uikit.min.js"></script>
|
12 |
+
<script src="https://cdn.jsdelivr.net/npm/uikit@3.20.8/dist/js/uikit-icons.min.js"></script>
|
13 |
+
</head>
|
14 |
+
<body>
|
15 |
+
<div class="uk-container uk-align-center uk-flex uk-flex-center uk-flex-middle" uk-height-viewport="expand: true">
|
16 |
+
<div>
|
17 |
+
<h1 class="uk-text-center">VCT Map Predictor</h1>
|
18 |
+
<form action="{{url_for('prediction')}}" method="POST">
|
19 |
+
<label>Tournament</label>
|
20 |
+
<select id="tournament" name="tournament" class="uk-select uk-margin-bottom" aria-label="Select">
|
21 |
+
<option value="">Please select tournament...</option>
|
22 |
+
{% for tournament in tournaments %}
|
23 |
+
<option>{{tournament}}</option>
|
24 |
+
{% endfor %}
|
25 |
+
</select>
|
26 |
+
<br>
|
27 |
+
<label>Map</label>
|
28 |
+
<select id="map" name="map" class="uk-select uk-margin-bottom" aria-label="Select">
|
29 |
+
<option value="">Please select map...</option>
|
30 |
+
{% for map in maps %}
|
31 |
+
<option>{{map}}</option>
|
32 |
+
{% endfor %}
|
33 |
+
</select>
|
34 |
+
<br>
|
35 |
+
<label>Team A</label>
|
36 |
+
<select id="team_a" name="team_a" class="uk-select uk-margin-bottom" aria-label="Select">
|
37 |
+
<option value="">Please select team A...</option>
|
38 |
+
{% for team_a in team_A %}
|
39 |
+
<option>{{team_a}}</option>
|
40 |
+
{% endfor %}
|
41 |
+
</select>
|
42 |
+
<br>
|
43 |
+
<label>Team B</label>
|
44 |
+
<select id="team_b" name="team_b" class="uk-select uk-margin-bottom" aria-label="Select">
|
45 |
+
<option value="">Please select team B...</option>
|
46 |
+
{% for team_b in team_B %}
|
47 |
+
<option>{{team_b}}</option>
|
48 |
+
{% endfor %}
|
49 |
+
</select>
|
50 |
+
<label>Team A agents</label>
|
51 |
+
<input class="uk-input" type="text" id="ta_agents" name="ta_agents" placeholder="Agents1 Agents2 Agents3 Agents4 Agents5" aria-label="Input">
|
52 |
+
<label>Team B agents</label>
|
53 |
+
<input class="uk-input" type="text" id="tb_agents" name="tb_agents" placeholder="Agents1 Agents2 Agents3 Agents4 Agents5" aria-label="Input">
|
54 |
+
<button class="uk-button uk-button-default uk-margin-top uk-align-center" type="submit">Predict map</button>
|
55 |
+
</form>
|
56 |
+
<div class="uk-flex uk-flex-center">
|
57 |
+
<a class="uk-margin-right" href="{{url_for('loading_train_model')}}">Train model</a> | <a class="uk-margin-left" href="{{url_for('loading_update_data')}}">Update data</a> | <a class="uk-margin-left" href="{{url_for('download_model')}}">Download model</a>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</body>
|
62 |
</html>
|