-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
251 lines (237 loc) · 11.3 KB
/
index.html
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Seed Stars Challenge 2</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css" />
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav id="menu" class="slideout-menu">
<header class="menu-header">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="logged-user">
<img src="img/johndoe.jpg" id="profile-img" class="profile-img" /> <span id="username">John Doe</span>
</div>
</div>
</div>
</div>
</header>
<menu class="main-menu">
<ul class="menu-items">
<li><a href="#"><img src="img/sidemenu/ic-dashboard.svg" class="menu-icon" id="dashabord-link" /> Dashboard</a></li>
<li><a href="#"><img src="img/sidemenu/ic-accounts.svg" class="menu-icon" id="accounts-link" /> Accounts</a></li>
<li class="active"><a href="#"><img src="img/sidemenu/ic-cards.svg" id="cards-link" class="menu-icon" /> Cards</a></li>
<li><a href="#"><img src="img/sidemenu/ic-payments.svg" id="payment-link" class="menu-icon" /> Payment</a></li>
<li><a href="#"><img src="img/sidemenu/ic-transfers.svg"id="transfers-link" class="menu-icon" /> Transfers</a></li>
<li><a href="#"><img src="img/sidemenu/ic-airtime.svg" id="airtime-link" class="menu-icon" /> Airtime</a></li>
<li><a href="#"><img src="img/sidemenu/ic-settings.svg" id="settings-link" class="menu-icon" /> Settings</a></li>
</ul>
</menu>
</nav>
<main id="panel" class="slideout-panel">
<header class="header wrap">
<div class="container">
<div class="row">
<div class="col-xs-2 col-md-1">
<div class="burger-menu" id="burger-menu">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="col-xs-10 col-md-12 text-center">
<span class="page-name" id="page-name">Dashboard</span>
</div>
</div>
</div>
</header>
<div class="wrap account-summary">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="account-carousel" data-slideout-ignore>
<div class="text-center account-info">
<p class="desc-text" id="desc">
Balance
</p>
<p class="account-balance" id="acc-balance">
N 979153.36
</p>
<p class="account-balance-2" id="acc-balance-2">
16.500 SP
</p>
</div>
<div class="text-center account-info">
<p class="desc-text" id="desc_1">
Balance
</p>
<p class="account-balance" id="acc_1-balance">
N 979153.36
</p>
<p class="account-balance-2" id="acc_1-balance-2">
16.500 SP
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wrap breadcrumbs">
<div class="container">
<div class="row">
<div class="col-xs-12">
<span>Latest Transactions</span>
</div>
</div>
</div>
</div>
<div class="transactions wrap">
<div class="transaction" id="transaction_1">
<div class="container">
<div class="row">
<div class="col-xs-7">
<div>
<p class="transaction-description" id="transaction-description">ATM Lagos</p>
<p class="transaction-time" id="transaction-time">Today</p>
</div>
</div>
<div class="col-xs-5">
<div class="text-right">
<p class="transaction-amount debit" id="transaction-amount">- N 450.00</p>
<p class="transaction-type" id="transaction-type">Bank Withdraw</p>
</div>
</div>
</div>
</div>
</div>
<div class="transaction" id="transaction_2">
<div class="container">
<div class="row">
<div class="col-xs-7">
<div>
<p class="transaction-description" id="transaction-description_2">ATM Lagos</p>
<p class="transaction-time" id="transaction-time_2">Yesterday</p>
</div>
</div>
<div class="col-xs-5">
<div class="text-right">
<p class="transaction-amount credit" id="transaction-amount_2">+ N 450.00</p>
<p class="transaction-type" id="transaction-type_2">Bank Withdraw</p>
</div>
</div>
</div>
</div>
</div>
<div class="transaction" id="transaction_3">
<div class="container">
<div class="row">
<div class="col-xs-7">
<div>
<p class="transaction-description" id="transaction-description_3">003 645 6548 65</p>
<p class="transaction-time" id="transaction-time_3">01/06/2015</p>
</div>
</div>
<div class="col-xs-5">
<div class="text-right">
<p class="transaction-amount debit" id="transaction-amount_3">- 100 SP</p>
<p class="transaction-type" id="transaction-type_3">Airtime Recharge</p>
</div>
</div>
</div>
</div>
</div>
<div class="transaction" id="transaction_4">
<div class="container">
<div class="row">
<div class="col-xs-7">
<div>
<p class="transaction-description" id="transaction-description_4">John Doe</p>
<p class="transaction-time" id="transaction-time_4">31/05/2015</p>
</div>
</div>
<div class="col-xs-5">
<div class="text-right">
<p class="transaction-amount credit" id="transaction-amount_4">+ N 450.00</p>
<p class="transaction-type" id="transaction-type_4">Transfer</p>
</div>
</div>
</div>
</div>
</div>
<div class="transaction" id="transaction_5">
<div class="container">
<div class="row">
<div class="col-xs-7">
<div>
<p class="transaction-description" id="transaction-type_5">003 645 6548 65</p>
<p class="transaction-time" id="transaction-time_5">01/06/2015</p>
</div>
</div>
<div class="col-xs-5">
<div class="text-right">
<p class="transaction-amount debit" id="transaction-amount_5">- 100 SP</p>
<p class="transaction-type" id="transaction-type_5">Airtime Recharge</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slideout/1.0.1/slideout.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
<script>
var slideout = new Slideout({
'panel': document.getElementById('panel'),
'menu': document.getElementById('menu'),
'padding': 294,
'tolerance': 70,
});
// jQuery
$('.burger-menu').on('click', function () {
slideout.toggle();
});
function close(eve) {
eve.preventDefault();
slideout.close();
}
slideout
.on('beforeopen', function () {
this.panel.classList.add('panel-open');
})
.on('open', function () {
this.panel.addEventListener('click', close);
})
.on('beforeclose', function () {
this.panel.classList.remove('panel-open');
this.panel.removeEventListener('click', close);
});
$(document).ready(function () {
$('.account-carousel').slick({
dots: true,
arrows: false,
});
});
</script>
</body>
</html>