fix inventor
This commit is contained in:
parent
dc35ad5bf1
commit
10b6a7d47b
|
@ -10,7 +10,7 @@ angular.module('warehost')
|
||||||
alert.set({});
|
alert.set({});
|
||||||
$scope.list = {};
|
$scope.list = {};
|
||||||
$scope.obj = {};
|
$scope.obj = {};
|
||||||
$scope.invitor = {}
|
$scope.invitor = {};
|
||||||
|
|
||||||
function resetObj(){
|
function resetObj(){
|
||||||
$scope.obj = {};
|
$scope.obj = {};
|
||||||
|
@ -51,7 +51,7 @@ angular.module('warehost')
|
||||||
$scope.add = function(){
|
$scope.add = function(){
|
||||||
$http.post(config.api+'/invite',$scope.obj).then(submitresult);
|
$http.post(config.api+'/invite',$scope.obj).then(submitresult);
|
||||||
};
|
};
|
||||||
$scope.toggleAdmin = function(a){
|
$scope.toggleAdmin = function(){
|
||||||
$http.put(config.api+'/invitor').then(submitresult);
|
$http.put(config.api+'/invitor').then(submitresult);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
<!-- endbower -->
|
<!-- endbower -->
|
||||||
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" />
|
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" />
|
||||||
<link rel="stylesheet" href="bower_components/bootswatch/lumen/bootstrap.min.css" />
|
<link rel="stylesheet" href="bower_components/bootswatch/lumen/bootstrap.min.css" />
|
||||||
<!-- endbuild -->
|
|
||||||
<script src="bower_components/ng-table/dist/ng-table.min.css"></script>
|
<script src="bower_components/ng-table/dist/ng-table.min.css"></script>
|
||||||
|
<!-- endbuild -->
|
||||||
<!-- build:css({.tmp,public}) app/app.css -->
|
<!-- build:css({.tmp,public}) app/app.css -->
|
||||||
<link rel="stylesheet" href="app/app.css">
|
<link rel="stylesheet" href="app/app.css">
|
||||||
<!-- injector:css -->
|
<!-- injector:css -->
|
||||||
|
|
Reference in New Issue