139 lines
6.0 KiB
HTML
139 lines
6.0 KiB
HTML
<!doctype html>
|
|
<!--
|
|
Material Design Lite
|
|
Copyright 2015 Google Inc. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License
|
|
-->
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
<title>Dashboard</title>
|
|
|
|
<!-- Add to homescreen for Chrome on Android -->
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<link rel="icon" sizes="192x192" href="images/android-desktop.png">
|
|
|
|
<!-- Add to homescreen for Safari on iOS -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="Material Design Lite">
|
|
<link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png">
|
|
|
|
<!-- Tile icon for Win8 (144x144 + tile color) -->
|
|
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
|
|
<meta name="msapplication-TileColor" content="#3372DF">
|
|
|
|
<link rel="shortcut icon" href="images/favicon.png">
|
|
|
|
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
|
|
<!--
|
|
<link rel="canonical" href="http://www.example.com/">
|
|
-->
|
|
|
|
<link rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.cyan-light_blue.min.css">
|
|
<link rel="stylesheet" href="styles.css">
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
<style>
|
|
#view-source {
|
|
position: fixed;
|
|
display: block;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin-right: 40px;
|
|
margin-bottom: 40px;
|
|
z-index: 900;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onload="onLoad();">
|
|
<div id="main_content">
|
|
<div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
|
|
<header class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
|
|
<div class="mdl-layout__header-row">
|
|
<span class="mdl-layout-title">Dashboard</span>
|
|
<div class="mdl-layout-spacer"></div>
|
|
</div>
|
|
</header>
|
|
<div class="demo-drawer mdl-layout__drawer mdl-color--blue-grey-900 mdl-color-text--blue-grey-50">
|
|
<header class="demo-drawer-header">
|
|
<img src="" id="firebase_photo" class="demo-avatar">
|
|
<span id="firebase_name"></span>
|
|
<div class="demo-avatar-dropdown">
|
|
<span id="firebase_email"></span>
|
|
<div class="mdl-layout-spacer"></div>
|
|
<button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
|
<i class="material-icons" role="presentation">arrow_drop_down</i>
|
|
<span class="visuallyhidden">Options</span>
|
|
</button>
|
|
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn">
|
|
<li class="mdl-menu__item" onclick="logOut()">Log Out</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
<nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800">
|
|
<a class="mdl-navigation__link" href="javascript:displayProjects('all')"><i class="mdl-color-text--blue-grey-400 material-icons"
|
|
role="presentation">home</i>All Projects</a>
|
|
<a class="mdl-navigation__link" href="javascript:displayProjects('active')"><i class="mdl-color-text--blue-grey-400 material-icons"
|
|
role="presentation">home</i>Active Projects</a>
|
|
<a class="mdl-navigation__link" href="javascript:displayProjects('inactive')"><i class="mdl-color-text--blue-grey-400 material-icons"
|
|
role="presentation">inbox</i>Inactive Projects</a>
|
|
<a class="mdl-navigation__link" href="javascript:displayProjects('canceled')"><i class="mdl-color-text--blue-grey-400 material-icons"
|
|
role="presentation">delete</i>Canceled Projects</a>
|
|
</nav>
|
|
</div>
|
|
<main class="mdl-layout__content mdl-color--grey-100">
|
|
<div id="projects"></div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
<div id="login_container">
|
|
<div class="login-card mdl-card mdl-shadow--2dp">
|
|
<div class="mdl-card__title mdl-card--expand">
|
|
<h2 class="mdl-card__title-text">Admin Dashboard - Login</h2>
|
|
</div>
|
|
<div class="mdl-card__supporting-text">
|
|
Please login to enter this website.
|
|
</div>
|
|
<div class="mdl-card__actions mdl-card--border">
|
|
<a href="javascript:logIn();" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
|
|
Login
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="unauthorized">
|
|
<div class="unauthorized-card mdl-card mdl-shadow--2dp">
|
|
<div class="mdl-card__title mdl-card--expand">
|
|
<h2 class="mdl-card__title-text">Unauthorized Login</h2>
|
|
</div>
|
|
<div class="mdl-card__supporting-text">
|
|
You attempted to login with an improper account. If this is in error, please try reloading the page.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="https://www.gstatic.com/firebasejs/5.8.2/firebase.js"></script>
|
|
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
|
|
</html> |