remove umb-login

This commit is contained in:
Mads Rasmussen
2018-08-09 20:41:26 +02:00
parent 67e0b68b7b
commit ab90690e17
2 changed files with 0 additions and 31 deletions

View File

@@ -1,19 +0,0 @@
/**
* @ngdoc directive
* @name umbraco.directives.directive:umbLogin
* @deprecated
* We plan to remove this directive in the next major version of umbraco (8.0). The directive is not recommended to use.
* @function
* @element ANY
* @restrict E
**/
function loginDirective() {
return {
restrict: "E", // restrict to an element
replace: true, // replace the html element with the template
templateUrl: 'views/directives/_obsolete/umb-login.html'
};
}
angular.module('umbraco.directives').directive("umbLogin", loginDirective);

View File

@@ -1,12 +0,0 @@
<div id="login" ng-show="!authenticated" ng-animate="'slide'" ng-cloak>
<div class="form">
<h1>Happy {{today}}!, log in below</h1>
<div class="control-group">
<input type="text" ng-model="login" class="input-xlarge" placeholder="Enter your username" />
</div>
<div class="control-group">
<input type="password" ng-model="password" class="input-xlarge" placeholder="Enter your password" />
</div>
<input type="button" ng-click="signin()" class="btn" value="Login" />
</div>
</div>