mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
fix graphs
This commit is contained in:
parent
3823151d6f
commit
05782f9080
2 changed files with 4 additions and 1 deletions
|
@ -111,7 +111,8 @@ class CollectionStats(object):
|
||||||
txt += self.hourGraph()
|
txt += self.hourGraph()
|
||||||
txt += self.easeGraph()
|
txt += self.easeGraph()
|
||||||
txt += self.cardGraph()
|
txt += self.cardGraph()
|
||||||
return "<script>%s\n</script><center>%s</center>" % (anki.js.all, txt)
|
return "<script>%s\n</script><center>%s</center>" % (
|
||||||
|
anki.js.jquery+anki.js.plot, txt)
|
||||||
|
|
||||||
css = """
|
css = """
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -317,6 +317,8 @@ insert or replace into col select id, cast(created as int), :t,
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
conf[k] = v
|
conf[k] = v
|
||||||
|
# don't use a learning mode for upgrading users
|
||||||
|
#gc['new']['delays'] = [10]
|
||||||
_addColVars(db, g, gc, conf)
|
_addColVars(db, g, gc, conf)
|
||||||
# clean up
|
# clean up
|
||||||
db.execute("drop table decks")
|
db.execute("drop table decks")
|
||||||
|
|
Loading…
Reference in a new issue