1 #extends templates.common.shell
2 #from mitsql.interface import display
4 #def title: Manage Databases
9 #if len($db_list) == 0:
10 <tr><td width="100%"><em>You have no databases. Add one below.</em></td></tr>
12 #for name, data in $db_list:
14 #echo display.db_list_entry($name, $data.size_tot, $data.size_max)
22 </td></tr><tr><td colspan=2>
23 #echo display.db_list_entry('TOTAL', $size_tot, $size_max)
27 <form method="post" action="create">
29 <span style="width: 150px; font-style: italic;">
30 <label for="p1">new database:</label>
31 </span> $user.db_prefix<input type="text" name="db_name" />
32 <input type=submit value="create">
37 <p>One interface we recommend for managing SQL data is <a href="https://scripts.mit.edu/~sql/phpMyAdmin/" target="_blank">phpMyAdmin</a>. Feel free to use it after you've created your databases.</p>