Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
152 lines (139 sloc) 8.25 KB
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" MasterPageFile="~/Droptiles.master" %>
<%@ OutputCache NoStore="true" Location="None" %>
<asp:Content ContentPlaceHolderID="scripts" runat="server">
<!-- Copyright 2012 Omar AL Zabir -->
<script type="text/javascript" src=""></script>
<% if (Request.IsLocal) { %>
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=#. 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=10"></script>
<script type="text/javascript" src="tiles/tiles.js?v=10"></script>
<script type="text/javascript" src="js/Dashboard.js?v=10"></script>
<% } else { %>
<script type="text/javascript" src="js/CombinedDashboard.js?v=10"></script>
<% } %>
<script type="text/ecmascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33406100-1']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
<script type="text/javascript">
<%= GetAlerts() %>
<asp:Content ContentPlaceHolderID="body" runat="server">
<div id="body">
<div id="navbar" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="pull-left" style="margin-top: 7px; margin-right: 5px;" href="">
<img src="img/avatar474_2.gif" style="max-height: 16px;" />
<h1><a class="brand" href="?">Droptiles</a></h1>
<div class="nav-collapse">
<ul class="nav">
<li><a class="active" href="?"><i class="icon-th-large"></i>Dashboard</a></li>
<li><a href="AppStore.aspx"><i class="icon-shopping-cart"></i>Apps</a></li>
<li><a href=""><i class="icon-gift"></i>I want this!</a></li>
<form id="googleForm" class="navbar-search pull-left" action="" target="_blank">
<input id="googleSearchText" type="text" class="search-query span2" name="q" placeholder="Google">
<ul class="nav pull-right">
<%--<li><a href="javascript:fullscreen()"><i class="icon-facetime-video"></i>Go Fullscreen</a></li>--%>
<li><a href="ServerStuff/Logout.ashx"><i class="icon-refresh"></i>Reset</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="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>
<li data-bind="if: user().isAnonymous"><a onclick="ui.login()" href="#login"><i class="icon-user"></i>Login</a></li>
<li data-bind="if: !user().isAnonymous"><a href="ServerStuff/Logout.ashx"><i class="icon-user"></i>Logout</a></li>
<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 id="photo">
<img src="img/User No-Frame.png" data-bind="attr: {src: photo}" width="40" height="40" />
<div id="browser_incompatible" class="alert">
<button class="close" data-dismiss="alert">×</button>
Your browser is incompatible with Droptiles. Please use Internet Explorer 9+, Chrome, Firefox or Safari.
<div id="CombinedScriptAlert" class="alert">
<button class="close" data-dismiss="alert">×</button>
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 id="metro-sections-container" class="metro">
<div id="trash" class="trashcan">
<img src="img/Trashcan.png" width="64" height="64" />
<div class="metro-sections" data-bind="foreach: sections">
<div class="metro-section" data-bind="attr: {id : uniqueId}, foreach: sortedTiles">
<div data-bind="attr: { id: uniqueId, 'class': tileClasses }">
<!-- ko if: tileImage -->
<div class="tile-image">
<img data-bind="attr: { src: tileImage }" src="img/Internet%20Explorer.png" />
<!-- /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" />
<!-- /ko -->
<!-- /ko -->
<div data-bind="foreach: slides">
<div class="tile-content-main">
<div data-bind="html: $data">
<!-- 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">
<!-- /ko -->
<div id="copyright">
Copyright 2012 <a href="">Omar AL Zabir</a>. This is Open Source.
For license details and to get the code, <a href="">See Droptiles GitHub</a>
Jump to Line
Something went wrong with that request. Please try again.