|
|
@@ -24,6 +24,40 @@
|
|
|
.password .line {
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
+
|
|
|
+.row-operator2 {
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.row-operator2>.operator-menu2 {
|
|
|
+ position: absolute;
|
|
|
+ width: 140px;
|
|
|
+ height: 60;
|
|
|
+ line-height: 30px;
|
|
|
+ padding: 0 10px;
|
|
|
+ top: 30;
|
|
|
+ background-color: #333;
|
|
|
+ border-radius: 0 3px 3px 0;
|
|
|
+ opacity: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.row-operator2>.operator-menu2 a {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.row-operator2>.operator-menu2 a:hover {
|
|
|
+ color: #56a022;
|
|
|
+}
|
|
|
+
|
|
|
+.row-operator2:hover>.operator-menu2 {
|
|
|
+ z-index:100;
|
|
|
+ height: 60px;
|
|
|
+ opacity: .75;
|
|
|
+ -webkit-transition: all 0s ease-in-out;
|
|
|
+ -moz-transition: all 0s ease-in-out;
|
|
|
+ transition: all 0s ease-in-out;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|
|
|
<div class="loading in" ng-class="{'in': loading}">
|
|
|
<i></i>
|
|
|
@@ -142,15 +176,29 @@
|
|
|
<div class="pane base-info">
|
|
|
<div class="pane-header">
|
|
|
全部用户
|
|
|
- <div class="pull-right">
|
|
|
- <a title="新增用户默认密码为111111" ng-show="adding == true"
|
|
|
- class="btn btn-success btn-sm" ng-disabled="newUserForm.$invalid"
|
|
|
- ng-click="addUser(newUser)" class="text-simple"> <i
|
|
|
- class="fa fa-user-plus fa-fw"></i>确定添加
|
|
|
- </a> <a ng-click="adding = false" ng-show="adding == true"
|
|
|
- class="text-simple"><i class="fa fa-user-plus fa-fw"></i>取消</a> <a
|
|
|
- ng-click="adding = true" ng-show="adding != true"
|
|
|
- class="text-simple"><i class="fa fa-user-plus fa-fw"></i>添加用户</a>
|
|
|
+ <div class="pull-right" ng-show="user.sys">
|
|
|
+ <a title="新增用户默认密码为111111" ng-show="adding == true" class="btn btn-success btn-sm" ng-disabled="newUserForm.$invalid" ng-click="addUser(newUser)" class="text-simple">
|
|
|
+ <i class="fa fa-user-plus fa-fw"></i>
|
|
|
+ 确定添加
|
|
|
+ </a>
|
|
|
+ <a ng-click="adding = false" ng-show="adding == true" class="text-simple">
|
|
|
+ <i class="fa fa-user-plus fa-fw"></i>
|
|
|
+ 取消
|
|
|
+ </a>
|
|
|
+
|
|
|
+ <!-- 添加用户 start -->
|
|
|
+ <div class="row-operator2">
|
|
|
+ <a ng-show="adding != true" class="text-simple operator-trigger" href="javascript:void(0);">
|
|
|
+ <i class="fa fa-user-plus fa-fw"></i>
|
|
|
+ 添加用户
|
|
|
+ </a>
|
|
|
+ <ul ng-show="adding != true" class="list-unstyle list-inline operator-menu2">
|
|
|
+ <li><a ng-click="adding = true">添加未注册用户</a></li>
|
|
|
+ <li><a ng-click="addExistUser()">添加已注册用户</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <!-- 添加用户 end -->
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pane-body">
|
|
|
@@ -216,7 +264,7 @@
|
|
|
ng-bind="::role.desc | firstchar"></span>
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td class="row-operator">
|
|
|
+ <td class="row-operator" ng-show="user.sys">
|
|
|
<a class="operator-trigger" href="javascript:void(0);"><i class="fa fa-pencil fa-lg"></i></a>
|
|
|
<ul class="list-unstyle list-inline operator-menu">
|
|
|
<li><a ng-click="editUserRole(u)"><i class="fa fa-fw fa-pencil-square-o"></i>编辑</a></li>
|