Skip to content

Commit

Permalink
support new AAG
Browse files Browse the repository at this point in the history
  • Loading branch information
keombre committed Oct 13, 2020
1 parent cd0d5f7 commit 6d55491
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/chrome.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ProgTest Themes",
"version": "1.1.1",
"version": "1.1.2",
"description": "Theme manager for ProgTest",
"manifest_version": 2,
"content_scripts": [
Expand Down
2 changes: 1 addition & 1 deletion manifests/firefox.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ProgTest Themes",
"version": "1.1.1",
"version": "1.1.2",
"description": "Theme manager for ProgTest",
"manifest_version": 2,
"content_scripts": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "progtest-theme",
"version": "1.1.1",
"version": "1.1.2",
"description": "Theme manager for ProgTest",
"main": "background.js",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion src/content/end.js
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,10 @@ class Course extends Logged {
"Výsledky": "results",
"Úlohy": "extras",
"Programovací": "tasks",
"Semináře": "tasks"
"Semináře": "tasks",
"Nebodované": "tasks",
"Procvičovací": "tasks",
"Bodovaný": "tasks"
})[name.replace(/ .*/, '')] || "unknown"

if (name.includes('Teorie') || name.includes('Test')) { type = "exams" }
Expand Down
4 changes: 4 additions & 0 deletions src/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ span.course_link {
color: #b1b1b1;
}

.course_unknown_grp > span.course_title {
color: #404040;
}

span span.course_link_score {
background: #B0BEC5;
}
Expand Down

0 comments on commit 6d55491

Please sign in to comment.