Quellcode durchsuchen

Syntax; add a couple missing table cells.

pull/24/head
Ben Kurtovic vor 11 Jahren
Ursprung
Commit
9f54517033
3 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      copyvios/settings.py
  2. +1
    -0
      pages/index.mako
  3. +1
    -0
      pages/settings.mako

+ 1
- 1
copyvios/settings.py Datei anzeigen

@@ -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 Datei anzeigen

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


+ 1
- 0
pages/settings.mako Datei anzeigen

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


Laden…
Abbrechen
Speichern