summaryrefslogtreecommitdiffstats
path: root/pages-src/misc/msg-compose-modal.bvr
blob: f7bdc7d9188ff3497ce3dd191cdc5aa10c614501 (plain) (blame)
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
    <!-- Modal Structure -->
    <div id="beziapp-new-message" class="modal modal-fixed-footer">

        <div class="modal-content">

            <h4><x-su>sendAMessage</x-su></h4>

            <div class="input-field">
                <i class="material-icons prefix">account_circle</i>
                <input id="full-name" type="text" class="autocomplete-fullname validate">
                <label for="full-name"><x-su>recipient</x-su></label>
            </div>

            <div class="row" >

# sorry, ampak display: flex še nisem pogruntu 100%

                <div class="col s9 m10">
                    <div class="input-field">
                        <i class="material-icons prefix">subject</i>
                        <input id="msg-subject" type="text" class="">
                        <label for="msg-subject"><x-su>messageSubject</x-su></label>
                    </div>
                </div>

                <div class="col s2 m2">
                    <button class="btn btn-large btn-floating waves-effect waves-light" id="msg-add-photo" type="button">
                        <i class="material-icons" style="margin: 0 auto">add_a_photo</i>
                    </button>
                </div>

            </div>

            <div class="row">
                <div class="valign-wrapper col s10 m10">
                    <label>
                        <input type="checkbox" id="encrypt-checkbox" />
                        <span><x-su>encryptMessage</x-su></span>
                    </label>
                </div>
						</div>
            <div class="row">
                <div class="col s12 m12">
                    <div class="input-field" id="encryption-key-input" hidden>
                        <i class="material-icons prefix">lock</i>
                        <input id="msg-e2ee-pass-input" type="password" autocomplete="new-password" class="">
                        <label for="msg-e2ee-pass-input"><x-su>passwordForE2EE</x-su></label>
                    </div>
                </div>
            </div>

            <div class="input-field">
                <i class="material-icons prefix">mode_edit</i>
                <textarea id="msg-body" class="materialize-textarea"></textarea>
                <label for="msg-body"><x-su>messageBody</x-su></label>
            </div>

        </div>

        <div class="modal-footer">
            <div id="modal-footer-right">    
                <a href="#" class="modal-close waves-effect waves-green btn-flat">Cancel <i class="material-icons right">close</i></a>
                <a href="#" id="msg-send" class="modal-close waves-effect waves-green btn-flat" disabled>Send <i class="material-icons right">send</i></a>
            </div>
        </div>
    </div>