summaryrefslogtreecommitdiff
path: root/public/app/views/user/update_properties.php
blob: 363016a04e1c5d7a7a802b008050a0e660ccc6d0 (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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><?=SITE_TITLE?> - Ενημέρωση στοιχείων</title>

    <?php   // header includes
        ////////////////////////////////////////////////////////////////////////
        Render::view('components/header_includes');
    ?>
</head>
<body class="office central-form">

  <div class='container'>
    <div class="content max540px">

      <div class='content-form'>
          <form method="post">
              <div>
                <h4>
                    Ενημέρωση στοιχείων
                    <button class="btn btn-back2panel btn-sm">
                        Επιστροφή
                    </button>
                </h4>
                <hr/>

                <?=$form['html']?>

                <br />
                <button type="submit" class="btn btn-primary btn-sm col-12">Ενημέρωση</button>

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

    </div>
  </div>

</body>

<script>// initialize needed global variables
    var values = {};
    var empty = '';
</script>

<?php   // include select2 supplementary functions
    ////////////////////////////////////////////////////////////////////////////
    Render::view('js/select2-supplementary', [ 'no_dataTables' => true ]);
?>

<script>
$(document).ready(function() {

    // intializations from form-definition
    ////////////////////////////////////////////////////////////////////////////

    <?=$form['init_js']?>


    // set known values
    ////////////////////////////////////////////////////////////////////////////

    <?=$form['values_js']?>

});
</script>

<?php   // handle form submition
    ////////////////////////////////////////////////////////////////////////////
    Render::view('js/submit/update-properties');
?>

<?php // credits
  //////////////////////////////////////////////////////////////////////////////
  Render::view('js/credits');
?>
</html>