picker getting closer....
This commit is contained in:
parent
023f1651f8
commit
537b430224
20 changed files with 179 additions and 100 deletions
|
@ -9,6 +9,8 @@ var (
|
|||
Color: 0xa20000,
|
||||
Permissions: 0,
|
||||
Position: 10,
|
||||
Safe: true,
|
||||
Selected: true,
|
||||
}
|
||||
RoleWithDarkMediumColor = types.Role{
|
||||
ID: "dark-medium-color",
|
||||
|
@ -16,6 +18,7 @@ var (
|
|||
Color: 0xeb5e4b,
|
||||
Permissions: 0,
|
||||
Position: 11,
|
||||
Safe: true,
|
||||
}
|
||||
RoleWithLightMediumColor = types.Role{
|
||||
ID: "light-medium-color",
|
||||
|
@ -23,6 +26,8 @@ var (
|
|||
Color: 0xfa8373,
|
||||
Permissions: 0,
|
||||
Position: 11,
|
||||
Safe: true,
|
||||
Selected: true,
|
||||
}
|
||||
RoleWithLightColor = types.Role{
|
||||
ID: "light-color",
|
||||
|
@ -30,6 +35,7 @@ var (
|
|||
Color: 0xffaa88,
|
||||
Permissions: 0,
|
||||
Position: 12,
|
||||
Safe: true,
|
||||
}
|
||||
RoleWithoutColor = types.Role{
|
||||
ID: "without-color",
|
||||
|
@ -37,6 +43,24 @@ var (
|
|||
Color: 0x000000,
|
||||
Permissions: 0,
|
||||
Position: 11,
|
||||
Safe: true,
|
||||
}
|
||||
RoleUnsafe = types.Role{
|
||||
ID: "unsafe",
|
||||
Name: "unsafe",
|
||||
Color: 0x00c200,
|
||||
Permissions: 0,
|
||||
Position: 11,
|
||||
Safe: false,
|
||||
}
|
||||
RoleUnsafePicked = types.Role{
|
||||
ID: "unsafe-picked",
|
||||
Name: "picked",
|
||||
Color: 0x0000c2,
|
||||
Permissions: 0,
|
||||
Position: 11,
|
||||
Safe: false,
|
||||
Selected: true,
|
||||
}
|
||||
//TODO: role with admin (bad)
|
||||
//TODO: role with manage roles (bad)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue