updated dependencies

This commit is contained in:
Mo Bitar
2017-01-07 00:32:46 -06:00
parent 73edae57a2
commit ad678a5d21
13 changed files with 8 additions and 147 deletions

View File

@@ -11,8 +11,6 @@ if(window.crypto.subtle) {
angular.module('app.frontend', [
'ui.router',
'restangular',
'oc.lazyLoad',
'angularLazyImg',
'ngDialog'
])

View File

@@ -1,16 +0,0 @@
.panel.panel-default
.panel-heading
%h3.panel-title Forgot Your Password?
.panel-body
%p We'll send reset instructions to your email.
%form{'ng-submit' => 'requestPasswordReset(forgotData)', 'ng-init' => 'forgotData = {}'}
.form-tag.has-feedback
%input.form-control{:autofocus => 'autofocus', :name => 'email', :placeholder => 'Email', :required => true, :type => 'email', 'ng-model' => 'forgotData.email'}/
%span.glyphicon.glyphicon-envelope.form-control-feedback
.row
.col-sm-8.hidden-xs
%a.btn.btn-link{'ui-sref' => 'auth.login'} Go back to the login page
.col-sm-4
%button.btn.btn-main.btn-block.btn-flat{:type => 'submit'} Reset Password
.col-xs-12.visible-xs
%a.btn.btn-link.btn-block{'ui-sref' => 'auth.login'} Go back to the login page

View File

@@ -1,18 +0,0 @@
.panel.panel-default
.panel-heading
%h3.panel-title Sign in to start your session
.panel-body
%form{'ng-submit' => 'submitLogin(loginData)', 'ng-init' => 'loginData = {}'}
.form-tag.has-feedback
%input.form-control{:autofocus => 'autofocus', :name => 'email', :placeholder => 'Username', :required => true, :type => 'email', 'ng-model' => 'loginData.email'}/
%span.glyphicon.glyphicon-user.form-control-feedback
.form-tag.has-feedback
%input.form-control{:placeholder => 'Password', :name => 'password', :required => true, :type => 'password', 'ng-model' => 'loginData.password'}/
%span.glyphicon.glyphicon-lock.form-control-feedback
.row
.col-sm-8.hidden-xs
%a.btn.btn-link{'ui-sref' => 'auth.forgot'} I forgot my password
.col-sm-4
%button.btn.btn-main.btn-block.btn-flat{:type => 'submit'} Sign in
.col-xs-12.visible-xs
%a.btn.btn-link.btn-block{'ui-sref' => 'auth.forgot'} I forgot my password

View File

@@ -1,15 +0,0 @@
.panel.panel-default.panel-centered
.panel-heading
%h3.panel-title Reset Password
.panel-body
%p Type your new password.
%form{'ng-submit' => 'resetPasswordSubmit()'}
.form-tag.has-feedback
%input.form-control{:placeholder => 'New password', :name => 'password', :required => true, :type => 'password', 'ng-model' => 'resetData.password'}/
%span.glyphicon.glyphicon-lock.form-control-feedback
.form-tag.has-feedback
%input.form-control{:placeholder => 'Password confirmation', :name => 'password_confirmation', :required => true, :type => 'password', 'ng-model' => 'resetData.password_confirmation'}/
%span.glyphicon.glyphicon-lock.form-control-feedback
.row
.col-sm-4.col-sm-offset-8
%button.btn.btn-main.btn-block.btn-flat{:type => 'submit'} Update Password

View File

@@ -1,6 +0,0 @@
.login-box.margin-auto{"style" => "margin-top: 150px;"}
%uib-alert{:type => '{{data.authAlert.type}}', :close => 'data.authAlert = null', 'ng-if' => 'data.authAlert'}
{{data.authAlert.msg}}
%ui-view

View File

@@ -1,5 +1,4 @@
class ApplicationController < ActionController::Base
include DeviseTokenAuth::Concerns::SetUserByToken
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.