فهرست منبع

update badge colors of User Management

Yuki Takei 5 سال پیش
والد
کامیت
1cdeeb69b2
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      src/client/js/components/Admin/UserManagement.jsx
  2. 2 2
      src/client/js/components/Admin/Users/UserTable.jsx

+ 2 - 2
src/client/js/components/Admin/UserManagement.jsx

@@ -174,11 +174,11 @@ class UserManagement extends React.Component {
 
 
             <div className="col-md-6 my-2">
             <div className="col-md-6 my-2">
               <div className="form-inline">
               <div className="form-inline">
-                {this.renderCheckbox('all', 'All', 'primary')}
+                {this.renderCheckbox('all', 'All', 'secondary')}
                 {this.renderCheckbox('registered', 'Approval Pending', 'info')}
                 {this.renderCheckbox('registered', 'Approval Pending', 'info')}
                 {this.renderCheckbox('active', 'Active', 'success')}
                 {this.renderCheckbox('active', 'Active', 'success')}
                 {this.renderCheckbox('suspended', 'Suspended', 'warning')}
                 {this.renderCheckbox('suspended', 'Suspended', 'warning')}
-                {this.renderCheckbox('invited', 'Invited', 'info')}
+                {this.renderCheckbox('invited', 'Invited', 'pink')}
               </div>
               </div>
               <div>
               <div>
                 {
                 {

+ 2 - 2
src/client/js/components/Admin/Users/UserTable.jsx

@@ -50,7 +50,7 @@ class UserTable extends React.Component {
         text = 'Deleted';
         text = 'Deleted';
         break;
         break;
       case 5:
       case 5:
-        additionalClassName = 'badge-info';
+        additionalClassName = 'badge-pink';
         text = 'Invited';
         text = 'Invited';
         break;
         break;
     }
     }
@@ -71,7 +71,7 @@ class UserTable extends React.Component {
     const { t } = this.props;
     const { t } = this.props;
 
 
     if (isAdmin) {
     if (isAdmin) {
-      return <span className="badge badge-primary badge-pill ml-2">{t('admin:user_management.user_table.administrator')}</span>;
+      return <span className="badge badge-indigo badge-pill ml-2">{t('admin:user_management.user_table.administrator')}</span>;
     }
     }
   }
   }