Skip to content

Commit

Permalink
feat(*): do a bunch of stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Oct 31, 2023
1 parent 6a0c829 commit d5901f2
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.vscode
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@



<p align="center">A <b>extremely simple database editing extension</b> for the admin panel of Pterodactyl mainly made as a quick afternoon Blueprint extension. Developers can use this to develop their own extensions and modify database values on the fly.</p>
<p align="center">An <b>extremely simple database editing extension</b> for the admin panel of Pterodactyl mainly made as a quick afternoon Blueprint extension. Developers can use this to develop their own extensions and modify database values on the fly.</p>

<br>

Expand All @@ -22,4 +22,4 @@ To install this extension, download the latest release of dbEdit and drag the `d
<br>

### Removal
To remove this extension from your Pterodactyl panel, run `blueprint -remove dbedit`.
To remove dbEdit from your Pterodactyl panel, run `blueprint -remove dbedit`.
26 changes: 13 additions & 13 deletions admin/view.blade.php
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<div class="row">
<div class="col-xs-12">
<form action="" method="POST">

<!-- Set Database Value -->
<form action="" method="POST">
<div class="col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><i class='bx bx-hash' style='margin-right:5px;'></i></i>Set String</h3>
<h3 class="box-title"><i class='bx bx-data' style='margin-right:5px;'></i></i>Set String</h3>
</div>
<div class="box-body">
<div class="row">
<div class="col-xs-3">
<label class="control-label">Table</label>
<input type="text" required name="table" id="table" value="" class="form-control"/>
<input type="text" required name="table" id="table" value="" placeholder="table" class="form-control"/>
</div>
<div class="col-xs-3">
<label class="control-label">Item</label>
<input type="text" required name="item" id="item" value="" class="form-control"/>
<input type="text" required name="item" id="item" value="" placeholder="item" class="form-control"/>
</div>
<div class="col-xs-6">
<label class="control-label">Value</label>
<input type="text" required name="value" id="value" value="" class="form-control"/>
<input type="text" required name="value" id="value" value="" placeholder="value" class="form-control"/>
</div>
</div>
</div>
<div class="box-footer">
{{ csrf_field() }}
<button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right">Apply</button>
</div>
</div>
</form>

</div>
</div>

<div class="col-xs-12">
{{ csrf_field() }}
<button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right">Apply</button>
</div>
</form>
</div>
Binary file removed assets/logo.jpg
Binary file not shown.
6 changes: 3 additions & 3 deletions conf.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
info:
name: "dbEdit"
identifier: "dbedit"
description: "A extremely simple database editing extension for the admin panel of Pterodactyl mainly made as a quick afternoon Blueprint extension. Developers can use this to develop their own extensions and modify database values on the fly."
description: "An extremely simple database editing extension for the admin panel of Pterodactyl mainly made as a quick afternoon Blueprint extension. Developers can use this to develop their own extensions and modify database values on the fly."
flags: "hasInstallScript"
version: "1.2"
target: "alpha-IPS"
author: "prplwtf"
icon: "assets/logo.jpg"
icon: "icon.jpg"
website: "https://github.com/prplwtf/blueprint-dbedit"

admin:
Expand All @@ -15,7 +15,7 @@ admin:
css: ""

data:
directory: "data"
directory: "private"
public: "public"

database:
Expand Down
Binary file added icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit d5901f2

Please sign in to comment.