Browse Source

Syntax; add a couple missing table cells.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
9f54517033
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      copyvios/settings.py
  2. +1
    -0
      pages/index.mako
  3. +1
    -0
      pages/settings.mako

+ 1
- 1
copyvios/settings.py View File

@@ -45,7 +45,7 @@ def _do_set(query, headers, cookies):
def _do_delete(query, headers, cookies):
if query.cookie in cookies:
delete_cookie(headers, cookies, query.cookie.encode("utf8"))
template = u"Deleted cookie <b><span class="mono">{0}</span></b>."
template = u'Deleted cookie <b><span class="mono">{0}</span></b>.'
return template.format(escape(query.cookie))
elif query.all:
number = len(cookies)


+ 1
- 0
pages/index.mako View File

@@ -78,6 +78,7 @@
% endif
<tr>
<td><button type="submit">Submit</button></td>
<td></td>
</tr>
</table>
</form>


+ 1
- 0
pages/settings.mako View File

@@ -64,6 +64,7 @@
<input type="hidden" name="action" value="set"/>
<button type="submit">Save</button>
</td>
<td></td>
</tr>
</table>
</form>


Loading…
Cancel
Save