-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdestinations.php
175 lines (140 loc) · 8.46 KB
/
destinations.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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html>
<head>
<title> Travolla </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="shortcut icon" href="css/images/weblogo.png"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css\main.css">
<link rel="stylesheet" type="text/css" href="css\destinations.css">
<link href="https://fonts.googleapis.com/css?family=Patua+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</head>
<body onload="displayWindowSize()" onresize="displayWindowSize()">
<?php
include('header.php');
?>
<div class="container-fluid">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " >
<h1 id="toptitle"> My Destinations </h1>
</div>
<div class="row section">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" >
</div>
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8" >
<div >
<h2 class="header2"> Upcoming Trips </h2><hr>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 ">
<a href="journeyplanner.php">
<div class="card mb-4 box-shadow ">
<img class="card-img-top thumbpic" src="css/images/newtrip.png" alt="Card image cap">
<div class="card-body" style="color: black;">
<p class="card-text">New Trip</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">Add</button>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card mb-4 box-shadow">
<img class="card-img-top thumbpic" src="css/images/dubai.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text">Dubai Trip</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card mb-4 box-shadow">
<img class="card-img-top thumbpic" src="css/images/paris.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text">Paris Trip</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">11/07/2018</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" >
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" >
</div>
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8" >
<div>
<h2 class="header2"> Past Trips </h2><hr>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card mb-4 box-shadow">
<img class="card-img-top thumbpic" src="css/images/nc.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text">New Caledonia Trip</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card mb-4 box-shadow thumbpic">
<img class="card-img-top" src="css/images/nyc.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text"> New York Trip </p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" >
</div>
</div>
</div>
<?php include('footer.php') ?>
<!--Responsiveness-->
<script>
function displayWindowSize() {
//Retrieve the screen height of the user
var screenheight = window.innerHeight;
console.log(screenheight);
//Adapt the landing container to have the screenheight minus 100px
$('.container-fluid').css('margin-top',"7%");
};
</script>
<!-- Optional JavaScript-->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous">
</script>
</body>
</html>