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

Commit 128a9a2

Browse files
committed
Add Morningstar
1 parent 7299ab6 commit 128a9a2

3 files changed

Lines changed: 91 additions & 0 deletions

File tree

create.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
use Creator\Formatter\PlusFormatter;
55
use Creator\Formatter\CometFormatter;
66
use Creator\Formatter\ArcturusFormatter;
7+
use Creator\Formatter\MorningstarFormatter;
78

89
require 'vendor/autoload.php';
910

1011
$creator = new Application();
1112

13+
$creator->pushFormatter(new MorningstarFormatter());
1214
$creator->pushFormatter(new ArcturusFormatter());
1315
$creator->pushFormatter(new PlusFormatter());
1416
$creator->pushFormatter(new CometFormatter());

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h2>SQL Creator</h2>
2323
<h3>Formatter</h3>
2424
<select name="formatter">
2525
<option selected disabled>Choose a formatter</option>
26+
<option value="morningstar">Morningstar</option>
2627
<option value="arcturus">Arcturus</option>
2728
<option value="plus">Plus</option>
2829
<option value="comet">Comet</option>

template/morningstar.tpl

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<div class="grid_12">
2+
<h3 style="margin-top: 50px;">General</h3>
3+
</div>
4+
<div class="grid_4">
5+
<p>SWF</p>
6+
<input type="text" name="swf">
7+
</div>
8+
<div class="grid_4">
9+
<p>Name</p>
10+
<input type="text" name="name">
11+
</div>
12+
<div class="grid_4">
13+
<p>Description</p>
14+
<input type="text" name="description">
15+
</div>
16+
17+
18+
<div class="grid_12">
19+
<h3 style="margin-top: 50px;">Misc</h3>
20+
</div>
21+
<div class="grid_4">
22+
<p>Width</p>
23+
<input type="number" name="width" min="0" value="0">
24+
</div>
25+
<div class="grid_4">
26+
<p>Length</p>
27+
<input type="number" name="length" min="0" value="0">
28+
</div>
29+
<div class="grid_4">
30+
<p>Height</p>
31+
<input type="number" name="height" min="0" value="0">
32+
</div>
33+
<div class="grid_4">
34+
<p>Type</p>
35+
<select name="type">
36+
<option value="s" selected>s</option>
37+
<option value="i">i</option>
38+
</select>
39+
</div>
40+
41+
42+
<div class="grid_12">
43+
<h3 style="margin-top: 50px;">Ids</h3>
44+
</div>
45+
<div class="grid_4">
46+
<p>Page Id</p>
47+
<input type="number" name="pageId" min="0" value="0">
48+
</div>
49+
<div class="grid_4">
50+
<p>Furni Id</p>
51+
<input type="number" name="id" min="0" value="0">
52+
</div>
53+
<div class="grid_4">
54+
<p>Revision</p>
55+
<input type="number" name="revision" min="0" value="0">
56+
</div>
57+
58+
59+
<div class="grid_12">
60+
<h3 style="margin-top: 50px;">Price</h3>
61+
</div>
62+
<div class="grid_4">
63+
<p>Credits</p>
64+
<input type="number" name="credits" min="0" value="0">
65+
</div>
66+
<div class="grid_4">
67+
<p>Points</p>
68+
<input type="number" name="points" min="0" value="0">
69+
</div>
70+
<div class="grid_4">
71+
<p>Amount</p>
72+
<input type="number" name="amount" min="1" value="1">
73+
</div>
74+
75+
76+
<div class="grid_12">
77+
<h3 style="margin-top: 50px;">Other</h3>
78+
</div>
79+
<div class="grid_4">
80+
<label>
81+
<input type="checkbox" name="isSeatable">
82+
<span class="icon"><i class="fa fa-check"></i></span>Is seatable
83+
</label>
84+
<label style="margin-left: 20px;">
85+
<input type="checkbox" name="isWalkable">
86+
<span class="icon"><i class="fa fa-check"></i></span>Is walkable
87+
</label>
88+
</div>

0 commit comments

Comments
 (0)