main.jade 1.65 KB
Newer Older
Mihkel Putrinš's avatar
Mihkel Putrinš committed
1
2
3
4
doctype html
html
    head
        meta(charset='utf-8')
5
        link(rel='stylesheet', type='text/css', href='./style.css')
Mihkel Putrinš's avatar
Mihkel Putrinš committed
6
7
8
9
10
        link(rel='icon' type='image/png', href='/favicon-96x96.png' sizes='96x96')
        link(rel='shortcut icon', href='/favicon.ico')

    body

11
        h1#userName() Tere
12
        div#selectLocal(hidden)
13
14
            p#selectLocalMessage Palun vali fail(id) ja/või kataloog(id), mida soovid üles laadida.
            button#selectLocalButton(onclick='selectLocal()') Vali
15
16
17
18
19
20
21
        div#resourceName(hidden='')
            p#resourceNameMessage Muuda ressursi nimi sobivaks.
            input#resourceNameInput(type='text' placeholder='Ressursi nimi' style='width:100%;')
        div#loading(hidden='')
            h3 Loen failisüsteemist ...
        div#resourceStats(hidden='')
            ul#resourceStatsList
Mihkel Putrinš's avatar
Mihkel Putrinš committed
22
23
24
                li#resourceDirectories
                li#resourceFiles
                ul#mimeStats
25
26
27
28
29
30
31
32
33
34
        div#uploadResource(hidden='')
            p#uploadResourceMessage Ressurss on üleslaadimiseks valmis.
            button#uploadResourceButton(onclick='uploadResource()') Panusta!
        div#uploading(hidden='') 
            span= 'Kataloogid: '
            span#uploadedResources 0
            span /
            span#uploadTotalResources 0
            div#resourceProgressbarOuter
                div#resourceProgressbarInner
35
                    div#fileProgressbarInner
36
37
38
39
            span= 'Failid: '
            span#uploadedSize 0
            span /
            span#uploadTotalSize 0
40
            //- div#fileProgressbarOuter
41
42
            pre#status
        div#thankYou(hidden='') Aitäh! 
Mihkel Putrinš's avatar
Mihkel Putrinš committed
43
        
44
        script(src='./main.js')