gt2_cheat_sheet

Globetrotter 2 Cheat Sheet
Log | Files | Refs | README

con.html (932B)


      1 {% extends "base.html" %}
      2 {% block content %}
      3     <h1>{{ source }} &rarr; {{ dest }}</h1>
      4 
      5     <h2>min(time)</h2>
      6     <h3>{{ fprice | int }}DKK, {{ ftime }}H</h3>
      7     <ol>
      8     <li>{{ c[ fastpath_verts[0] ][0] }}</li>
      9     {% for i in fastpath_edges %}
     10         <ul>
     11             <li>&darr;{{ edge_middel[i] }}, {{ edge_prices[i] | int }}DKK, {{ edge_times[i] }}H</p>
     12         </ul>
     13         <li>{{ c[ fastpath_verts[ loop.index0 + 1 ] ][0] }}</li>
     14     {% endfor %}
     15     </ol>
     16     <h2>min(price)</h2>
     17     <h3>{{ cprice | int }}DKK, {{ ctime }}H</h3>
     18     <ol>
     19     <li>{{ c[ cheappath_verts[0] ][0] }}</li>
     20     {% for i in cheappath_edges %}
     21         <ul>
     22             <li>&darr;{{ edge_middel[i] }}, {{ edge_prices[i] | int }}DKK, {{ edge_times[i] }}H</p>
     23         </ul>
     24         <li>{{ c[ cheappath_verts[ loop.index0 + 1 ] ][0] }}</li>
     25     {% endfor %}
     26     </ol>
     27 {% endblock %}
     28 {% block title %}
     29 {{ source }} &rarr; {{ dest }}
     30 {% endblock %}