This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Credits to : http://codepen.io/absolutholz/post/flex-box-grid-with-sass-mixins | |
| //for this awesome port of Kristopher Joseph's | |
| //awesome www.http://flexboxgrid.com/ | |
| //Define your break points : xs, sm, md, lg | |
| $viewport-layouts: ( | |
| "xs":("min-width": $xs), | |
| "sm":("min-width": $sm), | |
| "md":("min-width": $md), | |
| "lg":("min-width": $lg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Directive, Input, TemplateRef, ViewContainerRef, EmbeddedViewRef, ChangeDetectorRef } from '@angular/core'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import { Subscription } from 'rxjs/Subscription'; | |
| @Directive({ | |
| selector: '[streamContext][streamContextOn]' | |
| }) | |
| export class StreamContext { | |
| @Input() streamContextOn: Observable<any>; | |
| templateRef: TemplateRef<any>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html ng-app="sasApp"> | |
| <head> | |
| <title>AngularJS Test</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MIT: http://opensource.org/licenses/MIT | |
| angular.module('app', []); | |
| angular.module('app').controller | |
| ( 'MainCtrl' | |
| , function($scope,$locale) { | |
| $scope.currentYear = new Date().getFullYear() | |
| $scope.currentMonth = new Date().getMonth() + 1 | |
| $scope.months = $locale.DATETIME_FORMATS.MONTH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-sm-6 col-md-4 col-md-offset-4"> | |
| <h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1> | |
| <div class="account-wall"> | |
| <img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" | |
| alt=""> | |
| <form class="form-signin"> | |
| <input type="text" class="form-control" placeholder="Email" required autofocus> | |
| <input type="password" class="form-control" placeholder="Password" required> |