Changeset 3:7cb4ab585ec4 in livinglogic.googleappengine.ul4

Show
Ignore:
Timestamp:
08/02/08 20:33:13 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add hints to the various inputs. Enhance layout.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • index.html

    r2 r3  
    1313<div class="panel"> 
    1414<form action="/compile" method="post"> 
    15 <div class="box1"> 
    1615 
    1716<div class="source"> 
     
    2524&lt;?end if?&gt;</textarea></div> 
    2625<div class="desc"> 
    27 Enter the source code for your template. 
     26Enter the source code for your template. (More information about the <a href="http://www.livinglogic.de/Python/ul4/Howto.html">templating language</a>). 
    2827</div> 
    2928</div> 
     
    3635</table> 
    3736<div class="desc"> 
    38 Select which tag delimiters you want to use (e.g. <code>&lt;?</code> and <code>?&gt;</code> or <code>{{</code> and <code>}}</code>). 
     37Select which tag delimiters you want to use in the source code (e.g. <code>&lt;?</code> and <code>?&gt;</code> or <code>{{</code> and <code>}}</code>). 
    3938</div> 
    4039</div> 
     
    4443<div><input type="radio" name="format" value="bytecode" checked="checked" /> Bytecode<br /><input type="radio" name="format" value="reprbytecode" checked="checked" /> <code>repr()</code> of bytecode<br /<input type="radio" name="format" value="python" /> Python source</div> 
    4544<div class="desc"> 
    46 Select the output format that the compiler should produce. 
     45<p>Select the output format that the compiler should produce:</p> 
     46<ul> 
     47<li><em>Bytecode</em> can be saved to a file (UTF-8 must be used as the encoding) and then be loaded via 
     48<a href="http://www.livinglogic.de/Python/ul4/index.html#Template-load"><code>ll.ul4c.Template.load()</code></a>.</li> 
     49<li><em><code>repr</code> output of the bytecode</em> can be apsted directly into a Python source file into a call to 
     50<a href="http://www.livinglogic.de/Python/ul4/index.html#Template-loads"><code>ll.ul4c.Template.loads()</code></a>.</li> 
     51<li><em>Python source code</em> produces a Python function <code>template(templates={}, **variables)</code>.</li> 
     52</ul> 
    4753</div> 
    4854</div> 
     
    5056<div class="submit"> 
    5157<div><input type="submit" value="Compile!"/></div> 
    52 </div> 
    5358</div> 
    5459 
     
    6469 
    6570</form> 
    66 <div><a href="http://www.livinglogic.de/Python/ul4/Howto.html">More info about the templating language</a></div> 
    6771</body> 
    6872</html> 
  • static/main.css

    r2 r3  
    3232} 
    3333 
     34a:link 
     35{ 
     36    color: #900; 
     37    border-bottom: 1px dotted #900; 
     38    text-decoration: none; 
     39} 
     40a:visited 
     41{ 
     42    color: #633; 
     43    border-bottom: 1px dotted #633; 
     44    text-decoration: none; 
     45} 
     46a:active 
     47{ 
     48    color: #f00; 
     49    border-bottom: 1px dotted #f00; 
     50    text-decoration: none; 
     51} 
    3452div.box1 
    3553{ 
     
    4664    float: left; 
    4765    margin-left: 24px; 
     66    width: 20%; 
    4867} 
    4968 
     
    5271    float: left; 
    5372    margin-left: 24px; 
     73    width: 20%; 
    5474} 
    5575 
    5676div.submit 
    5777{ 
    58     float: left; 
    59     margin: 30px 0px 0px 100px; 
     78    clear: both; 
     79    margin: 20px 0px 0px 0px; 
     80    padding-top: 20px; 
    6081} 
    6182 
     
    6788} 
    6889 
     90p 
     91{ 
     92    margin: 0px 0px 6px 0px; 
     93} 
     94 
     95ul 
     96{ 
     97    margin: 0px; 
     98    padding: 0px 0px 0px 14px; 
     99} 
     100 
     101li 
     102{ 
     103    margin: 0px 0px 6px 0px; 
     104} 
     105 
     106em 
     107{ 
     108    font-style: normal; 
     109    font-weight: bold; 
     110} 
    69111table.delimiters th 
    70112{ 
     
    79121div.error div 
    80122{ 
    81     padding: 3px 6px; 
     123    padding: 4px 8px; 
    82124    -moz-border-radius: 7px; 
    83125    border-radius: 7px;