Joffrey Thomas commited on
Commit
5c50925
·
1 Parent(s): 53bc304
geoguessr/templates/admin.html CHANGED
@@ -2,7 +2,7 @@
2
  <html>
3
  <head>
4
  <title>Admin Panel - LLM GeoGuessr</title>
5
- <link rel="stylesheet" href="{{ url_for('static', path='style.css') }}">
6
  <style>
7
  h1 {
8
  color: var(--dark-color);
@@ -74,8 +74,8 @@
74
  <p id="status-message"></p>
75
  </div>
76
  <div id="map"></div>
77
- <script src="{{ url_for('static', path='admin.js') }}"></script>
78
- <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ google_maps_api_key }}&libraries=drawing&callback=initAdminMap"></script>
79
  </body>
80
  </html>
81
 
 
2
  <html>
3
  <head>
4
  <title>Admin Panel - LLM GeoGuessr</title>
5
+ <link rel="stylesheet" href="{{ base_path }}/static/style.css">
6
  <style>
7
  h1 {
8
  color: var(--dark-color);
 
74
  <p id="status-message"></p>
75
  </div>
76
  <div id="map"></div>
77
+ <script src="{{ base_path }}/static/admin.js"></script>
78
+ <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ google_maps_api_key }}&libraries=drawing&callback=initAdminMap&loading=async"></script>
79
  </body>
80
  </html>
81
 
geoguessr/templates/index.html CHANGED
@@ -2,7 +2,7 @@
2
  <html>
3
  <head>
4
  <title>LLM GeoGuessr</title>
5
- <link rel="stylesheet" href="{{ url_for('static', path='style.css') }}">
6
  </head>
7
  <body>
8
  <h1>LLM GeoGuessr</h1>
@@ -38,8 +38,8 @@
38
  <button id="play-again">Back to Lobby</button>
39
  </div>
40
 
41
- <script src="{{ url_for('static', path='script.js') }}"></script>
42
- <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ google_maps_api_key }}&callback=initLobby"></script>
43
  </body>
44
  </html>
45
 
 
2
  <html>
3
  <head>
4
  <title>LLM GeoGuessr</title>
5
+ <link rel="stylesheet" href="{{ base_path }}/static/style.css">
6
  </head>
7
  <body>
8
  <h1>LLM GeoGuessr</h1>
 
38
  <button id="play-again">Back to Lobby</button>
39
  </div>
40
 
41
+ <script src="{{ base_path }}/static/script.js"></script>
42
+ <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ google_maps_api_key }}&callback=initLobby&loading=async"></script>
43
  </body>
44
  </html>
45