panu_view.html 2.02 KB
Newer Older
1
2
3
4
5
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="./style.css">
Mihkel Putrinš's avatar
Mihkel Putrinš committed
6
7
    <link rel="icon" type="image/png" href="/images/murakas.ico" sizes="96x96">
    <link rel="shortcut icon" href="/images/murakas.ico">
8
9
  </head>
  <body>
Mihkel Putrinš's avatar
Mihkel Putrinš committed
10
11
12
13
14
    <div id="murakas">
      <img src="../images/murakas/png/96x96.png">
      <br/>
      Panustaja
    </div>
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    <h1 id="userName">Tere</h1>
    <div id="selectLocal" hidden>
      <p id="selectLocalMessage">Palun vali fail(id) ja/või kataloog(id), mida soovid üles laadida.</p>
      <button id="selectLocalButton" onclick="selectLocal()">Vali</button>
    </div>
    <div id="resourceName" hidden="">
      <p id="resourceNameMessage">Muuda ressursi nimi sobivaks.</p>
      <input id="resourceNameInput" type="text" placeholder="Ressursi nimi" style="width:100%;">
    </div>
    <div id="loading" hidden="">
      <h3>Loen failisüsteemist ...</h3>
    </div>
    <div id="resourceStats" hidden="">
      <ul id="resourceStatsList">
        <li id="resourceDirectories"></li>
        <li id="resourceFiles"></li>
        <ul id="mimeStats"></ul>
      </ul>
    </div>
    <div id="uploadResource" hidden="">
      <p id="uploadResourceMessage">Ressurss on üleslaadimiseks valmis.</p>
      <button id="uploadResourceButton">Panusta!</button>
    </div>
Mihkel Putrinš's avatar
styling    
Mihkel Putrinš committed
38
39
40
    <div id="uploading" hidden="">
      <span>Kataloogid: </span><span id="uploadedResources">0</span><span>/</span><span id="uploadTotalResources">0</span>
      <span>Failid: </span><span id="uploadedSize">0</span><span>/</span><span id="uploadTotalSize">0</span>
41
42
43
44
      <div id="resourceProgressbarOuter">
        <div id="resourceProgressbarInner">
          <div id="fileProgressbarInner"></div>
        </div>
Mihkel Putrinš's avatar
styling    
Mihkel Putrinš committed
45
      </div>
46
47
48
49
50
51
52
53
54
      <pre id="status"></pre>
    </div>
    <div id="thankYou" hidden="">
        <h3>Aitäh!</h3>
        <div>
            <span>Su ressurss on kohal: </span>
            <a id="resource_entu_link">siin</a>
        </div>
    </div>
Mihkel Putrinš's avatar
typo    
Mihkel Putrinš committed
55
    <script src="./panu.js"></script>
56
57
  </body>
</html>