-
Notifications
You must be signed in to change notification settings - Fork 2
/
timeSelection.php
62 lines (49 loc) · 2.01 KB
/
timeSelection.php
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
<?php
include "start.php";
include "error.php";
unset ($_SESSION["category"]);
unset ($_SESSION["time"]);
?>
<!DOCTYPE html>
<html>
<head>
<title>In the Moment</title>
<link rel="stylesheet" href="https://unpkg.com/onsenui/css/onsenui.css">
<link rel="stylesheet" href="https://unpkg.com/onsenui/css/onsen-css-components.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css?version=2">
</head>
<body>
<ons-page id="bg">
<?php
include "header.php";
?>
<div style="text-align: center; margin-top: 40%;">
<h1 style="margin: 10%;" class="title" id="textclr">How much free time do you have now?</h1>
<div>
<!-- Time input form -->
<span class="list-item__subtitle" style="display: block;" id="textclr">* Please enter number of minutes</span>
<ons-list style="max-width: 40%; margin-right: auto; margin-left: auto; margin-top: 20px; margin-bottom: 20px;">
<ons-list-item modifier="noborder">
<ons-input type="number" style="width:120px" name="time" id="time" min="5" max="75" "></ons-input>
</ons-list-item>
</ons-list>
</div>
<div>
<ons-button modifier=" large--cta" onclick="submitTime()" style="width:60%;margin:auto">
<span>Submit</span>
</ons-button>
</div>
</div>
<?php include "footer.php";?>
</ons-page>
<script src="https://unpkg.com/onsenui/js/onsenui.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous">
</script>
<script type="text/javascript" src="js/eventHandling.js?version=5"></script>
</body>
</html>