Changeset 2941
- Timestamp:
- 02/21/07 19:47:51 (2 years ago)
- Files:
-
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/public/css (added)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/public/css/master.css (added)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/public/index.html (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/base.html (modified) (1 diff)
- 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/index.html
r2915 r2941 4 4 <head> 5 5 <title>Schevo Database Navigator</title> 6 7 <link rel="stylesheet" href="/css/master.css" type="text/css" media="screen" title="no title" charset="utf-8" /> 6 8 </head> 7 9 <body> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/base.html
r2940 r2941 3 3 <head> 4 4 <title>${self.title()}</title> 5 6 <link rel="stylesheet" href="/css/master.css" type="text/css" media="screen" title="no title" charset="utf-8" /> 5 7 </head> 6 8 7 9 <body> 8 10 <div class="parents"> 9 ${self.parents()} 11 <h1>Parents</h1> 12 <ul> 13 ${self.parents()} 14 </ul> 10 15 </div> 11 16 12 17 <div class="properties"> 13 ${self.properties()} 18 <h1>Properties</h1> 19 <ul> 20 ${self.properties()} 21 </ul> 14 22 </div> 15 23 16 <ul class="fields"> 17 ${self.fields()} 18 </ul> 24 <div class="fields"> 25 <h1>Fields</h1> 26 <ul> 27 ${self.fields()} 28 </ul> 29 </div> 19 30 20 31 <div class="children"> 21 ${self.children()} 32 <h1>Children</h1> 33 <ul> 34 ${self.children()} 35 </ul> 22 36 </div> 23 37 24 38 <div class="relationships"> 39 <h1>Relationships</h1> 25 40 ${self.relationships()} 26 41 </div> 27 42 28 43 <div class="body"> 44 <h1>Body</h1> 29 45 ${self.body()} 30 46 </div> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/index.html
r2940 r2941 6 6 7 7 <%def name="parents()"> 8 < a href="${h.url_for('databases')}">Databases</a>8 <li class="here"><a href="${h.url_for('databases')}">Databases</a></li> 9 9 </%def> 10 10 11 11 <%def name="children()"> 12 <ul> 13 % for db_id, db in c.dbs.iteritems(): 14 <li> 15 <a href="${h.url_for('database', id=db_id)}">${h.label(db)}</a> 16 </li> 17 % endfor 18 </ul> 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 19 17 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/databases/show.html
r2940 r2941 8 8 9 9 <%def name="parents()"> 10 <a href="${h.url_for('databases')}">Databases</a> 11 → 12 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 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> 13 12 </%def> 14 13 15 14 <%def name="children()"> 16 <ul> 17 <li> 18 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 19 </li> 20 </ul> 15 <li> 16 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 17 </li> 21 18 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/index.html
r2940 r2941 14 14 15 15 <%def name="parents()"> 16 <a href="${h.url_for('databases')}">Databases</a> 17 → 18 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 19 → 20 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 21 → 22 <a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 23 >${h.plural(c.extent)}</a> 24 → 25 <a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 26 >Queries</a> 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> 27 23 </%def> 28 24 29 25 <%def name="children()"> 30 <ul> 31 % for name in c.extent.q: 32 <li> 33 <a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 34 >${h.label(c.extent.q[name])}</a> 35 </li> 36 % endfor 37 </ul> 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 38 32 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_queries/show.html
r2940 r2941 16 16 17 17 <%def name="parents()"> 18 <a href="${h.url_for('databases')}">Databases</a> 19 → 20 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 21 → 22 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 23 → 24 <a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 25 >${h.plural(c.extent)}</a> 26 → 27 <a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 28 >Queries</a> 29 → 30 <a href="${h.url_for('extent_query', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 31 >${h.label(c.method)}</a> 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> 32 27 </%def> 33 28 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/index.html
r2940 r2941 14 14 15 15 <%def name="parents()"> 16 <a href="${h.url_for('databases')}">Databases</a> 17 → 18 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 19 → 20 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 21 → 22 <a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 23 >${h.plural(c.extent)}</a> 24 → 25 <a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 26 >Transactions</a> 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> 27 23 </%def> 28 24 29 25 <%def name="children()"> 30 <ul> 31 % for name in c.extent.t: 32 <li> 33 <a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=name)}" 34 >${h.label(c.extent.t[name])}</a> 35 </li> 36 % endfor 37 </ul> 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 38 32 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extent_transactions/show.html
r2940 r2941 16 16 17 17 <%def name="parents()"> 18 <a href="${h.url_for('databases')}">Databases</a> 19 → 20 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 21 → 22 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 23 → 24 <a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 25 >${h.plural(c.extent)}</a> 26 → 27 <a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 28 >Transactions</a> 29 → 30 <a href="${h.url_for('extent_transaction', db_id=c.db_id, extent_id=c.extent.name, id=c.method_id)}" 31 >${h.label(c.method)}</a> 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> 32 27 </%def> 33 28 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/index.html
r2940 r2941 10 10 11 11 <%def name="parents()"> 12 <a href="${h.url_for('databases')}">Databases</a> 13 → 14 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 15 → 16 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 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> 17 15 </%def> 18 16 19 17 <%def name="children()"> 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> 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 28 24 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/extents/show.html
r2940 r2941 12 12 13 13 <%def name="parents()"> 14 <a href="${h.url_for('databases')}">Databases</a> 15 → 16 <a href="${h.url_for('database', id=c.db_id)}">${h.label(c.db)}</a> 17 → 18 <a href="${h.url_for('extents', db_id=c.db_id)}">Extents</a> 19 → 20 <a href="${h.url_for('extent', db_id=c.db_id, id=c.extent.name)}" 21 >${h.plural(c.extent)}</a> 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> 22 19 </%def> 23 20 24 21 <%def name="properties()"> 25 <ul> 26 <li> 27 <label for="extent_name">Name</label> 28 <span class="value" id="extent_name">${c.extent.name}</span> 29 </li> 30 31 <li> 32 <label for="extent_label">Label</label> 33 <span class="value" id="extent_label">${h.label(c.extent)}</span> 34 </li> 35 36 <li> 37 <label for="extent_plural">Plural label</label> 38 <span class="value" id="extent_plural">${h.plural(c.extent)}</span> 39 </li> 40 41 <li> 42 <label for="extent_len">Entity count</label> 43 <span class="value" id="extent_len">${len(c.extent)}</span> 44 </li> 45 </ul> 22 <li> 23 <label for="extent_name">Name</label> 24 <span class="value" id="extent_name">${c.extent.name}</span> 25 </li> 26 27 <li> 28 <label for="extent_label">Label</label> 29 <span class="value" id="extent_label">${h.label(c.extent)}</span> 30 </li> 31 32 <li> 33 <label for="extent_plural">Plural label</label> 34 <span class="value" id="extent_plural">${h.plural(c.extent)}</span> 35 </li> 36 37 <li> 38 <label for="extent_len">Entity count</label> 39 <span class="value" id="extent_len">${len(c.extent)}</span> 40 </li> 46 41 </%def> 47 42 48 43 <%def name="children()"> 49 <ul> 50 <li> 51 <a href="${h.url_for('extent_queries', db_id=c.db_id, extent_id=c.extent.name)}" 52 >Queries</a> 53 </li> 54 55 <li> 56 <a href="${h.url_for('extent_transactions', db_id=c.db_id, extent_id=c.extent.name)}" 57 >Transactions</a> 58 </li> 59 </ul> 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 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> 60 53 </%def> sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/queries/show.html
r2940 r2941 8 8 9 9 <%def name="parents()"> 10 Queries 11 → 12 <a href="${h.url_for('query', id=c.query_id)}">${h.label(c.query)}</a> 10 <li>Queries</li> 11 <li class="here"><a href="${h.url_for('query', id=c.query_id)}">${h.label(c.query)}</a></li> 13 12 </%def> 14 13 sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/transactions/show.html
r2940 r2941 8 8 9 9 <%def name="parents()"> 10 Transactions 11 → 12 <a href="${h.url_for('transaction', id=c.tx_id)}">${h.label(c.tx)}</a> 10 <li>Transactions</li> 11 <li class="here"><a href="${h.url_for('transaction', id=c.tx_id)}">${h.label(c.tx)}</a></li> 13 12 </%def> 14 13
