Changeset 2944
- Timestamp:
- 02/21/07 20:06:58 (2 years ago)
- Files:
-
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/public/css/master.css (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/base.html (modified) (2 diffs)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/index.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/show.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/index.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/show.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/index.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/show.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/index.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/show.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/queries/show.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/transactions/show.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/public/css/master.css
r2943 r2944 72 72 73 73 /* @end */ 74 75 /* @group body */76 77 div.body div.content {78 margin-top: 1em;79 }80 81 /* @end */82 74 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/base.html
r2942 r2944 10 10 <div class="parents"> 11 11 <h1>Parents</h1> 12 <ul> 13 ${self.parents()} 14 </ul> 12 ${self.parents()} 15 13 </div> 16 14 17 15 <div class="properties"> 18 16 <h1>Properties</h1> 19 <ul> 20 ${self.properties()} 21 </ul> 17 ${self.properties()} 22 18 </div> 23 19 24 20 <div class="fields"> 25 21 <h1>Fields</h1> 26 <ul> 27 ${self.fields()} 28 </ul> 22 ${self.fields()} 29 23 </div> 30 24 31 25 <div class="children"> 32 26 <h1>Children</h1> 33 <ul> 34 ${self.children()} 35 </ul> 27 ${self.children()} 36 28 </div> 37 29 … … 43 35 <div class="body"> 44 36 <h1>Body</h1> 45 <div class="content"> 46 ${self.body()} 47 </div> 37 ${self.body()} 48 38 </div> 49 39 </body> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/index.html
r2941 r2944 6 6 7 7 <%def name="parents()"> 8 <li class="here"><a href="${h.url_for('databases')}">Databases</a></li> 8 <ul> 9 <li class="here"><a href="${h.url_for('databases')}">Databases</a></li> 10 </ul> 9 11 </%def> 10 12 11 13 <%def name="children()"> 12 % for db_id, db in c.dbs.iteritems(): 13 <li> 14 <a href="${h.url_for('database', id=db_id)}">${h.label(db)}</a> 15 </li> 16 % endfor 14 <ul> 15 % for db_id, db in c.dbs.iteritems(): 16 <li> 17 <a href="${h.url_for('database', id=db_id)}">${h.label(db)}</a> 18 </li> 19 % endfor 20 </ul> 17 21 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/show.html
r2941 r2944 8 8 9 9 <%def name="parents()"> 10 <li><a href="${h.url_for('databases')}">Databases</a></li> 11 <li class="here"><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 10 <ul> 11 <li><a href="${h.url_for('databases')}">Databases</a></li> 12 <li class="here"><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 13 </ul> 12 14 </%def> 13 15 14 16 <%def name="children()"> 15 <li> 16 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 17 </li> 17 <ul> 18 <li> 19 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 20 </li> 21 </ul> 18 22 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/index.html
r2941 r2944 14 14 15 15 <%def name="parents()"> 16 <li><a href="${h.url_for('databases')}">Databases</a></li> 17 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 18 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 19 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 20 >${h.plural(c.extent)}</a></li> 21 <li class="here"><a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 22 >Queries</a></li> 16 <ul> 17 <li><a href="${h.url_for('databases')}">Databases</a></li> 18 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 19 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 20 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 21 >${h.plural(c.extent)}</a></li> 22 <li class="here"><a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 23 >Queries</a></li> 24 </ul> 23 25 </%def> 24 26 25 27 <%def name="children()"> 26 % for name in c.extent.q: 27 <li> 28 <a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 29 >${h.label(c.extent.q[name])}</a> 30 </li> 31 % endfor 28 <ul> 29 % for name in c.extent.q: 30 <li> 31 <a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 32 >${h.label(c.extent.q[name])}</a> 33 </li> 34 % endfor 35 </ul> 32 36 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/show.html
r2941 r2944 16 16 17 17 <%def name="parents()"> 18 <li><a href="${h.url_for('databases')}">Databases</a></li> 19 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 20 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 21 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 22 >${h.plural(c.extent)}</a></li> 23 <li><a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 24 >Queries</a></li> 25 <li class="here"><a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 26 >${h.label(c.method)}</a></li> 18 <ul> 19 <li><a href="${h.url_for('databases')}">Databases</a></li> 20 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 21 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 22 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 23 >${h.plural(c.extent)}</a></li> 24 <li><a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 25 >Queries</a></li> 26 <li class="here"><a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 27 >${h.label(c.method)}</a></li> 28 </ul> 27 29 </%def> 28 30 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/index.html
r2941 r2944 14 14 15 15 <%def name="parents()"> 16 <li><a href="${h.url_for('databases')}">Databases</a></li> 17 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 18 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 19 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 20 >${h.plural(c.extent)}</a></li> 21 <li class="here"><a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 22 >Transactions</a></li> 16 <ul> 17 <li><a href="${h.url_for('databases')}">Databases</a></li> 18 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 19 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 20 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 21 >${h.plural(c.extent)}</a></li> 22 <li class="here"><a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 23 >Transactions</a></li> 24 </ul> 23 25 </%def> 24 26 25 27 <%def name="children()"> 26 % for name in c.extent.t: 27 <li> 28 <a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 29 >${h.label(c.extent.t[name])}</a> 30 </li> 31 % endfor 28 <ul> 29 % for name in c.extent.t: 30 <li> 31 <a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 32 >${h.label(c.extent.t[name])}</a> 33 </li> 34 % endfor 35 </ul> 32 36 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/show.html
r2941 r2944 16 16 17 17 <%def name="parents()"> 18 <li><a href="${h.url_for('databases')}">Databases</a></li> 19 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 20 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 21 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 22 >${h.plural(c.extent)}</a></li> 23 <li><a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 24 >Transactions</a></li> 25 <li class="here"><a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 26 >${h.label(c.method)}</a></li> 18 <ul> 19 <li><a href="${h.url_for('databases')}">Databases</a></li> 20 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 21 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 22 <li><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 23 >${h.plural(c.extent)}</a></li> 24 <li><a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 25 >Transactions</a></li> 26 <li class="here"><a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 27 >${h.label(c.method)}</a></li> 28 </ul> 27 29 </%def> 28 30 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/index.html
r2941 r2944 10 10 11 11 <%def name="parents()"> 12 <li><a href="${h.url_for('databases')}">Databases</a></li> 13 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 14 <li class="here"><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 12 <ul> 13 <li><a href="${h.url_for('databases')}">Databases</a></li> 14 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 15 <li class="here"><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 16 </ul> 15 17 </%def> 16 18 17 19 <%def name="children()"> 18 % for extent in c.db.extents(): 19 <li> 20 <a href="${h.url_for('extent', db_id=c.db_id, id=extent.name)}" 21 >${h.plural(extent)}</a> 22 </li> 23 % endfor 20 <ul> 21 % for extent in c.db.extents(): 22 <li> 23 <a href="${h.url_for('extent', db_id=c.db_id, id=extent.name)}" 24 >${h.plural(extent)}</a> 25 </li> 26 % endfor 27 </ul> 24 28 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/show.html
r2941 r2944 12 12 13 13 <%def name="parents()"> 14 <li><a href="${h.url_for('databases')}">Databases</a></li> 15 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 16 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 17 <li class="here"><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 18 >${h.plural(c.extent)}</a></li> 14 <ul> 15 <li><a href="${h.url_for('databases')}">Databases</a></li> 16 <li><a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a></li> 17 <li><a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a></li> 18 <li class="here"><a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 19 >${h.plural(c.extent)}</a></li> 20 </ul> 19 21 </%def> 20 22 21 23 <%def name="properties()"> 22 <li> 23 <label for="extent_name">Name</label> 24 <span class="value" id="extent_name">${c.extent.name}</span> 25 </li> 24 <ul> 25 <li> 26 <label for="extent_name">Name</label> 27 <span class="value" id="extent_name">${c.extent.name}</span> 28 </li> 26 29 27 <li>28 <label for="extent_label">Label</label>29 <span class="value" id="extent_label">${h.label(c.extent)}</span>30 </li>30 <li> 31 <label for="extent_label">Label</label> 32 <span class="value" id="extent_label">${h.label(c.extent)}</span> 33 </li> 31 34 32 <li>33 <label for="extent_plural">Plural label</label>34 <span class="value" id="extent_plural">${h.plural(c.extent)}</span>35 </li>35 <li> 36 <label for="extent_plural">Plural label</label> 37 <span class="value" id="extent_plural">${h.plural(c.extent)}</span> 38 </li> 36 39 37 <li> 38 <label for="extent_len">Entity count</label> 39 <span class="value" id="extent_len">${len(c.extent)}</span> 40 </li> 40 <li> 41 <label for="extent_len">Entity count</label> 42 <span class="value" id="extent_len">${len(c.extent)}</span> 43 </li> 44 </ul> 41 45 </%def> 42 46 43 47 <%def name="children()"> 44 <li> 45 <a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 46 >Queries</a> 47 </li> 48 <ul> 49 <li> 50 <a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 51 >Queries</a> 52 </li> 48 53 49 <li> 50 <a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 51 >Transactions</a> 52 </li> 54 <li> 55 <a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 56 >Transactions</a> 57 </li> 58 </ul> 53 59 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/queries/show.html
r2941 r2944 8 8 9 9 <%def name="parents()"> 10 <li>Queries</li> 11 <li class="here"><a href="${h.url_for('query', id=c.query_id)}">${h.label(c.query)}</a></li> 10 <ul> 11 <li>Queries</li> 12 <li class="here"><a href="${h.url_for('query', id=c.query_id)}">${h.label(c.query)}</a></li> 13 </ul> 12 14 </%def> 13 15 14 16 <%def name="fields()"> 15 % for name, field in c.query.sys.field_map().iteritems(): 16 <li> 17 <label for="${name}"> 18 ${h.label(field)} 19 </label> 20 <span id="${name}" class="value"> 21 ${field.value} 22 </span> 23 </li> 24 % endfor 17 <ul> 18 % for name, field in c.query.sys.field_map().iteritems(): 19 <li> 20 <label for="${name}"> 21 ${h.label(field)} 22 </label> 23 <span id="${name}" class="value"> 24 ${field.value} 25 </span> 26 </li> 27 % endfor 28 </ul> 25 29 </%def> 26 30 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/transactions/show.html
r2941 r2944 8 8 9 9 <%def name="parents()"> 10 <li>Transactions</li> 11 <li class="here"><a href="${h.url_for('transaction', id=c.tx_id)}">${h.label(c.tx)}</a></li> 10 <ul> 11 <li>Transactions</li> 12 <li class="here"><a href="${h.url_for('transaction', id=c.tx_id)}">${h.label(c.tx)}</a></li> 13 </ul> 12 14 </%def> 13 15 14 16 <%def name="fields()"> 15 % for name, field in c.tx.sys.field_map().iteritems(): 16 <li> 17 <label for="${name}"> 18 ${h.label(field)} 19 </label> 20 <span id="${name}" class="value"> 21 ${field.value} 22 </span> 23 </li> 24 % endfor 17 <ul> 18 % for name, field in c.tx.sys.field_map().iteritems(): 19 <li> 20 <label for="${name}"> 21 ${h.label(field)} 22 </label> 23 <span id="${name}" class="value"> 24 ${field.value} 25 </span> 26 </li> 27 % endfor 28 </ul> 25 29 </%def>
