-
Notifications
You must be signed in to change notification settings - Fork 0
/
tempdashboard.php
140 lines (122 loc) · 6.75 KB
/
tempdashboard.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/landing-page.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/navbar.css" rel="stylesheet">
<link href="css/tempdashboard.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/img/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/img/favicon/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/img/favicon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/img/favicon/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/img/favicon/manifest.json">
<link rel="shortcut icon" href="/img/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-TileImage" content="/img/favicon/mstile-144x144.png">
<meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="main">
<nav class="navbar navbar-fixed-top navbar-light bg-faded topnav" role="navigation" style="padding: 0;">
<div class="container topnav">
<a class="navbar-brand" style="padding: 10px;" href="/"><div id="img" style="height: 30px;"></div></a>
<ul class="nav navbar-nav navbar-right" style="padding: 10px; ">
<li><a class="nav-item nav-link" style="padding-right: 10px;">Login</a></li>
<li class="nav-item btn-group">
<a class="dropdown-toggle nav-link" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="fa fa-gear"></span> <span class="caret"></span>
</a>
<div class="dropdown-menu" style="right: 0; left: auto;">
<a class="dropdown-item" href="#">Manage Subscription</a>
<a class="dropdown-item" href="#">Manage Account</a>
<a class="dropdown-item" href="#">Delete Account</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="container" style="margin-top: 70px;">
<div class="col-xs-6">
<h1>Dashboard</h1>
</div>
<div class="col-xs-6" style="text-align: right; font-size: 30px;">
<p>
<a href="#createDomainModal" data-toggle="modal">
<span class="fa fa-plus" style="color: black;"></span>
</a>
</p>
</div>
<div class="col-xs-12">
<?php $array = array("facebook.com", "google.com", "how-to-geek.com");
foreach($array as $domain){ ?>
<table style="width: 100%; text-align: center;">
<td style="padding: 10px;"><img src="http://www.google.com/s2/favicons?domain=<?php echo $domain; ?>"/> </td>
<td style="padding: 10px; text-align: left; width: 100%"><?php echo $domain; ?></td>
<td style="padding-right: 10px">
<span class="fa fa-pencil" style="color: black; "></span>
</td>
<td style="padding-right: 10px;">
<span class="fa fa-trash" style="color: black;"></span>
</td>
</table>
<table style="width: 100%; text-align: center;">
<td style="width: 100%; padding-left: 10px;"><input type="password" style="width: 100%; padding-left: 10px;" placeholder="Enter password"/></td>
<td style="padding: 10px">
<span class="fa fa-arrow-right" style="color: black;"></span>
</td>
</table>
<?php } ?>
</div>
</div>
</div>
<div class="modal fade" id="createDomainModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="exampleModalLabel">Add domain</h4>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="domain" class="control-label">Domain</label>
<input type="url" class="form-control" id="domain">
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<input type="password" class="form-control" id="password">
</div>
<div class="form-group">
<label for="confirmpassword" class="control-label">Confirm Password</label>
<input type="password" class="form-control" id="confirmpassword">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">Submit</button>
</div>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/tempdashboard.js"></script>
</body>