Przeglądaj źródła

Syntax; add a couple missing table cells.

pull/24/head
Ben Kurtovic 11 lat temu
rodzic
commit
9f54517033
3 zmienionych plików z 3 dodań i 1 usunięć
  1. +1
    -1
      copyvios/settings.py
  2. +1
    -0
      pages/index.mako
  3. +1
    -0
      pages/settings.mako

+ 1
- 1
copyvios/settings.py Wyświetl plik

@@ -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 Wyświetl plik

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


+ 1
- 0
pages/settings.mako Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz