Commit graph

40 commits

Author SHA1 Message Date
Dane Everitt
6b52a36b31
Significantly reduce the number of re-renders on the console page when stats are flowing 2020-10-03 19:36:26 -07:00
Oreo Oreoniv
6893f9bfcd
Fixes for mobile responsiveness on the console page (#2411) 2020-10-03 11:21:09 -07:00
Dane Everitt
1db7e4db66
Request stats from wings when loading the console; closes pterodactyl/panel#2414 2020-09-27 09:45:37 -07:00
Charles Morgan
c928214a83
Fix overflows through out the front end (#2382)
* Fix overflows through out the front end

Fixed Server row overflow for servers name and description
Fixed Sub-user overflow for users with oddly long emails....
Fixed Server new overflow on console view.

See Attached images.

* Remove conflicting server name limits
2020-09-22 19:37:41 -07:00
Rihan
9a4c0d8ba7
Make interface mobile responsive (#2273) 2020-09-13 10:02:25 -07:00
Dane Everitt
74767ed6a2
Disable buttons when not fully connected to instance 2020-09-11 23:18:01 -07:00
Dane Everitt
1598dac6f8
Remove more references to useServer 2020-08-25 21:39:00 -07:00
Charles Morgan
6d79ad23a5
Attempt 2?
80% sure this isn't how to use react-helmet.... but it works....
2020-07-26 23:32:24 -04:00
Matthew Penner
a9bb692112
Merge branch 'develop' into fix/2071 2020-07-11 12:29:04 -06:00
Dane Everitt
7f5ee04978
Remove a hilarious number of unused dependencies 2020-07-04 19:01:49 -07:00
Dane Everitt
732594a164
Remove unused imports 2020-07-04 18:46:09 -07:00
Dane Everitt
1e163aa792
Get server console page rendering (mostly) correctly 2020-07-04 15:40:41 -07:00
Matthew Penner
e4d141fa6f
Merge branch 'develop' into fix/2071 2020-07-04 15:22:25 -06:00
Matthew Penner
e903d4cc2a Use 1024 instead of 1000 for byte conversions, rename gloabl.d.ts to global.d.ts 2020-06-10 14:00:43 -06:00
Charles Morgan
3b42f110fb
Show BytestoHuman value, not server limit, change graph
Changes server view to use bytestohuman to show 10 GB like it does on the main index.

Removed animation duration so the graph dosn't look likes it glitching when a new value is pushed, also made it a little more curved.
2020-05-27 00:00:50 -04:00
Charles Morgan
917a1e8a87
Update ServerConsole.tsx 2020-05-18 13:33:02 -04:00
Charles Morgan
3df0febd0c
Less Lines = Better
Same logic, just more compact and react like
2020-05-17 00:34:25 -04:00
Charles Morgan
564933fcb1
Show "unlimited" not 0
Shows unlimited for resources if they're set to "0"
Im sure we could also just remove the "of {limit}" part if its unlimited? Dane Advise

Im sure there is a 100x better way of doing this? Dane please advise.
2020-05-16 03:16:06 -04:00
Dane Everitt
6056b6f45d
Show console when an admin is viewing an installing server 2020-04-26 13:21:39 -07:00
AreYouScared
c54cbe6638 Update Admin CSS / Few css fixes
Changed `code` color to be a little lighter, more contrast / easier to read (From #999 to #c3c3c3)
Added Readonly style, was white box with grey letters. Changes to Dark grey box and white letters.
Changed cursor for disabled / read-only to `not-allowed` instead of `text`
Closes #1918 -> Dropdown text was grey with a grey background.
Added Green and Yellow Text colors
Added Text-Danger
Changed Link color, to be a tad lighter
Added well/well-sm/well-lg to pterodactyl.css
Changed well to match the dark theme.
Hovering over Start / Restart show respective colors Green / Blue
2020-04-19 08:30:52 -04:00
Dane Everitt
5252f3f9d3
Show error message when attempting to connect to a websocket 2020-04-17 12:41:47 -07:00
Dane Everitt
e6a61fbe9b
Update views to support a more logical container 2020-04-17 11:17:01 -07:00
AreYouScared
4fee35e7e8
Update ServerConsole.tsx
Added spaces to be properly spaced apart from current usage
2020-04-13 18:40:04 -04:00
AreYouScared
451833cb8c Add Disk User
Added Disk usage to console page, matches same inforamtion on overview page.
2020-04-11 23:57:49 -04:00
Dane Everitt
171b21e7ee
Add permissions handling to the console; remove kill permission (wrapped in with stop) 2020-03-29 22:12:50 -07:00
Dane Everitt
c4fdcb5937
Fix navigation bar issues 2019-12-22 21:22:08 -08:00
Dane Everitt
ae3f05b8f7
Always show the resource graph boxes 2019-12-07 11:11:40 -08:00
Dane Everitt
2e32df98ea
First iteration of a file manager 2019-10-12 15:29:45 -07:00
Dane Everitt
29834a33f8
Add support for showing usage graphs on the console page 2019-09-29 13:23:15 -07:00
Dane Everitt
c66d2cd123
A few adjustments for chunking the new file edit page 2019-09-28 14:59:05 -07:00
Dane Everitt
0108035c05
Fix some typescript typing issues 2019-09-28 13:29:49 -07:00
Dane Everitt
79571e1928
Add button to toggle kill option after pressing stop once 2019-09-28 13:17:51 -07:00
Dane Everitt
5df46b23d2
Add power controls 2019-09-17 23:12:38 -07:00
Dane Everitt
75cd49a1c2
Chunk out the console to only load when needed 2019-09-17 22:33:14 -07:00
Dane Everitt
49de1d0ed4
Fixes for console socket disconnecting with HMR enabled 2019-09-17 21:59:35 -07:00
Dane Everitt
986285402f
Switch to a context store for server stuff to better support things in the future 2019-07-09 21:25:57 -07:00
Dane Everitt
6db9f65e0f
Hide spinner when connected to websocket 2019-06-29 16:59:50 -07:00
Dane Everitt
f0ca8bc3a3
Handle connecting to websocket instance
Very beta code for handling sockets
2019-06-29 16:14:32 -07:00
Dane Everitt
109bed4f7d
Add basic navigation bar to server view 2019-06-28 22:49:08 -07:00
Dane Everitt
8ac8a370f8
Fix some issues with navigating in the router and bad animations 2019-06-28 22:17:29 -07:00