-
Notifications
You must be signed in to change notification settings - Fork 173
/
index.php
225 lines (183 loc) · 10.6 KB
/
index.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Droptiles - Metro style Live Tile enabled Web 2.0 Dashboard" />
<meta name="author" content="Omar AL Zabir" />
<meta name="copyright" content="2012, Omar AL Zabir" />
<meta name="license" content="Free for personal use. For commercial use, contact me for License. http://oazabir.github.com/Droptiles/" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Droptiles - Web 2.0 Dashboard in metro style</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/droptiles.css?v=14">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="body" class="unselectable">
<div id="navbar" class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active">
<a class="brand" href="?"><img src="img/avatar474_2.gif" style="max-height: 20px; margin-top: -2px; margin-right:5px; vertical-align: middle" />Droptiles</a>
</li>
<li><a class="active" href="?"><i class="icon-white icon-th-large"></i>Dashboard</a></li>
<li><a href="AppStore.aspx"><i class="icon-white icon-shopping-cart"></i>Apps</a></li>
<li><a href="http://oazabir.github.com/Droptiles/"><i class="icon-white icon-gift"></i>I want this!</a></li>
<li>
<form id="googleForm" class="navbar-search pull-left" action="http://www.google.com/search" target="_blank">
<input id="googleSearchText" type="text" class="search-query span2" name="q" placeholder="Google">
</form>
</li>
</ul>
<ul class="nav pull-right">
<li><a href="ServerStuff/Logout.ashx"><i class="icon-white icon-refresh"></i>Reset</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-white icon-tint"></i>Theme<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#" onclick="ui.switchTheme('theme-green')">Green</a></li>
<li><a href="#" onclick="ui.switchTheme('theme-white')">White</a></li>
<li><a href="#" onclick="ui.switchTheme('theme-Bloom')">Bloom</a></li>
</ul>
</li>
<li data-bind="if: user().isAnonymous"><a onclick="ui.login()" href="#login"><i class="icon-white icon-user"></i>Login</a></li>
<li data-bind="if: !user().isAnonymous"><a href="ServerStuff/Logout.ashx"><i class="icon-white icon-user"></i>Logout</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="content" style="visibility: hidden">
<div id="start" data-bind="text: title"></div>
<div id="user" data-bind="with: user" onclick="ui.settings()">
<div id="name">
<div id="firstname" data-bind="text: firstName">Omar</div>
<div id="lastname" data-bind="text: lastName">AL Zabir</div>
</div>
<div id="photo">
<img src="img/User No-Frame.png" data-bind="attr: {src: photo}" width="40" height="40" />
</div>
</div>
<div id="browser_incompatible" class="alert">
<button class="close" data-dismiss="alert">×</button>
<strong>Warning!</strong>
Your browser is incompatible with Droptiles. Please use Internet Explorer 9+, Chrome, Firefox or Safari.
</div>
<div id="CombinedScriptAlert" class="alert">
<button class="close" data-dismiss="alert">×</button>
<strong>Warning!</strong>
Combined javascript files are outdated.
Please retun the js\Combine.bat file.
Otherwise it won't work when you will deploy on a server.
</div>
<div id="metro-sections-container" class="metro">
<div id="trash" class="trashcan" data-bind="sortable: { data: trash }">
</div>
<div class="metro-sections" data-bind="foreach: sections">
<div class="metro-section" data-bind="sortable: { data: tiles }">
<div data-bind="attr: { id: uniqueId, 'class': tileClasses }">
<a class="metro-tile-link">
<!-- ko if: tileImage -->
<div class="tile-image">
<img data-bind="attr: { src: tileImage }" src="img/Internet%20Explorer.png" />
</div>
<!-- /ko -->
<!-- ko if: iconSrc -->
<!-- ko if: slides().length == 0 -->
<div data-bind="attr: { 'class': iconClasses }">
<img data-bind="attr: { src: iconSrc }" src="img/Internet%20Explorer.png" />
</div>
<!-- /ko -->
<!-- /ko -->
<div data-bind="foreach: slides">
<div class="tile-content-main">
<div data-bind="html: $data">
</div>
</div>
</div>
<!-- ko if: label -->
<span class="tile-label" data-bind="html: label">Label</span>
<!-- /ko -->
<!-- ko if: counter -->
<span class="tile-counter" data-bind="html: counter">10</span>
<!-- /ko -->
<!-- ko if: subContent -->
<div data-bind="attr: { 'class': subContentClasses }, html: subContent">
subContent
</div>
<!-- /ko -->
</a>
</div>
</div>
</div>
</div>
</div>
<div id="copyright">
Copyright 2012 <a href="http://omaralzabir.com/">Omar AL Zabir</a>. This is Open Source.
For license details and to get the code, <a href="http://oazabir.github.com/Droptiles/">See Droptiles GitHub</a>
</div>
</div>
</body>
<!--
If you change any of the below javascript files, make sure you run the Combine.bat
file in the /js folder to generate the CombinedDashboard.js file again. And then don't
forget to update the ?v=14#. Otherwise user's will have cached copies in their browser
and won't get the newly deployed file. -->
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.10.2.custom.min.js"></script>
<script type="text/javascript" src="js/jQueryEnhancement.js"></script>
<script type="text/javascript" src="js/jQuery.MouseWheel.js"></script>
<script type="text/javascript" src="js/jquery.kinetic.js"></script>
<script type="text/javascript" src="js/Knockout-2.1.0.js"></script>
<script type="text/javascript" src="js/knockout.sortable.js"></script>
<script type="text/javascript" src="js/cookie.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/Underscore.js"></script>
<script type="text/javascript" src="js/jQuery.hashchange.js"></script>
<script type="text/javascript" src="js/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="js/User.js"></script>
<script type="text/javascript">
// Bootstrap initialization
$(document).ready(function () {
$('.dropdown-toggle').dropdown();
});
</script>
<script type="text/javascript">
window.currentUser = new User({
firstName: "None",
lastName: "Anonymous",
photo: "img/User No-Frame.png",
isAnonymous: true
});
</script>
<!-- Copyright 2012 Omar AL Zabir -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<!--
If you change any of the below javascript files, make sure you run the Combine.bat
file in the /js folder to generate the CombinedDashboard.js file again. And then don't
forget to update the ?v=14#. Otherwise user's will have cached copies in their browser
and won't get the newly deployed file. -->
<script type="text/javascript" src="js/TheCore.js?v=14"></script>
<script type="text/javascript" src="tiles/tiles.js?v=14"></script>
<script type="text/javascript" src="js/Dashboard.js?v=14"></script>
<script type="text/javascript">
window.profileData = null;
$(document).ready(function(){
});
</script>
<script type="text/ecmascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33406100-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</html>