summaryrefslogtreecommitdiff
path: root/public/app/views/xx--admin/files.php
blob: c6d27717b63dea0cc0dc537d9099f2b70d4017f6 (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
 <!-- title bar -->
 <div class="title-bar">
    <div><h5>Διαχείριση Επιπέδων Πρόσβασης</h5></div>
    <div>
        <!-- Button trigger modal 
          <button type="button" class="btn pull-right"
              data-bs-toggle="modal" data-bs-target="#managePrivileges" data-id="0">
              <i class="fas fa-plus"></i> &nbsp; Νέο Επίπεδο
          </button>
        -->
    </div>
</div>

<div class="manage">
    <div class="row">
        <div class="col-md-12">

            <div id="files">

                <table id="dt-files" class="table table-responsive dt-table" style="width:100%">
                    <thead>
                        <th class="dt-id">α/α</th>
                        <th class="dt-label">Περιγραφή</th>
                        <th class="dt-path">Διαδρομή</th>
                        <th class="dt-type">Media-Type</th>
                        <th class="dt-privilege">Πρόσβαση</th>
                        <th class="dt-actions"></th>
                    </thead>
                </table>

            </div>


        </div>
    </div>
</div><!-- /manage -->



<!-- MODAL for new/edit category -->
<!-- NOTE: tabindex="-1" removed, ref:https://github.com/select2/select2-bootstrap-theme/issues/41 -->
<div class="modal fade" id="manageFiles" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
        
        <form method="post" action="">

            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">Πρόσβαση αρχείου</h4>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div><!-- /modal-header -->

            <!-- modal-body -->
            <div class="modal-body">

                <!-- form fields -->
                    
                <div class="row form-group">
                    <label class="control-label col-sm-12" for="label">Κατηγορία Επιπέδου Πρόσβασης</label>
                    <div class="col-sm-12">
                        <input class="form-control form-control-sm" type="text" name="label" value="" required="">
                    </div>
                </div>

                <div class="row form-group">
                    <label class="control-label col-sm-12" for="included_id">Κατηγορία Επιπέδου Πρόσβασης</label>
                    <div class="col-sm-12">
                        <select class="form-control form-control-sm form-select form-select-sm" id="privilege_id" name="privilege_id" required></select>
                    </div>
                </div>

                <div class="row form-group">
                    <input type="hidden" name="id" value="0"><!-- action = (0) ? 'new' : 'edit' -->
                </div>
                        

            </div><!-- /modal body -->

            <div class="modal-footer">
                <div class="row form-actions">

                    <div class="col">
                        <button type="button" class="btn btn-default js-modal-close col-sm-12" data-bs-dismiss="modal">Κλείσιμο</button>
                    </div>
                    <div class="col">
                        <button class="btn btn-success col-sm-12" type="submit">Καταχώριση</button>
                    </div>

                </div>
            </div><!-- /modal-footer -->

        </form><!-- /form -->

        </div>
    </div>
</div>