<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8" />
<title>LOGIN</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link href="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app-content/app.css" rel="stylesheet" />
<link href="css/font-awesome.css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600" rel="stylesheet">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/pages/signin.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
<div class="col-sm-8 col-sm-offset-2">
<div ng-class="{ 'alert': flash, 'alert-success': flash.type === 'success', 'alert-danger': flash.type === 'error' }" ng-if="flash" ng-bind="flash.message"></div>
<div ng-view></div>
</div>
</div>
<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="//code.angularjs.org/1.2.20/angular.js"></script>
<script src="//code.angularjs.org/1.2.20/angular-route.js"></script>
<script src="//code.angularjs.org/1.2.13/angular-cookies.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app-services/authentication.service.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app-services/flash.service.js"></script>
<!-- Real user service that uses an api -->
<!-- <script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app-services/user.service.js"></script> -->
<!-- Fake user service for demo that uses local storage -->
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/app-services/user.service.local-storage.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/home/home.controller.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/login/login.controller.js"></script>
<script src="//cdn.rawgit.com/cornflourblue/angular-registration-login-example/master/register/register.controller.js"></script>
</body>
</html>
(function () {
'use strict';
angular
.module('app', ['ngRoute', 'ngCookies'])
.config(config)
.run(run);
config.$inject = ['$routeProvider', '$locationProvider'];
function config($routeProvider, $locationProvider) {
$routeProvider
.when('/', {
controller: 'HomeController',
templateUrl: 'home/home.view.html',
controllerAs: 'vm'
})
.when('/login', {
controller: 'LoginController',
templateUrl: 'login/login.view.html',
controllerAs: 'vm'
})
.when('/register', {
controller: 'RegisterController',
templateUrl: 'register/register.view.html',
controllerAs: 'vm'
})
.otherwise({ redirectTo: '/login' });
}
run.$inject = ['$rootScope', '$location', '$cookieStore', '$http'];
function run($rootScope, $location, $cookieStore, $http) {
// keep user logged in after page refresh
$rootScope.globals = $cookieStore.get('globals') || {};
if ($rootScope.globals.currentUser) {
$http.defaults.headers.common['Authorization'] = 'Basic ' + $rootScope.globals.currentUser.authdata; // jshint ignore:line
}
$rootScope.$on('$locationChangeStart', function (event, next, current) {
// redirect to login page if not logged in and trying to access a restricted page
var restrictedPage = $.inArray($location.path(), ['/login', '/register']) === -1;
var loggedIn = $rootScope.globals.currentUser;
if (restrictedPage && !loggedIn) {
$location.path('/login');
}
});
}
})();
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html">
Test
</a>
</div> <!-- /container -->
</div> <!-- /navbar-inner -->
</div> <!-- /navbar -->
<div class="account-container">
<div class="content clearfix" style="border-radius: 3px; background-color: #333">
<div class="login-fields">
<div ng-show="vm.error" class="alert alert-danger">{{vm.error}}</div>
<form name="form" ng-submit="vm.login()" role="form">
<div class="login-fields">
<p>Please provide your details</p>
<div class="field" ng-class="{ 'has-error': form.username.$dirty && form.username.$error.required }">
<label for="username">Username</label>
<input type="text" name="username" id="username" class="form-control" ng-model="vm.username" required tabindex="1" />
<span ng-show="form.username.$dirty && form.username.$error.required" class="help-block">Username is required</span>
</div>
<div class="field" ng-class="{ 'has-error': form.password.$dirty && form.password.$error.required }">
<label for="password">Password</label>
<input type="password" name="password" id="password" class="form-control" ng-model="vm.password" tabindex="2" required />
<span ng-show="form.password.$dirty && form.password.$error.required" class="help-block">Password is required</span>
</div>
<div class="login-actions">
<span class="login-checkbox">
<input id="Field" name="Field" type="checkbox" class="field login-checkbox" value="First Choice" tabindex="4" />
<label class="choice" for="Field">Stay signed in</label>
</span>
<div class="form-actions">
<button type="submit" ng-disabled="form.$invalid || vm.dataLoading" class="btn btn-large btn-default">Login</button>
<img ng-if="vm.dataLoading" src="data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==" />
</div>
</div>
</div>
</form>
</div>
<div class="row">
<div class="col-lg-12 centered-text">
<a id="power-by" href="#"><strong>Power by ME-Tech Solution Sdn Bhd</strong></a>
</div>
</div>
</div>
</div>
<div class="login-extra">
<a href="#/register" class="btn btn-link">Forgot Password</a>
</div> <!-- /login-extra -->
<h1>Hi {{vm.user.firstName}}!</h1>
<p>You're logged in!!</p>
<h3>All registered users:</h3>
<ul>
<li ng-repeat="user in vm.allUsers">
{{user.username}} ({{user.firstName}} {{user.lastName}})
- <a href="#" ng-click="vm.deleteUser(user.id)">Delete</a>
</li>
</ul>
<p> </p>
<p><a href="#/login" class="btn btn-primary">Logout</a></p>
<div class="col-md-6 col-md-offset-3">
<h2>Register</h2>
<div ng-show="vm.error" class="alert alert-danger">{{vm.error}}</div>
<form name="form" ng-submit="vm.register()" role="form">
<div class="form-group" ng-class="{ 'has-error': form.firstName.$dirty && form.firstName.$error.required }">
<label for="username">First name</label>
<input type="text" name="firstName" id="firstName" class="form-control" ng-model="vm.user.firstName" required />
<span ng-show="form.firstName.$dirty && form.firstName.$error.required" class="help-block">First name is required</span>
</div>
<div class="form-group" ng-class="{ 'has-error': form.lastName.$dirty && form.lastName.$error.required }">
<label for="username">Last name</label>
<input type="text" name="lastName" id="Text1" class="form-control" ng-model="vm.user.lastName" required />
<span ng-show="form.lastName.$dirty && form.lastName.$error.required" class="help-block">Last name is required</span>
</div>
<div class="form-group" ng-class="{ 'has-error': form.username.$dirty && form.username.$error.required }">
<label for="username">Username</label>
<input type="text" name="username" id="username" class="form-control" ng-model="vm.user.username" required />
<span ng-show="form.username.$dirty && form.username.$error.required" class="help-block">Username is required</span>
</div>
<div class="form-group" ng-class="{ 'has-error': form.password.$dirty && form.password.$error.required }">
<label for="password">Password</label>
<input type="password" name="password" id="password" class="form-control" ng-model="vm.user.password" required />
<span ng-show="form.password.$dirty && form.password.$error.required" class="help-block">Password is required</span>
</div>
<div class="form-actions">
<button type="submit" ng-disabled="form.$invalid || vm.dataLoading" class="btn btn-primary">Register</button>
<img ng-if="vm.dataLoading" src="data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==" />
<a href="#/login" class="btn btn-link">Cancel</a>
</div>
</form>
</div>
/*------------------------------------------------------------------
Bootstrap Admin Template by EGrappler.com
------------------------------------------------------------------*/
/*------------------------------------------------------------------
[1. Global]
*/
body {
background: #f9f6f1;
font: 13px/1.7em 'Open Sans';
}
p {
font: 13px/1.7em 'Open Sans';
}
input,
button,
select,
textarea {
font-family: 'Open Sans';
}
.dropdown .dropdown-menu {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.btn-icon-only {
padding-right: 3px;
padding-left: 3px;
}
.table td {
vertical-align: middle;
}
.table-bordered th {
background: #E9E9E9;
background:-moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); /* FF3.6+ */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FAFAFA), color-stop(100%,#E9E9E9)); /* Chrome,Safari4+ */
background:-webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Chrome10+,Safari5.1+ */
background:-o-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Opera11.10+ */
background:-ms-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* IE10+ */
background:linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
font-size: 10px;
color: #444;
text-transform: uppercase;
}
/*------------------------------------------------------------------
[2. Navbar / .navbar]
*/
.navbar .container {
position: relative;
}
.navbar-inner {
padding: 7px 0;
background: #f26f24; !important;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.navbar-fixed-top {
position: static;
}
.navbar .nav a {
font-size: 13px;
font-weight: bold;
margin-top: 10px;
}
.navbar .nav>li>a { color:#fff !important;}
.navbar .brand {
font-weight: 100;
position: relative;
top: 2px;
}
.navbar .search-query {
background-color: #444;
width: 150px;
font-size: 11px;
font-weight: bold;
}
.navbar .search-query::-webkit-input-placeholder {
color: #FFF;
}
.navbar .search-query:-moz-placeholder {
color: #FFF;
}
.navbar-search .search-query { background:#666; border:0; color:#fff; line-height:normal;}
/*------------------------------------------------------------------
[3. Subnavbar / .subnavbar]
*/
.subnavbar {
margin-bottom: 2.5em;
}
.subnavbar-inner {
height: 95px;
background: #292c2f;
border-bottom: 1px solid #d6d6d6;
}
.subnavbar .container > ul {
display: inline-block;
height: 80px;
padding: 0;
margin: 0;
}
.subnavbar .container > ul > li {
float: left;
min-width: 120px;
height: 95px;
padding: 0;
margin: 0;
text-align: center;
list-style: none;
border-left: 1px solid #d9d9d9;
}
.subnavbar .container > ul > li.b-right {
border-right: 1px solid #d9d9d9;
}
/* Link Colors */
.subnavbar .container > ul > li.active.link-red > a {
border-bottom:3px solid #ff0000;
color: #9b9898;
}
.subnavbar .container > ul > li.link-red > a > i.icon {
color: #ff0000;
}
.subnavbar .container > ul > li.active.link-blue > a {
border-bottom:3px solid #0099ff;
color: #9b9898;
}
.subnavbar .container > ul > li.link-blue > a > i.icon {
color: #0099ff;
}
.subnavbar .container > ul > li.active.link-yellow > a {
border-bottom:3px solid #d0d237;
color: #9b9898;
}
.subnavbar .container > ul > li.link-yellow > a > i.icon {
color: #d0d237;
}
.subnavbar .container > ul > li.active.link-green > a {
border-bottom:3px solid #86be2e;
color: #9b9898;
}
.subnavbar .container > ul > li.link-green > a > i.icon {
color: #86be2e;
}
.subnavbar .container > ul > li.active.link-orange > a {
border-bottom:3px solid #f26f24;
color: #9b9898;
}
.subnavbar .container > ul > li.link-orange > a > i.icon {
color: #f26f24;
}
.subnavbar .container > ul > li > a {
display: block;
height: 100%;
padding: 0 15px;
font-size: 12px;
font-weight: bold;
color: #9b9898;
}
.subnavbar .container > ul > li > a:hover {
color: #888;
text-decoration: none;
}
.subnavbar .container > ul > li > a > i {
display: inline-block;
width: 54px;
height: 54px;
margin-top: 11px;
margin-bottom: -3px;
font-size: 50px;
}
.subnavbar .container > ul > li > a > span {
display: block;
}
.subnavbar .dropdown .dropdown-menu a {
font-size: 12px;
}
.subnavbar .dropdown .dropdown-menu {
text-align: left;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.subnavbar .dropdown-menu::before {
content: '';
display: inline-block;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #CCC;
border-bottom-color: rgba(0, 0, 0, 0.2);
position: absolute;
top: -7px;
left: 9px;
}
.subnavbar .dropdown-menu::after {
content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
position: absolute;
top: -6px;
left: 10px;
}
.subnavbar .caret {
margin-top: 4px;
border-top-color: white;
border-bottom-color: white;
}
.subnavbar .dropdown.open .caret {
display: none;
}
/*------------------------------------------------------------------
[4. Main / .main]
*/
.main {
padding-bottom: 2em;
border-bottom: 1px solid #000;
}
/*------------------------------------------------------------------
[5. Extra / .extra]
*/
.extra {
border-top: 1px solid #585858;
border-bottom: 1px solid #000;
margin-bottom: -25px;
}
.extra-inner {
padding: 20px 0;
font-size: 11px;
color: #BBB;
background: #1A1A1A;
}
.extra a {
color: #666;
}
.extra h4 {
margin-bottom: 1em;
font-weight: 400;
}
.extra ul {
padding: 0;
margin: 0;
}
.extra li {
margin-bottom: .6em;
list-style: none;
}
/*------------------------------------------------------------------
[6. Footer/ .footer]
*/
.footer {
margin-top: 25px;
border-top: 1px solid #292929;
}
.footer-inner {
padding: 15px 0;
font-size: 12px;
background: #111;
color: #999;
}
.footer a {
color: #999;
}
.footer a:hover {
color: #FFF;
text-decoration: none;
}
/*------------------------------------------------------------------
[6. Widget / .widget]
*/
.widget {
position: relative;
clear: both;
width: auto;
margin-bottom: 2em;
overflow: hidden;
}
.widget-header {
position: relative;
height: 40px;
line-height: 40px;
background: #f9f6f1;
background:-moz-linear-gradient(top, #f9f6f1 0%, #f2efea 100%); /* FF3.6+ */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f6f1), color-stop(100%,#f2efea)); /* Chrome,Safari4+ */
background:-webkit-linear-gradient(top, #f9f6f1 0%,#f2efea 100%); /* Chrome10+,Safari5.1+ */
background:-o-linear-gradient(top, #f9f6f1 0%,#f2efea 100%); /* Opera11.10+ */
background:-ms-linear-gradient(top, #f9f6f1 0%,#f2efea 100%); /* IE10+ */
background:linear-gradient(top, #f9f6f1 0%,#f2efea 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f6f1', endColorstr='#f2efea');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f6f1', endColorstr='#f2efea')";
border: 1px solid #d6d6d6;
-webkit-background-clip: padding-box;
}
.widget-header h3 {
position: relative;
top: 2px;
left: 10px;
display: inline-block;
margin-right: 3em;
font-size: 14px;
font-weight: 800;
color: #525252;
line-height: 18px;
text-shadow: 1px 1px 2px rgba(255,255,255,.5);
}
.widget-header [class^="icon-"], .widget-header [class*=" icon-"] {
display: inline-block;
margin-left: 13px;
margin-right: -2px;
font-size: 16px;
color: #555;
vertical-align: middle;
}
.widget-content {
padding: 20px 15px 15px;
background: #FFF;
border: 1px solid #D5D5D5;
-moz-c: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.widget-header+.widget-content {
border-top: none;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.widget-nopad .widget-content {
padding: 0;
}
/* Widget Content Clearfix */
.widget-content:before,
.widget-content:after {
content:"";
display:table;
}
.widget-content:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.widget-content {
zoom:1;
}
/* Widget Table */
.widget-table .widget-content {
padding: 0;
}
.widget-table .table {
margin-bottom: 0;
border: none;
}
.widget-table .table tr td:first-child {
border-left: none;
}
.widget-table .table tr th:first-child {
border-left: none;
}
/* Widget Plain */
.widget-plain {
background: transparent;
border: none;
}
.widget-plain .widget-content {
padding: 0;
background: transparent;
border: none;
}
/* Widget Box */
.widget-box {
}
.widget-box .widget-content {
background: #E3E3E3;
background: #FFF;
}
/*------------------------------------------------------------------
[7. Widget-part / .widget]
*/
.widget-part {
position: relative;
overflow: hidden;
font-size: 20px;
color: #5A6B77;
width: 600px;
margin: 0px auto 36px;
background: #ffcc66 none repeat scroll 0% 0%;
border-radius: 7px;
text-align: center;
}
.widget-part-header {
position: relative;
background: #F9FCFF none repeat scroll 0% 0%;
border: 1px solid #d6d6d6;
border-width: 1px;
border-bottom: 0px;
border-radius: 5px 5px 0px 0px;
border-top-color: #B0B8BF;
height: 85px;
line-height: 40px;
}
.widget-part .widget-part-header > h2 {
font-size: 20px;
line-height: 50px;
}
.widget-part-header [class^="icon-"], .widget-part-header [class*=" icon-"] {
display: inline-block;
margin-left: 13px;
margin-right: -2px;
font-size: 16px;
color: #555;
vertical-align: middle;
}
.widget-body {
border-width: 0px 1px 1px;
background: #FFF none none;
border: 1px solid #D5D5D5;
}
.widget-header+.widget-content {
border-top: none;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.widget-nopad .widget-content {
padding: 0;
}
/* Widget Content Clearfix */
.widget-content:before,
.widget-content:after {
content:"";
display:table;
}
.widget-content:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.widget-content {
zoom:1;
}
/* Widget Table */
.widget-table .widget-content {
padding: 0;
}
.widget-table .table {
margin-bottom: 0;
border: none;
}
.widget-table .table tr td:first-child {
border-left: none;
}
.widget-table .table tr th:first-child {
border-left: none;
}
/* Widget Plain */
.widget-plain {
background: transparent;
border: none;
}
.widget-plain .widget-content {
padding: 0;
background: transparent;
border: none;
}
/* Widget Box */
.widget-box {
}
.widget-box .widget-content {
background: #E3E3E3;
background: #FFF;
}
/*------------------------------------------------------------------
[8. Error / .error-container]
*/
.error-container {
margin-top: 4em;
margin-bottom: 4em;
text-align: center;
}
.error-container h1 {
margin-bottom: .5em;
font-size: 120px;
line-height: 1em;
}
.error-container h2 {
margin-bottom: .75em;
font-size: 28px;
}
.error-container .error-details {
margin-bottom: 1.5em;
font-size: 16px;
}
.error-container .error-actions a {
margin: 0 .5em;
}
ul.messages_layout {
position: relative;
margin: 0;
padding: 0
}
ul.messages_layout li {
float: left;
list-style: none;
position: relative
}
ul.messages_layout li.left {
padding-left: 75px
}
ul.messages_layout li.right {
padding-right: 75px
}
ul.messages_layout li.right .avatar {
right: 0;
left: auto
}
ul.messages_layout li.right .message_wrap .arrow {
right: -12px;
left: auto;
background-position: 0 -213px;
height: 15px;
width: 12px
}
ul.messages_layout li.by_myself .message_wrap {
border: 1px solid #b3cdf8
}
ul.messages_layout li.by_myself .message_wrap .info a.name {
color: #4a8cf7
}
ul.messages_layout li a.avatar {
position: absolute;
left: 0;
top: 0
}
ul.messages_layout li a.avatar img {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px
}
ul.messages_layout li .message_wrap {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
position: relative;
border: 1px solid #e9e9e9;
padding: 10px;
border: 1px solid #cbcbcb;
margin-bottom: 20px;
float: left;
background: #fefefe;
-webkit-box-shadow: rgba(0,0,0,0.1) 0 1px 0px;
-moz-box-shadow: rgba(0,0,0,0.1) 0 1px 0px;
box-shadow: rgba(0,0,0,0.1) 0 1px 0px
}
ul.messages_layout li .message_wrap .arrow {
background-position: 0 -228px;
height: 15px;
width: 12px;
height: 15px;
width: 12px;
position: absolute;
left: -12px;
top: 13px
}
ul.messages_layout li .message_wrap .info {
float: left;
width: 100%;
border-bottom: 1px solid #fff;
line-height: 23px
}
ul.messages_layout li .message_wrap .info .name {
float: left;
font-weight: bold;
color: #483734
}
ul.messages_layout li .message_wrap .info .time {
float: left;
font-size: 11px;
margin-left: 6px
}
ul.messages_layout li .message_wrap .text {
float: left;
width: 100%;
border-top: 1px solid #cfcfcf;
padding-top: 5px
}
ul.messages_layout .dropdown-menu li{ width:100%; font-size:11px;}
/* Full Calendar */
.fc {
direction: ltr;
text-align: left;
position: relative
}
.fc table {
border-collapse: collapse;
border-spacing: 0
}
html .fc, .fc table {
font-size: 1em
}
.fc td, .fc th {
padding: 0;
vertical-align: top
}
.fc-header td {
white-space: nowrap;
background: none
}
.fc-header-left {
width: 100%;
text-align: left;
position: absolute;
left: 0;
top: 6px
}
.fc-header-left .fc-button {
margin: 0;
position: relative
}
.fc-header-left .fc-button-prev, .fc-header-left .fc-button-next {
float: left;
border: none;
padding: 14px 10px;
opacity: 0.5
}
.fc-header-left .fc-button-prev .fc-button-inner, .fc-header-left .fc-button-next .fc-button-inner {
border: none
}
.fc-header-left .fc-button-prev .fc-button-inner .fc-button-content, .fc-header-left .fc-button-next .fc-button-inner .fc-button-content {
display: none
}
.fc-header-left .fc-button-prev.fc-state-hover, .fc-header-left .fc-button-next.fc-state-hover {
opacity: 1
}
.fc-header-left .fc-button-prev.fc-state-down, .fc-header-left .fc-button-next.fc-state-down {
background: none !important;
margin-top: -1px
}
.fc-header-left .fc-button-prev .fc-button-inner {
background-position: 0 -351px;
height: 16px;
width: 11px
}
.fc-header-left .fc-button-next {
float: right
}
.fc-header-left .fc-button-next .fc-button-inner {
background-position: 0 -367px;
height: 16px;
width: 11px
}
.fc-header-center {
text-align: center
}
.fc-header-right {
text-align: right;
position: absolute;
top: -34px;
right: 10px
}
.fc-header-title {
display: inline-block;
vertical-align: top
}
.fc-header-title h2 {
margin-top: 0;
white-space: nowrap;
font-size: 1.1rem;
color: #6C737F;
line-height: 55px;
}
.fc .fc-header-space {
padding-left: 10px
}
.fc-header .fc-button {
margin-bottom: 1em;
vertical-align: top
}
.fc-header .fc-button {
margin-right: -1px
}
.fc-header .fc-corner-right {
margin-right: 1px
}
.fc-header .ui-corner-right {
margin-right: 0
}
.fc-header .fc-state-hover, .fc-header .ui-state-hover {
z-index: 2
}
.fc-header .fc-state-down {
z-index: 3
}
.fc-header .fc-state-active, .fc-header .ui-state-active {
z-index: 4
}
.fc-content {
clear: both;
background: #f9f9f9
}
.fc-view {
width: 100%;
overflow: hidden
}
.fc-view thead {
background:#e9ecf1;
line-height: 35px
}
.fc-widget-header, .fc-widget-content {
border: 1px solid #ccc
}
.fc-state-highlight {
background: #F4F3E6
}
.fc-cell-overlay {
background: #9cf;
opacity: .2;
filter: alpha(opacity=20)
}
.fc-button {
position: relative;
display: inline-block;
cursor: pointer
}
.fc-button-today{margin-top: 8px !important;}
.fc-state-default {
border-style: solid;
border-width: 1px 0
}
.fc-button-inner {
position: relative;
float: left;
overflow: hidden
}
.fc-state-default .fc-button-inner {
border-style: solid;
border-width: 0 1px
}
.fc-button-content {
position: relative;
float: left;
height: 1.9em;
line-height: 1.9em;
padding: 0 .6em;
white-space: nowrap
}
.fc-button-content .fc-icon-wrap {
position: relative;
float: left;
top: 50%
}
.fc-button-content .ui-icon {
position: relative;
float: left;
margin-top: -50%;
*margin-top:0;
*top:-50%
}
.fc-state-default .fc-button-effect {
position: absolute;
top: 50%;
left: 0
}
.fc-state-default .fc-button-effect span {
position: absolute;
top: -100px;
left: 0;
width: 500px;
height: 100px;
border-width: 100px 0 0 1px;
border-style: solid;
border-color: #fff;
background: #444;
opacity: .09;
filter: alpha(opacity=9)
}
.fc-state-default, .fc-state-default .fc-button-inner {
border-style: solid;
border-color: #ccc #bbb #aaa;
color: #000
}
.fc-state-hover, .fc-state-hover .fc-button-inner {
border-color: #999
}
.fc-state-down {
border-color: #555;
background: #777
}
.fc-state-active, .fc-state-active .fc-button-inner {
border-color: #555;
background: #777;
color: #fff
}
.fc-state-disabled, .fc-state-disabled .fc-button-inner {
color: #999;
border-color: #ddd
}
.fc-state-disabled {
cursor: default
}
.fc-state-disabled .fc-button-effect {
display: none
}
.fc-event {
border-style: solid;
border-width: 0;
font-size: .85em;
cursor: default
}
a.fc-event, .fc-event-draggable {
cursor: pointer
}
a.fc-event {
text-decoration: none
}
.fc-rtl .fc-event {
text-align: right
}
.fc-event-skin {
border-color: #3f85f5;
background-color: #5e96ea;
color: #fff
}
.fc-event-inner {
position: relative;
width: 100%;
height: 100%;
border-style: solid;
border-width: 0;
overflow: hidden
}
.fc-event-time, .fc-event-title {
padding: 0 1px
}
.fc .ui-resizable-handle {
display: block;
position: absolute;
z-index: 99999;
overflow: hidden;
font-size: 300%;
line-height: 50%
}
.fc-event-hori {
border-width: 1px 0;
margin-bottom: 1px
}
.fc-event-hori .ui-resizable-e {
top: 0 !important;
right: -3px !important;
width: 7px !important;
height: 100% !important;
cursor: e-resize
}
.fc-event-hori .ui-resizable-w {
top: 0 !important;
left: -3px !important;
width: 7px !important;
height: 100% !important;
cursor: w-resize
}
.fc-event-hori .ui-resizable-handle {
_padding-bottom: 14px
}
.fc-corner-left {
margin-left: 1px
}
.fc-corner-left .fc-button-inner, .fc-corner-left .fc-event-inner {
margin-left: -1px
}
.fc-corner-right {
margin-right: 1px
}
.fc-corner-right .fc-button-inner, .fc-corner-right .fc-event-inner {
margin-right: -1px
}
.fc-corner-top {
margin-top: 1px
}
.fc-corner-top .fc-event-inner {
margin-top: -1px
}
.fc-corner-bottom {
margin-bottom: 1px
}
.fc-corner-bottom .fc-event-inner {
margin-bottom: -1px
}
.fc-corner-left .fc-event-inner {
border-left-width: 1px
}
.fc-corner-right .fc-event-inner {
border-right-width: 1px
}
.fc-corner-top .fc-event-inner {
border-top-width: 1px
}
.fc-corner-bottom .fc-event-inner {
border-bottom-width: 1px
}
table.fc-border-separate {
border-collapse: separate
}
.fc-border-separate th, .fc-border-separate td {
border-width: 1px 0 0 1px
}
.fc-border-separate th.fc-last, .fc-border-separate td.fc-last {
border-right-width: 1px
}
.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td {
border-bottom-width: 0px
}
.fc-first {
border-left-width: 0 !important
}
.fc-last {
border-right-width: 0 !important
}
.fc-grid th {
text-align: center
}
.fc-grid .fc-day-number {
float: right;
padding: 0 2px
}
.fc-grid .fc-other-month .fc-day-number {
opacity: 0.3;
filter: alpha(opacity=30)
}
.fc-grid .fc-day-content {
clear: both;
padding: 2px 2px 1px
}
.fc-grid .fc-event-time {
font-weight: bold
}
.fc-rtl .fc-grid .fc-day-number {
float: left
}
.fc-rtl .fc-grid .fc-event-time {
float: right
}
.fc-agenda table {
border-collapse: separate
}
.fc-agenda-days th {
text-align: center
}
.fc-agenda .fc-agenda-axis {
width: 60px !important;
padding: 0 4px;
vertical-align: middle;
text-align: right;
white-space: nowrap;
font-weight: normal
}
.fc-agenda .fc-day-content {
padding: 2px 2px 1px
}
.fc-agenda-days .fc-agenda-axis {
border-right-width: 1px
}
.fc-agenda-days .fc-col0 {
border-left-width: 0
}
.fc-agenda-allday th {
border-width: 0 1px
}
.fc-agenda-allday .fc-day-content {
min-height: 34px;
_height: 34px
}
.fc-agenda-divider-inner {
height: 2px;
overflow: hidden
}
.fc-widget-header .fc-agenda-divider-inner {
background: #eee
}
.fc-agenda-slots th {
border-width: 1px 1px 0
}
.fc-agenda-slots td {
border-width: 1px 0 0;
background: none
}
.fc-agenda-slots td div {
height: 20px
}
.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td {
border-top-width: 0
}
.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td {
border-top-style: dotted
}
.fc-agenda-slots tr.fc-minor th.ui-widget-header {
*border-top-style:solid
}
.fc-event-vert {
border-width: 0 1px
}
.fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content {
position: relative;
z-index: 2;
width: 100%;
overflow: hidden
}
.fc-event-vert .fc-event-time {
white-space: nowrap;
font-size: 10px
}
.fc-event-vert .fc-event-bg {
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
opacity: .3;
filter: alpha(opacity=30)
}
.fc .ui-draggable-dragging .fc-event-bg, .fc-select-helper .fc-event-bg {
display: none\9
}
.fc-event-vert .ui-resizable-s {
bottom: 0 !important;
width: 100% !important;
height: 8px !important;
overflow: hidden !important;
line-height: 8px !important;
font-size: 11px !important;
font-family: monospace;
text-align: center;
cursor: s-resize
}
.fc-agenda .ui-resizable-resizing {
_overflow: hidden
}
.fc-header-left .fc-button-prev .fc-button-inner {background: url('../img/icons-sa7c41345d9.png') no-repeat; background-position: 0 -351px;
height: 16px;
width: 11px;}
.fc-header-left .fc-button-next .fc-button-inner {background: url('../img/icons-sa7c41345d9.png') no-repeat; background-position: 0 -367px;
height: 16px;
width: 11px;}
/*------------------------------------------------------------------
[8. Miscellaneous]
*/
.chart-holder {
width: 100%;
height: 250px;
}
.dropdown-menu li>a:hover, .dropdown-menu .active>a, .dropdown-menu .active>a:hover { background:#f26f24;}
.accordion-heading { background:#e5e5e5; }
.accordion-heading a { color:#545454; text-decoration:none; font-weight:bold; }
.btn-facebook-alt i {
color: #23386a;
}
.btn-twitter-alt i {
color: #0098d0;
}
.btn-google-alt i {
color: #b6362d;
}
.btn-linkedin-alt i {
color: #0073b2;
}
.btn-pinterest-alt i {
color: #ab171e;
}
.btn-github-alt i {
color: #333;
}
.all-icons li { list-style:none;}
.ML0 { margin-left:0}
.MR0 { margin-right:0;}
/*------------------------------------------------------------------
[1. Max Width: 480px]
*/
@media (max-width: 480px) {
.error-container h1 {
font-size: 72px;
}
.span5 .widget .widget-content.schedule {
width: 60px;
}
}
/*------------------------------------------------------------------
[1. Max Width: 767px]
*/
@media (max-width: 767px) {
#main {
padding: 0 10px;
margin-right: -20px;
margin-left: -20px;
}
.navbar-fixed-top {
position: static;
margin-bottom: 0;
}
.subnavbar {
margin-left: -20px;
margin-right: -20px;
}
.subnavbar-inner {
height: auto;
}
.subnavbar .container {
width: auto;
}
.subnavbar .container > ul {
width: 100%;
height: auto;
border: none;
}
.subnavbar .container > ul > li {
width: 33%;
height: 70px;
margin-bottom: 0;
min-width: 90px;
border: none;
}
.subnavbar .container > ul > li.b-right {
border-right: none;
}
.subnavbar .container > ul > li.active > a {
font-size: 11px;
background: transparent;
}
.subnavbar .container > ul > li > a > i {
display: inline-block;
margin-bottom: 0;
width: 24px;
height: 24px;
font-size: 20px;
}
.widget .widget-content .span5 {
padding-bottom: 15px;
}
.input-schedule .span3 {
width: 156px;
}
.subnavbar-open-right .dropdown-menu {
left: auto;
right: 0;
}
.subnavbar-open-right .dropdown-menu:before {
left: auto;
right: 12px;
}
.subnavbar-open-right .dropdown-menu:after {
left: auto;
right: 13px;
}
.extra {
margin-right: -20px;
margin-left: -20px;
}
.extra .container {
padding: 0 20px;
}
.footer {
margin-right: -20px;
margin-left: -20px;
}
.footer .container {
padding: 0 20px;
}
.footer .footer-terms {
text-align: left;
}
.footer .footer-terms a {
margin-left: 0;
margin-right: 1em;
}
}
/*------------------------------------------------------------------
[3. Max Width: 979px]
*/
@media (max-width: 979px) {
.navbar-fixed-top {
position: static;
margin-bottom: 0;
}
.subnavbar {
}
.subnavbar .container {
width: auto;
}
}
@media (max-width: 1380px) {
.navbar-fixed-top {
position: static;
margin-bottom: 0;
}
.subnavbar {
}
.subnavbar .container {
width: auto;
text-align: center;
}
}
/*------------------------------------------------------------------
[2. Max Width: 1200px]
*/
@media (min-width: 1200px) {
.navbar .search-query {
width: 200px;
}
}
}
/*------------------------------------------------------------------
Bootstrap Admin Template by EGrappler.com
------------------------------------------------------------------*/
/** Base Body Styles ../../img/body-bg.png**/
body{ background: url(../../img/bg-oren2.jpg); color: white; font: 13px/1.7em 'Open Sans';}
.account-container {
width: 380px;
display: block;
margin: 80px auto 0 auto;
background: #333;
/**border: 1px solid #d5d5d5;*/
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
box-shadow: 0px 0px 2px #666, inset 0px -3px 0px #999;
}
.content {
padding: 16px 28px 23px;
}
.login-fields {
}
.login-fields .field {
margin-bottom: 1.25em;
}
.login-fields label {
display: none;
}
.login-fields input {
font-family: 'Open Sans';
font-size: 13px;
color: #8e8d8d;
padding: 11px 15px 10px 50px;
background-color: #fdfdfd;
width: 255px;
display: block;
margin: 0;
box-shadow: inset 2px 2px 4px #f1f1f1;
border-radius: 3px;
}
.username-field { background: url(../../img/signin/user.png) no-repeat; }
.password-field { background: url(../../img/signin/password.png) no-repeat; }
.login-actions {
float: left;
width: 100%;
margin-top: -1em;
margin-bottom: 1.25em;
}
.login-social {
float: left;
padding: 10px 0 15px;
border: 1px dotted #CCC;
border-right: none;
border-left: none;
}
span.login-checkbox {
float: left;
margin-top: 31px;
}
span.login-checkbox > input[type='checkbox'] {
opacity: 0;
float: left;
width: 15px;
}
span.login-checkbox > input[type='checkbox'] + label {
clear: none;
height: 15px;
display: block;
padding: 0 0 0 22px;
margin: 0;
font-size: 12px;
line-height: 1.2em;
background: url(../../img/signin/check.png) no-repeat 0 0;
cursor: pointer;
}
span.login-checkbox > input[type='checkbox']:checked + label {
background-position: 0 -15px;
}
/** Text Under Box**/
.login-extra {
display: block;
width: 300px;
margin: 1.5em auto;
text-align: left;
line-height: 19px;
/*text-shadow: 1px 1px 0px #fff; */
}
.login-extra a {
color: #333;
font-weight: bold;
}
/**fy logo**/
.img-responsive {
max-width: 120px;
}
.account-container h1 {
margin-bottom: .4em;
color: #525252;
}
#power-by {
color: #F26F24;
display:inline-block;
position:relative;
}
.centered-text {
text-align: center;
font-size: 15px;
}
/** Buttons **/
.twitter, .fb {
position: relative;
height: 32px;
width: 157px;
display: block;
background: url(../../img/signin/twitter_btn.png) no-repeat;
}
.fb {
width: 162px;
background: url(../../img/signin/fb_btn.png) no-repeat;
}
.twitter:active, .fb:active {
top: 1px;
}
.twitter:hover, .fb:hover {
background-position: 0 -32px;
}
.twitter a, .fb a {
padding: 5px 0 0 35px;
text-shadow: -1px -1px 0px rgba(0,0,0,.3);
color:#fff;
font-weight: bold;
font-size: 11px;
height: 32px;
display: block;
}
.fb a {
padding: 5px 0 0 31px;
}
.twitter, .fb {
display: inline-block;
}
.twitter a:hover, .fb a:hover {
color: #FFF;
text-decoration: none;
}
.button {-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; display: inline-block; float: right; margin-top: 18px; background-color: #F26F24; color: white ;}
.register .login-social {
margin-bottom: 1em;
}
.register .login-actions {
margin-bottom: 0;
}
.register .login-fields input {
width: 299px;
padding-left: 6px;
}
.register h1 {
color: white;
}
.register span.login-checkbox {
position: relative;
top: -6px;
width: 200px;
}
.register span.login-checkbox > input[type="checkbox"] + label {
position: relative;
line-height: 1.3em;
}
@media (max-width: 480px) {
.account-container {
width: 265px;
margin-top: 35px;
}
.login-fields input {
width: 145px;
}
.login-extra {
text-align: center;
margin-left: -15px;
}
.login-social {
width: 100%;
}
.twitter {
display: block;
margin-bottom: 1em;
}
.register .login-fields input {
width: 204px;
padding-left: 6px;
}
}