mirror of
https://github.com/blueprint-community/extension-pteromonaco.git
synced 2026-02-18 19:41:53 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b672feedc5 | ||
|
|
f02a60d3d9 | ||
|
|
91de51d4b6 | ||
|
|
ee8e96b221 | ||
|
|
7b1a998248 | ||
|
|
b4f66610a4 | ||
|
|
6bc1f8ddb6 | ||
|
|
9c4e19b360 | ||
|
|
00a8d64de0 | ||
|
|
c65ba66980 | ||
| c5cb756811 | |||
| 64faf93a11 | |||
| bec87d1493 | |||
|
|
59af15d5c6 |
13
.github/ISSUE_TEMPLATE/bug_report.md
vendored
13
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,8 +1,8 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
title: "[BUG] "
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
@@ -28,11 +28,10 @@ If applicable, add screenshots to help explain your problem.
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Browser [e.g. stock browser, safari]
|
||||
- Version [e.g. 22]
|
||||
**Panel Info (please complete the following information):**
|
||||
- Pterodactyl Version: [e.g. 1.11.11]
|
||||
- Blueprint Version: [e.g. beta-2024-12]
|
||||
- Blueprint Addons [e.g. PteroMonaco, Nebula, Any others]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Zephrynis & Contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
22
README.md
22
README.md
@@ -1,6 +1,22 @@
|
||||
# PteroMonaco
|
||||
Replaces the regular pterodactyl file editor with Monaco
|
||||
<!-- START BLUEPRINT-MANAGED README -->
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This project is an unofficial project hosted on the [`blueprint-community`](https://github.com/blueprint-community) GitHub organization.
|
||||
> [Blueprint](https://blueprint.zip) does not create, endorse or maintain these projects.
|
||||
>
|
||||
> You are free to contribute, fork and reuse sections of this codebase [in accordance with this projects' license](LICENSE).
|
||||
|
||||
<br>
|
||||
|
||||
<h2 align="center"> PteroMonaco </h2>
|
||||
<p align="center"> Replaces the regular pterodactyl file editor with Monaco </p>
|
||||
|
||||
<br>
|
||||
|
||||
<!-- END BLUEPRINT-MANAGED README -->
|
||||
|
||||
|
||||
|
||||
## Steps to install
|
||||
1. Drop pteromonaco.blueprint into your pterodactyl root folder (This is usually /var/www/pterodactyl/)
|
||||
2. Run "blueprint -i pteromonaco" in the terminal
|
||||
2. Run "blueprint -i pteromonaco" in the terminal
|
||||
|
||||
@@ -360,10 +360,12 @@ const Editor = () => {
|
||||
// Add keyboard shortcut for Ctrl+S (Windows/Linux) and Cmd+S (macOS)
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (event: KeyboardEvent) => {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key === 's') {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 's') {
|
||||
event.preventDefault();
|
||||
if (action === 'edit') {
|
||||
save();
|
||||
} else if (action === 'new') {
|
||||
setModalVisible(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
4
conf.yml
4
conf.yml
@@ -2,7 +2,7 @@ info:
|
||||
name: "PteroMonaco"
|
||||
identifier: "pteromonaco"
|
||||
description: "Replaces the regular pterodactyl file editor with Monaco"
|
||||
version: "1.1"
|
||||
version: "1.2"
|
||||
target: "beta-2024-12"
|
||||
author: "Zephrynis"
|
||||
icon: "icon.png"
|
||||
@@ -13,4 +13,4 @@ admin:
|
||||
|
||||
dashboard:
|
||||
css: "style.css"
|
||||
components: "components"
|
||||
components: "components"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.igexuH, .eDlcZT {
|
||||
.FileEditContainer___StyledDiv3-sc-48rzpu-7, .FileEditContainer___StyledDiv4-sc-48rzpu-8 {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
min-height: 16rem;
|
||||
}
|
||||
|
||||
.cDkCmT {
|
||||
.Button__ButtonStyle-sc-1qu1gou-0 {
|
||||
flex: 1 1 0%;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.cDkCmT {
|
||||
.Button__ButtonStyle-sc-1qu1gou-0 {
|
||||
flex: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user