-
Notifications
You must be signed in to change notification settings - Fork 1
/
clients.php
121 lines (111 loc) · 4.21 KB
/
clients.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
<?php
@session_start();
if(!isset($_SESSION['username']) || !isset($_SESSION['password']) || empty($_SESSION['username']) || empty($_SESSION['password'])) {
header('Location: login.php?url=clients');
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<!-- Styles -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="row">
<div id="sidebar"class="col s12 l2 sidenav blue">
<a href="index.php">Feed</a>
<a href="request-create.php">New Request</a>
<a href="accounts.php">Account</a>
<a href="clients.php">Clients</a>
<a href="settings.php">Settings</a>
<a href="about.php">About</a>
</div>
<div id="content" class="col s12 l10">
<div class="topnav row valign-wrapper">
<div class="col s6">
<a href="index.php">
<img id="logo" src="img/logo.png" alt="Logo Moneyfi" />
</a>
</div>
<div class="col s6 right-align">
<a><?php echo $_SESSION['username'] ?></a>
<a class="center light-blue-text"><i class="material-icons">account_circle</i></a>
</div>
</div>
<div class = "col">
<h4>Clients </h4>
<form action="#">
<p>
<input name="group1" type="radio" id="test1" checked="checked" />
<label for="test1">personal</label>
</p>
<p>
<input name="group1" type="radio" id="test2" />
<label for="test2">local group</label>
</p>
<p>
<input class="with-gap" name="group1" type="radio" id="test3" disabled="disabled" />
<label for="test3">company</label>
</p>
</form>
<!--<div class="chips"></div>-->
<!--<div class="chips chips-initial"></div>-->
<div class = "row"style = "margin-top: 20px">
<div class = "col l4 m5 s6">
<button class="btn waves-effect waves-light left " type="submit" name="action">Create new Group
<i class="material-icons">create</i>
</button>
</div>
<div class = "col l4 m5 s6">
<button class="btn waves-effect waves-light left " type="submit" name="action">Submit
<i class="material-icons">send</i>
</button>
</div>
</div>
<!--<div class="chips chips-autocomplete"></div>-->
</div>
<!-- Pagination -->
<ul class="pagination hide">
<li class="disabled"><a href="#!"><i class="material-icons">chevron_left</i></a></li>
<li class="active"><a href="#!">1</a></li>
<li class="waves-effect"><a href="#!"><i class="material-icons">chevron_right</i></a></li>
</ul>
</div>
</div>
<!-- Scripts -->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
<script type="text/javascript" src="js/feed-update.js"> </script>
<script> $('.chips').material_chip();
$('.chips-initial').material_chip({
data: [{
tag: 'Apple',
}, {
tag: 'Microsoft',
}, {
tag: 'Google',
}],
});
$('.chips-placeholder').material_chip({
placeholder: 'Qualifications',
secondaryPlaceholder: '+Tag',
});
$('.chips-autocomplete').material_chip({
autocompleteOptions: {
data: {
'Apple': null,
'Microsoft': null,
'Google': null
},
limit: Infinity,
minLength: 1
}
});
</script>
</body>
</html>