Added buttons for adding and choosing templates
This commit is contained in:
parent
bb38a5ec3f
commit
38b5f9463a
@ -96,15 +96,26 @@
|
||||
¤¤ create_product ¤¤
|
||||
<form action="./"
|
||||
method="get">
|
||||
<datalist id="templatelist"></datalist>
|
||||
<input type="hidden"
|
||||
name="page"
|
||||
value="products" />
|
||||
<input type="hidden"
|
||||
name="action"
|
||||
value="new" />
|
||||
<button>
|
||||
<button onClick="JavaScript:showSiblings(event)">
|
||||
Ny artikel
|
||||
</button>
|
||||
<input class="hidden"
|
||||
onFocus="JavaScript:suggest(this, 'template')"
|
||||
list="templatelist"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
name="template"
|
||||
placeholder="Välj mall" />
|
||||
<button class="hidden">
|
||||
Välj
|
||||
</button>
|
||||
</form>
|
||||
|
||||
¤¤ product_details ¤¤
|
||||
@ -118,6 +129,16 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td>
|
||||
<button onClick="JavaScript:showSiblings(event)">
|
||||
Skapa mall
|
||||
</button>
|
||||
<input class="hidden newtemplate"
|
||||
type="text"
|
||||
placeholder="Mallens namn" />
|
||||
<button class="hidden"
|
||||
onClick="JavaScript:toTemplate(event)">
|
||||
Spara
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button id="save"
|
||||
|
Loading…
x
Reference in New Issue
Block a user