-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconsts.py
46 lines (45 loc) · 1 KB
/
consts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright: Ren Tatsumoto <tatsu at autistici.org>
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
ADDON_NAME = "Flexible Grading"
HTML_COLORS_LINK = "https://www.w3schools.com/colors/colors_groups.asp"
SCHED_NAG_MSG = """
<font color="gray">
You are still using the old scheduler.
Please enable the V2 scheduler in Preferences.
</font>
"""
BOTTOM_TABLE_STYLE = """
<style>
#innertable tr {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
#innertable td {
flex: 2 0 100px;
}
.ajt__corner_stat:first-child,
.ajt__corner_stat:last-child {
flex: 1 0 50px;
display: flex;
}
.ajt__corner_stat:first-child {
justify-content: flex-start;
}
.ajt__corner_stat:last-child {
justify-content: flex-end;
}
.ajt__corner_button {
display: block;
font-weight: normal;
font-size: small;
white-space: nowrap;
user-select: none;
margin: -3px 0 0;
padding: 0 5px;
}
.ajt__corner_button:hover {
color: RoyalBlue;
}
</style>
"""