summaryrefslogtreecommitdiffstats
path: root/www/index.html
blob: 74a88685e2670817ad08d4f4130bc41ca1318ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>

<html lang="en">
  <head>
    <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 onload="init()">
    <header>
      <div>
        <img src="logo.svg" width="180" alt="Logo" />
        <div style="flex-grow: 1"></div>

        <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>

    <div class="container">
      <div>
        <h2 class="tr-load">Download OpenWrt Firmware for your Device!</h2>
        <p class="tr-message">
          Enter the name/model of your device, then select the Stable version
          (default) or the nightly "snapshot" image.
        </p>
        <br />

        <div id="models-autocomplete" class="autocomplete">
          <input
            id="models"
            type="text"
            placeholder="Model"
            spellcheck="false"
            autocapitalize="off"
          />
        </div>
        <select id="versions" size="1"></select>

        <br />
        <br />

        <div>
          <img id="buildspinner" src="spinner.gif" alt="Logo" />
          <div id="buildstatus"></div>
        </div>

        <div id="images">
          <div id="custom">
            <h3 class="tr-customize">Customize</h3>
            <div class="autocomplete">
              <textarea
                id="packages"
                spellcheck="false"
                autocapitalize="off"
              ></textarea>
            </div>
            <a href="javascript:build_asu_request()" class="custom-link">
              <span>&#9881;</span
              ><span class="tr-request-build">Request Build</span>
            </a>
          </div>

          <div>
            <h3 id="build-title" class="tr-version-build">Release Build</h3>
            <div>
              <span class="column tr-model">Model:</span>
              <span id="image-model"></span>
            </div>
            <div>
              <span class="column tr-target">Target:</span>
              <span id="image-target"></span>
            </div>
            <div>
              <span class="column tr-version">Version:</span>
              <span id="image-version"></span> (<span id="image-code"></span>)
            </div>
            <div>
              <span class="column tr-date">Date:</span>
              <span id="image-date"></span>
            </div>
          </div>

          <div id="download-links">
            <h3 id="downloads-title" class="tr-downloads">Downloads</h3>
          </div>

          <div>
            <span id="factory-help" class="download-help tr-factory-help"
              >Factory images are for flashing routers with OpenWrt for the
              first time using the web interface of the original firmware.</span
            >
            <span id="sysupgrade-help" class="download-help tr-sysupgrade-help"
              >Sysupgrade images are for flashing routers that already run
              OpenWrt. The image can be applied using the web interface or the
              console.</span
            >
            <span id="kernel-help" class="download-help tr-kernel-help"
              >Linux kernel as a separate image.</span
            >
            <span id="rootfs-help" class="download-help tr-rootfs-help"
              >Root file system as a separate image.</span
            >
            <span id="sdcard-help" class="download-help tr-sdcard-help"
              >Image that is meant to be flashed on an SD-Card.</span
            >
            <span id="tftp-help" class="download-help tr-tftp-help"
              >Image that can be applied using the TFTP meachnism of the
              bootloader</span
            >
            <span id="other-help" class="download-help tr-other-help"
              >Image of unknown purpose.</span
            >
          </div>
        </div>

        <div id="footer">
          <span
            ><a
              href="https://gitlab.com/openwrt/web/firmware-selector-openwrt-org"
              >YAFS</a
            >
            %GIT_VERSION%</span
          >
        </div>
      </div>
    </div>
  </body>
</html>