rename profiles.json to overview.json (#45)
[web/firmware-selector-openwrt-org.git] / index.html
index 4e58f4007266ebf4133eb39ff2bac1455a6b2c33..8ad054d31493118bde428610694b6762f89e6a61 100644 (file)
@@ -5,8 +5,11 @@
        <meta charset="utf-8"/>
        <title>OpenWrt Firmware Selector</title>
        <link rel="stylesheet" href="index.css" />
+       <script src="i18n.js"></script>
+       <script src="config.js"></script>
+       <script src="index.js"></script>
 </head>
-<body>
+<body onload="init()">
 
 <header>
        <div>
                <img src="logo.png" alt="Logo">
                <div style="flex-grow: 1;"></div>
 
-               <select id="language-selection" onchange="config.language=this.children[this.selectedIndex].value; translate();" size="1">
+               <select id="language-selection" size="1">
+                       <option value="ca">Català</option>
                        <option value="en">English</option>
+                       <option value="es">Español</option>
                        <option value="de">Deutsch</option>
+                       <option value="fr">Français</option>
+                       <option value="it">Italiano</option>
+                       <option value="no">Norsk</option>
                        <option value="pl">Polski</option>
+                       <option value="tr">Türkçe</option>
                </select>
        </div>
 </header>
@@ -31,7 +40,7 @@
                <br>
 
                <select id="versions" size="1"></select>
-               <div class="autocomplete">
+               <div id="models-autocomplete" class="autocomplete">
                        <input id="models" type="text" placeholder="Model" spellcheck="false" autocapitalize="off" autocorrect="off">
                </div>
 
@@ -46,7 +55,9 @@
                <div id="images">
                        <div id="custom">
                                <h3 class="tr-customize">Customize</h3>
-                               <textarea id="packages" spellcheck="false" autocapitalize="off" autocorrect="off">luci</textarea>
+                               <div class="autocomplete">
+                                       <textarea id="packages" spellcheck="false" autocapitalize="off" autocorrect="off"></textarea>
+                               </div>
                                <a href="javascript:build_asa_request()" class="custom-link">
                                        <span>&#9881;</span><span class="tr-request-build">Request Build</span>
                                </a>
                                <span id="other-help" class="download-help tr-other-help">Image of unknown purpose.</span>
                        </div>
                </div>
+
+               <div id="footer">
+                       <span><a href="https://github.com/mwarning/yet_another_firmware_selector">YAFS</a> v2.2.0</span>
+               </div>
        </div>
 </div>
 
-<script src="i18n.js"></script>
-<script src="config.js"></script>
-<script src="index.js"></script>
-
 </body>
 </html>