Changeset 6326


Ignore:
Timestamp:
Oct 2, 2008, 10:12:22 PM (16 years ago)
Author:
RIck van der Zwet
Message:

Cosmatic changes in templates

Location:
trunk/exodus/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/templates/addInterface.html

    r6324 r6326  
    1616        document.getElementById('id_antenna').disabled = newValue;
    1717        }
     18
     19        /* XXX: Hack, dunno how to set this Django Style */
     20        var linkSelect = document.getElementById('id_link');
     21        linkSelect.options[0].text = "MASTER";
    1822}
    1923</script>
  • trunk/exodus/templates/viewNode.html

    r6325 r6326  
    2424        <h3>iface: {{ nic.iface }} </h3>
    2525        <a href="{% url exodus.views.genericPublicAP "add" node.name nic.iface "new" %}">Add new public access point</a><p />
    26         type: {{ nic.type }} <br>
    27         description: {{ nic.shortdesc }} <br>
     26        Description: {{ nic.shortdesc }} <br>
    2827        IP: {{ nic.ip }}/{{ nic.netmask }}<br />
     28        Type: {% ifequal nic nic.link %}Master{% else %}Slave {% endifequal %}<br />
    2929       
    3030        {% ifnotequal nic.type "eth" %}
     
    4242                {% ifnotequal interlink nic %}
    4343                <ul>
    44                 <li>Interlink FOR DEBUG PURPOSES</li>
     44                <li>Interlink to Node: <a href="{% url exodus.views.viewNode interlink.node %}">
     45                        {{ interlink.node }}</a> </li>
    4546                <li>Link Name: {{ interlink }}</li>
    46                 <li>Short description: {{ interlink.shortdesc }} </li>
    47                 <li>Long description: {{ interlink.desc }} </li>
    4847                <li>IP: {{ interlink.ip }}/{{ interlink.netmask }} </li>
    49                 <li> Link to Node: <a href="{% url exodus.views.viewNode interlink.node %}">
    50                         {{ interlink.node }}</a> </li>
    5148                </ul>
    5249                {% endifnotequal %}
Note: See TracChangeset for help on using the changeset viewer.