view bts_webui/amancay/templates/toolbox.html @ 85:3c3d59cdefdb draft

templates: reformat templates for readability
author diegoe-guest
date Wed, 03 Jun 2009 19:09:10 +0000
parents 71c2dd718293
children a0ee7702e4a8
line wrap: on
line source

<h3 class="toolbox_title">{{ toolbox.title }}</h3>
<div class="toolbox_itemlist">
<form id="item_selection" method="post" action=".">
{% if toolbox.item_list %}
<table id="item_list">
    {% for item in toolbox.item_list %}
        <tr>
            <td class="item_select">
                <input type="checkbox" name="{{ toolbox.item_type }}_select"
                       id="item_select" value="{{ item }}" />
            </td>
            <td class="item_name">{{ item }}</td>
        </tr>
    {% endfor %}
</table>
<div class="toolbox_remove">
        <input class="toolbox_remove" type="submit" value="Remove" />
</div>
{% else %}
    <div class="toolbox_message">No items selected</div>
{% endif %}
</form>
</div>
<div class="toolbox_add_item">
<form id="add_item" method="post" action=".">
    <div class="toolbox_txt">
        <input class="toolbox_txt" type="text" name="{{ toolbox.item_type }}" 
    id="item" value="" />
    </div>
    <div class="toolbox_add">
        <input class="toolbox_add" id="toolbox_add" type="submit" value="Add" />
    </div>
</form>
</div>