mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Merge branch 'master' of https://github.com/aaronharsh/ankiqt
This commit is contained in:
commit
0e0881193e
1 changed files with 3 additions and 2 deletions
|
@ -52,8 +52,9 @@ class DeckBrowser(object):
|
||||||
tr { font-size: 12px; }
|
tr { font-size: 12px; }
|
||||||
a.deck { color: #000; text-decoration: none; }
|
a.deck { color: #000; text-decoration: none; }
|
||||||
a.deck:hover { text-decoration: underline; }
|
a.deck:hover { text-decoration: underline; }
|
||||||
|
tr.deck td { border-bottom: thick solid transparent; }
|
||||||
td.opts { white-space: nowrap; }
|
td.opts { white-space: nowrap; }
|
||||||
.drag-hover { background-color: #448; }
|
tr.drag-hover td { border-bottom: thick solid #448; }
|
||||||
.extra { font-size: 90%; }
|
.extra { font-size: 90%; }
|
||||||
body { margin: 1em; -webkit-user-select: none; }
|
body { margin: 1em; -webkit-user-select: none; }
|
||||||
"""
|
"""
|
||||||
|
@ -123,7 +124,7 @@ body { margin: 1em; -webkit-user-select: none; }
|
||||||
name, did, due, new, children = node
|
name, did, due, new, children = node
|
||||||
def indent():
|
def indent():
|
||||||
return " "*3*depth
|
return " "*3*depth
|
||||||
buf = "<tr>"
|
buf = "<tr class='deck' id='%d'>"% did
|
||||||
# deck link
|
# deck link
|
||||||
buf += "<td colspan=5>%s<a class=deck href='open:%d'>%s</a></td>"% (
|
buf += "<td colspan=5>%s<a class=deck href='open:%d'>%s</a></td>"% (
|
||||||
indent(), did, name)
|
indent(), did, name)
|
||||||
|
|
Loading…
Reference in a new issue