fixed <ul> inside <ol> & submit/cancel buttons
- probably a silly way of doing the submit
This commit is contained in:
parent
438b3f680d
commit
00f3e0ef33
3 changed files with 47 additions and 30 deletions
|
|
@ -26,6 +26,10 @@ label {
|
|||
font-size: 10;
|
||||
}
|
||||
|
||||
div ul li{
|
||||
list-style-type: none
|
||||
}
|
||||
|
||||
#list {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ edit button.
|
|||
$('#listsave').button {icons: {primary:"ui-icon-disk"}}
|
||||
.click =>
|
||||
alert 'SAVE ME'
|
||||
|
||||
You need to save the order, and extract these in that order; moving around
|
||||
does not alter the array. Alternately, _have_ it alter the array.
|
||||
|
||||
|
|
@ -139,13 +140,24 @@ does not alter the array. Alternately, _have_ it alter the array.
|
|||
modal: false,
|
||||
title:"Entry #{data.file} ",
|
||||
buttons: [{
|
||||
text: "OK",
|
||||
text: "Cancel",
|
||||
icons: {primary: 'ui-icon-trash'},
|
||||
click: ->
|
||||
$(@).dialog "close"
|
||||
},{
|
||||
text: "Save",
|
||||
icons: {primary: 'ui-icon-disk'},
|
||||
click: ->
|
||||
$('#smt').click()
|
||||
$(@).dialog "close"
|
||||
|
||||
}]
|
||||
}
|
||||
|
||||
alert arraytocolor colortoarray '#102030'
|
||||
$("#smt").click (event) ->
|
||||
event.preventDefault()
|
||||
alert 'bob'
|
||||
|
||||
|
||||
$("#entryname").val data.name
|
||||
$("#entryauthor").val data.author
|
||||
|
|
|
|||
|
|
@ -24,48 +24,48 @@
|
|||
|
||||
<div class='hidden' id='formica'>
|
||||
<form accept-charset="utf-8">
|
||||
<ol>
|
||||
<ul>
|
||||
<div class='groupbox' id='basics'>
|
||||
<p>Basics:</p>
|
||||
<div class='drop'>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="file">File name:</label>
|
||||
<input id='entryfile' type="hidden" name="file" value="" placeholder="">
|
||||
<input id='entryfilepick' type="file" name="pickfile" value="" placeholder="">
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="file">Title:</label>
|
||||
<input id='entryname' type="text" name="name" value="" placeholder="">
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="author">Author's name:</label>
|
||||
<input id='entryauthor' type="text" name="author" value="" placeholder="">
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
<div class='groupbox' id='displaydata'>
|
||||
<p>Display:</p>
|
||||
<div class='drop' id='fl'>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="file">Ascii or Ansi?</label>
|
||||
<button id='entryamiga' name="amiga" id='amiga' type='button' value='1'>Ascii</button>
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="width">With of file:</label>
|
||||
<input id='entrywidth' type="number" name="width" value="80" placeholder="">
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="font">Font:</label>
|
||||
<select id='entryfont' name="font">
|
||||
<option value="Propaz">Propaz</option>
|
||||
<!-- <option value="Topaz13">Topaz13</option> -->
|
||||
<!-- <option value="mOsOul">mOsOul</option> -->
|
||||
<!-- <option value="mOsOli">mOsOli</option> -->
|
||||
<!-- <option value="MicroKnight">Microknight</option> -->
|
||||
<option value="ansifont">Ansifont</option>
|
||||
</select>
|
||||
</ul>
|
||||
</li>
|
||||
<div class='45box'>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="color">Text Color:</label>
|
||||
<select name="color" id='entrycolor' class='colorbox'>
|
||||
<option value="#E0E0E0">Light Grey</option>
|
||||
|
|
@ -85,8 +85,8 @@
|
|||
<option value="#FFFFFF">White</option>
|
||||
<option value="#000000">Black</option>
|
||||
</select>
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="bg">Background color:</label>
|
||||
<select name="bg" id='entrybg' class='colorbox'>
|
||||
<option value="#E0E0E0">Light Grey</option>
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
<option value="#FFFFFF">White</option>
|
||||
<option value="#000000">Black</option>
|
||||
</select>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
<div class='45box'>
|
||||
<pre>
|
||||
|
|
@ -121,20 +121,21 @@
|
|||
<div class='groupbox' id='optionals'>
|
||||
<p>Optional text:</p>
|
||||
<div class='drop'>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="line1">Optional Info line 1:</label>
|
||||
<input id='entryline1' type="text" name="line1" value="" placeholder="">
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="line2">Optional Info line 2:</label>
|
||||
<input id='entryline2' type="text" name="line2" value="" placeholder="">
|
||||
</ul>
|
||||
<ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for="text">Optional Text (notes, comments, etc):</label>
|
||||
<textarea id='entrytext' name='text'></textarea>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
</ol>
|
||||
<li><input type="submit" name="smt" id="smt" class="hidden" value=""></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue