summaryrefslogtreecommitdiff
path: root/public/app/views/user/update_password.php
blob: ee91390c3f16bb8c58583a8b08adc755a3ce5130 (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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width initial-scale=1">
    <title><?=SITE_TITLE?> - Αλλαγή Password</title>

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

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

      <div class='content-form'>
          <form method="post">
              <div>
                <h4>
                    Αλλαγή Password
                    <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>

<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-password');
?>

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