Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nord #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified PVEDiscordDark.sh
100644 → 100755
Empty file.
Binary file modified PVEDiscordDark/images/dd_date-trigger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PVEDiscordDark/images/dd_icon-cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 80 additions & 1 deletion PVEDiscordDark/images/dd_icon-die.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion PVEDiscordDark/images/dd_icon-fa-network-wired.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion PVEDiscordDark/images/dd_icon-sdn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PVEDiscordDark/images/dd_icon-serial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 32 additions & 1 deletion PVEDiscordDark/images/dd_loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PVEDiscordDark/images/dd_logo_blurp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PVEDiscordDark/images/dd_tool-sprites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions PVEDiscordDark/js/PVEDiscordDark.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const COLOR_DARK = '#2C2F33'
const COLOR_DARKER = '#23272a'
const COLOR_BLURPLE = '#526DD1'
const COLOR_YELLOW = '#faa61a'
const COLOR_RED = '#ba2b2d'
const COLOR_DARK = '#434C5E'
const COLOR_DARKER = '#353C4A'
const COLOR_BLURPLE = '#8FBCBB'
const COLOR_YELLOW = '#E9BC50'
const COLOR_RED = '#992C2E'


const swapLogo = async function() {
Expand Down
2 changes: 1 addition & 1 deletion PVEDiscordDark/sass/PVEDiscordDark.css

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions PVEDiscordDark/sass/_vars.sass
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$blurple: #526DD1
$green: #43b581
$yellow: #faa61a
$red: #ba2b2d
$redlight: #d23d3f
$dark: #2C2F33
$darker: #23272a
$lightGray: #666
$light: #4A4D53
$blurple: #8FBCBB
$green: #33A15E
$yellow: #E9BC50
$red: #992C2E
$redlight: #B94F51
$dark: #434C5E
$darker: #353C4A
$light: #3D4656
//$darker: #2A2F3A
12 changes: 2 additions & 10 deletions PVEDiscordDark/sass/special/_icons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,18 @@

.fa-fw.x-grid-icon-custom.fa
&.fa-database
color: $lightGray
&.available
color: $blurple
color: $blurple
&.fa-desktop
color: $blurple
&.stopped
color: $lightGray
&.fa-cube
color: $blurple
&.stopped
color: $lightGray
&.fa-file-o
&:before
color: rgba($blurple, 0.6)
&:after
color: $lightGray
color: $blurple
background: transparent
text-shadow: none
&.fa-tags
color: $lightGray

.lxc:after
background: transparent !important
Expand Down
2 changes: 1 addition & 1 deletion PVEDiscordDark/sass/special/_proxmox.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.proxmox-invalid-row
background-color: #401314
background-color: #57191A

.usage
background-color: $blurple
Expand Down
6 changes: 3 additions & 3 deletions PVEDiscordDark/sass/special/_specific.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#button-1030
background: $darker
border: 1px solid #d23d3f
border: 1px solid #B94F51

#menuitem-1030-iconEl
color: white
Expand All @@ -15,7 +15,7 @@
color: white

#menuitem-1034-iconEl
color: #c52d2f
color: #992C2E

[id^="pveNodeStatus"]
background: $darker
Expand Down Expand Up @@ -87,7 +87,7 @@ a[id^="menuitem-"][id$="-itemEl"] div[class*="fa-trash-o"]:before
// Userinfo button specifics
#userinfo.x-btn
background-color: transparent !important
border: 1px solid #d23d3f !important
border: 1px solid #B94F51 !important
div[id="menu-1029-targetEl"] > div[class*="x-menu-item"]
background: $dark
div[id="menu-1029-targetEl"] > div[class*="x-menu-item"] > a[class*="x-menu-item-focus"]
Expand Down
8 changes: 2 additions & 6 deletions PVEDiscordDark/sass/x/_tree.sass
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,25 @@
color: $blurple !important
&.x-tree-icon-leaf.fa
&.fa-cube
color: $lightGray !important
color: $blurple !important
&.running
color: $blurple !important
&.fa-fw.fa-unlock
color: white
&.fa-desktop
color: $blurple !important
&.stopped
color: $lightGray !important
&.fa-database
color: $blurple !important
&.fa-file-o
&:before
color: rgba($blurple, 0.6)
&:after
color: $lightGray
color: $blurple
background: transparent
text-shadow: none
&.fa-building.online
&:before
color: $blurple
&.fa-tags
color: $lightGray !important
&.lock-migrate:after
color: $yellow

Expand Down
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
The theme now runs its own JavaScript code which patches the colors for certain components (and charts). This approach is much better, and safer than what was used previously.

## Installation
The installation is done via the CLI utility. Run the following commands on the PVE node serving the Web UI: Clearing browser cache is necessary to see the changes.
The installation is done via the CLI utility. Run the following commands on the PVE node serving the Web UI:

```
~# wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh
Expand All @@ -21,10 +21,9 @@ Or this oneliner
bash <(curl -s https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh ) install
```

Note that you will need to run the install command every time `pve-manager` is updated (i.e. after every Proxmox update)

## Uninstallation
To uninstall the theme, simply run the utility with the `uninstall` command. Clearing browser cache is necessary to see the changes.
To uninstall the theme, simply run the utility with the `uninstall` command.

## Installer & Security
The new installer relies on the `/meta/supported` and `/meta/imagelist` files being present in the repository. It also includes a silent mode. Run `bash PVEDiscordDark.sh -h` for usage instructions.
Expand All @@ -40,12 +39,7 @@ The `offline` folder must have the following files: `meta/[imagelist, supported]

You can find a zip containing the installer and offline folder under the artifact section of the GitHub Actions under this repository or as an asset attached to releases.

## Contributors
Thanks to everybody who contributed to this project, and additional thanks to [Crinisus](https://github.com/crinisus) for catching bugs for the rewrite!

<a href="https://github.com/weilbyte/pvediscorddark/graphs/contributors">
<img src="https://contrib.rocks/image?repo=weilbyte/pvediscorddark" />
</a>

## Notes
Thanks to [jonasled](https://github.com/jonasled) for helping out with the old version, and thanks to [SmallEngineMechanic](https://github.com/smallenginemechanic) for catching bugs for the rewrite!

*Awoo'ing on this repo is encouraged.*