Created
February 15, 2018 05:23
-
-
Save Atonement100/3adb302f9cda8b6892246fbd25d48d44 to your computer and use it in GitHub Desktop.
wkult srs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33c33,34 | |
< 'minimized': false | |
--- | |
> 'minimized': false, | |
> 'show_srs_timeline': true | |
73a75,82 | |
> '#graph-bar-info .app1 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .app2 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .app3 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .app4 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .guru1 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .guru2 {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .master {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
> '#graph-bar-info .enlightened {background-color:#9800e8; background-image:linear-gradient(to bottom, #a0f, #9300dd);}'+ | |
131a141,148 | |
> '#timeline .app1 {fill:#F270A4;}'+ | |
> '#timeline .app2 {fill:#ED4488;}'+ | |
> '#timeline .app3 {fill:#EA1C6F;}'+ | |
> '#timeline .app4 {fill:#B3004B;}'+ | |
> '#timeline .guru1 {fill:#43A6D1;}'+ | |
> '#timeline .guru2 {fill:#0686BE;}'+ | |
> '#timeline .master {fill:#045D84;}'+ | |
> '#timeline .enlightened {fill:#FFA949;}'+ | |
855a873,874 | |
> srs_styles=["app1","app2","app3","app4","guru1","guru2","master","enlightened"]; | |
> | |
973a993,999 | |
> } else if (get_setting('show_srs_timeline')) { | |
> slot.srs_levels.forEach(function(lvl,idx){ | |
> if (lvl > 0) { | |
> bars += '<rect class="'+srs_styles[idx]+'" x="'+x1+'" y="'+base+'" width="'+(x2-x1)+'" height="'+lvl+'" />'; | |
> base += lvl; | |
> } | |
> }); | |
1084c1110 | |
< timeline[slot_idx] = {radicals:[], kanji:[], vocabulary:[], item_count:0, has_current:false, has_burn:false, item_time:item_time*900}; | |
--- | |
> timeline[slot_idx] = {radicals:[], kanji:[], vocabulary:[], item_count:0, has_current:false, has_burn:false, item_time:item_time*900, srs_levels:new Array(8).fill(0)}; | |
1092a1119 | |
> slot.srs_levels[item.user_specific.srs_numeric-1]++; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment