Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Add Morningstar
Browse files Browse the repository at this point in the history
  • Loading branch information
higoka committed Aug 21, 2019
1 parent 7299ab6 commit 128a9a2
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
2 changes: 2 additions & 0 deletions create.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
use Creator\Formatter\PlusFormatter;
use Creator\Formatter\CometFormatter;
use Creator\Formatter\ArcturusFormatter;
use Creator\Formatter\MorningstarFormatter;

require 'vendor/autoload.php';

$creator = new Application();

$creator->pushFormatter(new MorningstarFormatter());
$creator->pushFormatter(new ArcturusFormatter());
$creator->pushFormatter(new PlusFormatter());
$creator->pushFormatter(new CometFormatter());
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h2>SQL Creator</h2>
<h3>Formatter</h3>
<select name="formatter">
<option selected disabled>Choose a formatter</option>
<option value="morningstar">Morningstar</option>
<option value="arcturus">Arcturus</option>
<option value="plus">Plus</option>
<option value="comet">Comet</option>
Expand Down
88 changes: 88 additions & 0 deletions template/morningstar.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<div class="grid_12">
<h3 style="margin-top: 50px;">General</h3>
</div>
<div class="grid_4">
<p>SWF</p>
<input type="text" name="swf">
</div>
<div class="grid_4">
<p>Name</p>
<input type="text" name="name">
</div>
<div class="grid_4">
<p>Description</p>
<input type="text" name="description">
</div>


<div class="grid_12">
<h3 style="margin-top: 50px;">Misc</h3>
</div>
<div class="grid_4">
<p>Width</p>
<input type="number" name="width" min="0" value="0">
</div>
<div class="grid_4">
<p>Length</p>
<input type="number" name="length" min="0" value="0">
</div>
<div class="grid_4">
<p>Height</p>
<input type="number" name="height" min="0" value="0">
</div>
<div class="grid_4">
<p>Type</p>
<select name="type">
<option value="s" selected>s</option>
<option value="i">i</option>
</select>
</div>


<div class="grid_12">
<h3 style="margin-top: 50px;">Ids</h3>
</div>
<div class="grid_4">
<p>Page Id</p>
<input type="number" name="pageId" min="0" value="0">
</div>
<div class="grid_4">
<p>Furni Id</p>
<input type="number" name="id" min="0" value="0">
</div>
<div class="grid_4">
<p>Revision</p>
<input type="number" name="revision" min="0" value="0">
</div>


<div class="grid_12">
<h3 style="margin-top: 50px;">Price</h3>
</div>
<div class="grid_4">
<p>Credits</p>
<input type="number" name="credits" min="0" value="0">
</div>
<div class="grid_4">
<p>Points</p>
<input type="number" name="points" min="0" value="0">
</div>
<div class="grid_4">
<p>Amount</p>
<input type="number" name="amount" min="1" value="1">
</div>


<div class="grid_12">
<h3 style="margin-top: 50px;">Other</h3>
</div>
<div class="grid_4">
<label>
<input type="checkbox" name="isSeatable">
<span class="icon"><i class="fa fa-check"></i></span>Is seatable
</label>
<label style="margin-left: 20px;">
<input type="checkbox" name="isWalkable">
<span class="icon"><i class="fa fa-check"></i></span>Is walkable
</label>
</div>

0 comments on commit 128a9a2

Please sign in to comment.