Compare commits
No commits in common. "6178592d1056e61b12ad99376031e372c4600250" and "abca50d6157aa0f975cf05b81e9ec2dc46492555" have entirely different histories.
6178592d10
...
abca50d615
3 changed files with 7 additions and 12 deletions
6
db.py
6
db.py
|
@ -16,9 +16,9 @@ PROGRESS = {
|
||||||
NOTIFICATION_BUFFER_SIZE = 30
|
NOTIFICATION_BUFFER_SIZE = 30
|
||||||
NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE)
|
NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE)
|
||||||
|
|
||||||
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 12
|
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 3
|
||||||
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 20
|
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 60
|
||||||
NOTIFICATION_HISTORY_FREQUENCY = 60 / NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN
|
NOTIFICATION_HISTORY_FREQUENCY = NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN / NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN
|
||||||
notification_history_size = NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN * NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN
|
notification_history_size = NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN * NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN
|
||||||
NOTIFICATION_HISTORY = collections.deque([], notification_history_size)
|
NOTIFICATION_HISTORY = collections.deque([], notification_history_size)
|
||||||
NOTIFICATION_HISTORY.extend([0] * notification_history_size)
|
NOTIFICATION_HISTORY.extend([0] * notification_history_size)
|
||||||
|
|
|
@ -33,12 +33,7 @@
|
||||||
blur: 3,
|
blur: 3,
|
||||||
color: '#000',
|
color: '#000',
|
||||||
opacity: 0.45
|
opacity: 0.45
|
||||||
},
|
}
|
||||||
animations: {
|
|
||||||
enabled: true,
|
|
||||||
easing: 'easeinout',
|
|
||||||
speed: 200,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
bar: {
|
bar: {
|
||||||
|
@ -52,7 +47,7 @@
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(verbose, (newValue) => {
|
watch(verbose, (newValue) => {
|
||||||
|
|
|
@ -63,11 +63,11 @@
|
||||||
<th
|
<th
|
||||||
v-for="(task, task_index) in exercise.tasks"
|
v-for="(task, task_index) in exercise.tasks"
|
||||||
:key="task.name"
|
:key="task.name"
|
||||||
class="border-b border-slate-100 dark:border-slate-700 p-3 align-top"
|
class="border-b border-slate-100 dark:border-slate-700 p-3"
|
||||||
:title="task.description"
|
:title="task.description"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-center font-normal text-sm dark:text-blue-200 text-slate-500 text-nowrap">Task {{ task_index + 1 }}</span>
|
<span class="text-center font-normal text-sm dark:text-blue-200 text-slate-500">Task {{ task_index + 1 }}</span>
|
||||||
<i class="text-center">{{ task.name }}</i>
|
<i class="text-center">{{ task.name }}</i>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
Loading…
Reference in a new issue