kamau1 commited on
Commit
11959da
·
1 Parent(s): a7a261c

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +6 -5
static/index.html CHANGED
@@ -5,6 +5,7 @@
5
  <meta name="viewport" content="width=device-width">
6
  <title>Sema Translator</title>
7
  <link rel="stylesheet" href="static/style.css" />
 
8
  </head>
9
  <body>
10
  <div class="Header">
@@ -13,11 +14,11 @@
13
 
14
  </div>
15
 
16
- <div class="LanguageDropdown">
17
- <h2>Select a Language:</h2>
18
- <select id="languageSelect">
19
- <!-- Add options dynamically -->
20
- </select>
21
  </div>
22
 
23
  <div class="instructions">
 
5
  <meta name="viewport" content="width=device-width">
6
  <title>Sema Translator</title>
7
  <link rel="stylesheet" href="static/style.css" />
8
+ <py-script src="modules/flores200_codes.py"></py-script>
9
  </head>
10
  <body>
11
  <div class="Header">
 
14
 
15
  </div>
16
 
17
+ <div class="LanguageDropdown" style="text-align:center">
18
+ <h2>Select a Language:</h2>
19
+ <select id="languageSelect">
20
+ {"".join(f"<option value='{code}'>{lang} - {code}</option>" for lang, code in flores_codes.items())}
21
+ </select>
22
  </div>
23
 
24
  <div class="instructions">