Initial admin/user index/show
This commit is contained in:
@@ -18,7 +18,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
resource :profile, only: [ :show, :edit, :destroy ]
|
||||
namespace :admin do
|
||||
resources :users
|
||||
resources :users, only: [ :index, :show ]
|
||||
resources :jobs
|
||||
resource :dashboard, only: [ :show ]
|
||||
end
|
||||
|
||||
@@ -29,6 +29,12 @@ module.exports = {
|
||||
"status-paid-light": "#86efac", // green-300
|
||||
"status-canceled": "#7f1d1d", // red-900
|
||||
"status-canceled-light": "#fca5a5", // red-300
|
||||
"role-user": "#14532d", // green
|
||||
"role-user-light": "#86efac",
|
||||
"role-operator": "#713f12", // yellow
|
||||
"role-operator-light": "#fde047",
|
||||
"role-admin": "#7f1d1d", // red
|
||||
"role-admin-light": "#fca5a5",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -48,6 +54,12 @@ module.exports = {
|
||||
"text-status-canceled",
|
||||
"bg-status-canceled-light",
|
||||
"border-status-canceled-light",
|
||||
"text-role-user",
|
||||
"bg-role-user-light",
|
||||
"text-role-operator",
|
||||
"bg-role-operator-light",
|
||||
"text-role-admin",
|
||||
"bg-role-admin-light",
|
||||
],
|
||||
plugins: [
|
||||
require("@tailwindcss/forms"),
|
||||
|
||||
Reference in New Issue
Block a user