懒得勤快 %!s(int64=5) %!d(string=hai) anos
pai
achega
2621f7515b

+ 6 - 0
src/Masuit.MyBlogs.Core/bundleconfig.json

@@ -106,5 +106,11 @@
     "inputFiles": [
       "wwwroot/ng-views/controllers/links.js"
     ]
+  },
+  {
+    "outputFileName": "wwwroot/ng-views/app/route.config.min.js",
+    "inputFiles": [
+      "wwwroot/ng-views/app/route.config.js"
+    ]
   }
 ]

+ 0 - 2
src/Masuit.MyBlogs.Core/wwwroot/Content/common/loading.css

@@ -162,8 +162,6 @@
 
 .hx-k3 { transform: rotateX(-60deg) rotateZ(-60deg) }
 
-li { list-style: none }
-
 .browserupgrade {
     margin: .2em 0;
     background: #ccc;

+ 1 - 2
src/Masuit.MyBlogs.Core/wwwroot/Content/common/reset.css

@@ -4,8 +4,7 @@ a, abbr, acronym, address, big, cite, code,
 del, dfn, em, img, ins, kbd, q, s, samp,
 small, strike, sub, sup, tt, var,
 b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
+dl, dt, dd, fieldset, form, label, legend,
 table, caption, tbody, tfoot, thead, tr, th, td,
 article, aside, canvas, details, embed,
 figure, figcaption, footer, header, hgroup,

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
src/Masuit.MyBlogs.Core/wwwroot/ng-views/app/route.config.min.js


+ 11 - 8
src/Masuit.MyBlogs.Core/wwwroot/ng-views/controllers/users.js

@@ -3,8 +3,7 @@
 	var self = this;
 	$scope.isAdd = true;
 	$scope.allowUpload=false;
-	
-	$scope.userinfo = {};
+    $scope.userinfo = {};
 	$scope.kw = "";
 	$scope.paginationConf = {
 		currentPage:  1,
@@ -16,9 +15,9 @@
 			self.GetPageData($scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage);
 		}
 	};
+
 	this.GetPageData = function (page, size) {
-		
-		 window.fetch("/user/getusers?page="+page+"&size="+size+"&search="+$scope.kw).then(function(response) {
+        window.fetch("/user/getusers?page="+page+"&size="+size+"&search="+$scope.kw).then(function(response) {
             return response.json();
         }).then(function(data) {
 			$scope.paginationConf.totalItems = data.TotalCount;
@@ -30,9 +29,9 @@
 				dataset: data.Data
 			});
 			self.data = data.Data;
-			
-         });
+        });
 	}
+
 	$scope.remove = function(userinfo) {
 		layer.closeAll();
 		swal({
@@ -46,14 +45,14 @@
 			cancelButtonText: '取消'
 		}).then(function(isConfirm) {
 			if (isConfirm) {
-				
-				$scope.request("/user/delete?id="+userinfo.Id, null, function(data) {
+                $scope.request("/user/delete?id="+userinfo.Id, null, function(data) {
 					swal(data.Message, null, 'success');
 			        self.GetPageData($scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage);
 				});
 			}
 		}).catch(swal.noop);
 	}
+
 	$scope.add = function() {
 		layer.open({
 			type: 1,
@@ -69,6 +68,7 @@
 			}
 		});
 	}
+
 	$scope.edit = function (userinfo) {
 		layer.open({
 			type: 1,
@@ -85,12 +85,14 @@
 		});
 		$scope.userinfo=userinfo;
 	}
+
 	$scope.closeAll= function() {
 		layer.closeAll();
 		setTimeout(function() {
 			$("#edit").css("display", "none");
 		}, 500);
 	}
+
 	$scope.submit = function(userinfo) {
 		$scope.request("/user/save", userinfo, function(data) {
 			$scope.closeAll();
@@ -114,6 +116,7 @@
 			_timeout = null;
 		}, 500);
 	}
+
 	$scope.resetPwd = function (row) {
 		swal({
 			title: '重置密码', 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio