panuView.html 2.58 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">
Mihkel Putrinš's avatar
Mihkel Putrinš committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    <!-- Piwik -->
    <script type="text/javascript">
      console.log('piwik start')
      var _paq = _paq || [];
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="https://piwik.keeleressursid.ee/";
        _paq.push(['setTrackerUrl', u+'piwik.php']);
        _paq.push(['setSiteId', 6]);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
      console.log('piwik end')
    </script>
    <noscript><p><img src="https://piwik.keeleressursid.ee/piwik.php?idsite=6" style="border:0;" alt="" /></p></noscript>
    <!-- End Piwik Code -->
25
26
  </head>
  <body>
Mihkel Putrinš's avatar
Mihkel Putrinš committed
27
28
29
30
31
    <div id="murakas">
      <img src="../images/murakas/png/96x96.png">
      <br/>
      Panustaja
    </div>
32
    <h1 id="userName">Tere</h1>
Mihkel Putrinš's avatar
Mihkel Putrinš committed
33
    <div id="selectLocal" hidden="">
34
      <p id="selectLocalMessage">Palun vali fail(id) ja/või kataloog(id), mida soovid üles laadida.</p>
Mihkel Putrinš's avatar
Mihkel Putrinš committed
35
      <button id="selectLocalButton">Vali</button>
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
    </div>
    <div id="resourceName" hidden="">
    </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
53
54
55
    <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>
56
57
58
59
      <div id="resourceProgressbarOuter">
        <div id="resourceProgressbarInner">
          <div id="fileProgressbarInner"></div>
        </div>
Mihkel Putrinš's avatar
styling    
Mihkel Putrinš committed
60
      </div>
61
62
63
64
65
66
      <pre id="status"></pre>
    </div>
    <div id="thankYou" hidden="">
        <h3>Aitäh!</h3>
        <div>
            <span>Su ressurss on kohal: </span>
Mihkel Putrinš's avatar
Mihkel Putrinš committed
67
            <a id="resourceEntuLink">siin</a>
68
69
        </div>
    </div>
Mihkel Putrinš's avatar
typo    
Mihkel Putrinš committed
70
    <script src="./panu.js"></script>
71
72
  </body>
</html>