From f925c56036a4cb16243dee61c50653996c454f4c Mon Sep 17 00:00:00 2001 From: deR0R0 Date: Wed, 22 Oct 2025 21:12:33 -0400 Subject: [PATCH 1/5] feat(ui): add theme choser + twilight theme --- celerybeat-schedule-shm | Bin 0 -> 32768 bytes celerybeat-schedule-wal | Bin 0 -> 156592 bytes intranet/apps/context_processors.py | 7 ++ intranet/apps/preferences/forms.py | 16 ++++ intranet/apps/preferences/views.py | 19 ++++- .../migrations/0043_userthemeproperties.py | 23 ++++++ intranet/apps/users/models.py | 13 +++ intranet/settings/__init__.py | 17 ++++ intranet/static/css/twilight/_colors.scss | 7 ++ intranet/static/css/twilight/about.scss | 5 ++ intranet/static/css/twilight/base.scss | 78 ++++++++++++++++++ intranet/static/css/twilight/cke.scss | 14 ++++ intranet/static/css/twilight/dashboard.scss | 33 ++++++++ .../static/css/twilight/eighth.signup.scss | 38 +++++++++ intranet/static/css/twilight/enrichment.scss | 5 ++ intranet/static/css/twilight/events.scss | 6 ++ intranet/static/css/twilight/files.scss | 14 ++++ intranet/static/css/twilight/login.scss | 25 ++++++ intranet/static/css/twilight/lostfound.scss | 7 ++ intranet/static/css/twilight/nav.scss | 12 +++ intranet/static/css/twilight/polls.scss | 18 ++++ intranet/static/css/twilight/printing.scss | 16 ++++ intranet/static/css/twilight/select.scss | 7 ++ intranet/static/css/twilight/welcome.scss | 6 ++ .../templates/announcements/add_modify.html | 6 +- intranet/templates/announcements/approve.html | 7 +- .../templates/announcements/club-request.html | 7 +- intranet/templates/announcements/delete.html | 6 +- intranet/templates/announcements/request.html | 7 +- .../announcements/request_status.html | 6 +- intranet/templates/announcements/success.html | 6 +- intranet/templates/announcements/view.html | 7 +- intranet/templates/auth/about.html | 7 +- intranet/templates/auth/login.html | 7 +- intranet/templates/auth/reauth.html | 6 +- intranet/templates/auth/reset_password.html | 6 +- intranet/templates/bus/home.html | 6 +- intranet/templates/bus/morning.html | 6 +- intranet/templates/dashboard/dashboard.html | 7 +- intranet/templates/docs/api-oauth-aup.html | 7 +- intranet/templates/eighth/absences.html | 6 +- intranet/templates/eighth/activity.html | 6 +- .../templates/eighth/activity_settings.html | 6 +- .../eighth/admin/distribute_group.html | 2 +- .../eighth/admin/eighth_admin_page_base.html | 6 +- .../admin/list_sponsor_by_activity.html | 2 +- .../templates/eighth/admin/list_sponsors.html | 2 +- .../eighth/admin/list_sponsors_hybrid.html | 2 +- .../eighth/admin/no_signups_roster.html | 6 +- .../eighth/admin/schedule_activity.html | 2 +- intranet/templates/eighth/edit_profile.html | 6 +- intranet/templates/eighth/email_students.html | 6 +- intranet/templates/eighth/location.html | 6 +- intranet/templates/eighth/multi_signup.html | 8 +- intranet/templates/eighth/profile.html | 6 +- .../templates/eighth/profile_history.html | 6 +- intranet/templates/eighth/profile_often.html | 6 +- intranet/templates/eighth/profile_signup.html | 9 +- intranet/templates/eighth/roster.html | 6 +- intranet/templates/eighth/signup.html | 7 +- intranet/templates/eighth/statistics.html | 7 +- .../templates/eighth/take_attendance.html | 8 +- .../templates/emailfwd/senior_forward.html | 6 +- intranet/templates/enrichment/add_modify.html | 8 +- intranet/templates/enrichment/delete.html | 9 +- intranet/templates/enrichment/home.html | 9 +- intranet/templates/enrichment/roster.html | 9 +- intranet/templates/events/add_modify.html | 8 +- intranet/templates/events/delete.html | 8 +- intranet/templates/events/home.html | 8 +- intranet/templates/events/join_event.html | 8 +- intranet/templates/events/roster.html | 8 +- intranet/templates/feedback/form.html | 7 +- intranet/templates/files/auth.html | 6 +- intranet/templates/files/delete.html | 6 +- intranet/templates/files/directory.html | 7 +- intranet/templates/files/home.html | 7 +- intranet/templates/files/upload.html | 7 +- intranet/templates/groups/addmodify.html | 7 +- intranet/templates/groups/groups.html | 6 +- intranet/templates/itemreg/home.html | 6 +- intranet/templates/itemreg/item_view.html | 7 +- .../templates/itemreg/register_delete.html | 6 +- intranet/templates/itemreg/register_form.html | 6 +- intranet/templates/itemreg/search.html | 7 +- intranet/templates/logs/home.html | 6 +- intranet/templates/logs/query.html | 6 +- intranet/templates/logs/request.html | 6 +- .../templates/lostfound/founditem_delete.html | 6 +- .../templates/lostfound/founditem_form.html | 7 +- intranet/templates/lostfound/home.html | 7 +- intranet/templates/lostfound/item_view.html | 7 +- .../templates/lostfound/lostitem_delete.html | 6 +- .../templates/lostfound/lostitem_form.html | 7 +- .../templates/notifications/gcm_list.html | 6 +- .../templates/notifications/gcm_post.html | 6 +- .../oauth2_provider/authorized-tokens.html | 2 +- intranet/templates/oauth2_provider/base.html | 7 +- intranet/templates/parking/car.html | 6 +- intranet/templates/parking/form.html | 6 +- intranet/templates/parking/intro.html | 6 +- intranet/templates/parking/joint.html | 6 +- intranet/templates/polls/add_modify.html | 8 +- intranet/templates/polls/delete.html | 7 +- intranet/templates/polls/home.html | 7 +- intranet/templates/polls/results.html | 7 +- intranet/templates/polls/vote.html | 7 +- intranet/templates/polls/winners.html | 7 +- .../templates/preferences/preferences.html | 13 ++- .../preferences/privacy_options.html | 7 +- intranet/templates/printing/print.html | 7 +- intranet/templates/schedule/admin_add.html | 7 +- .../templates/schedule/admin_comment.html | 8 +- .../templates/schedule/admin_daytype.html | 8 +- intranet/templates/schedule/admin_home.html | 8 +- intranet/templates/schedule/calendar.html | 8 +- intranet/templates/schedule/fill.html | 8 +- intranet/templates/search/search_results.html | 7 +- intranet/templates/seniors/add.html | 7 +- intranet/templates/seniors/home.html | 6 +- intranet/templates/sessionmgmt/index.html | 6 +- intranet/templates/signage/pages/eighth.html | 7 +- .../special/senior_dests_banner.html | 2 +- intranet/templates/special/tjstar_ribbon.html | 6 +- intranet/templates/users/all_classes.html | 6 +- intranet/templates/users/all_courses.html | 6 +- intranet/templates/users/class.html | 6 +- intranet/templates/users/class_room.html | 6 +- intranet/templates/users/profile.html | 6 +- intranet/templates/welcome/base.html | 5 +- 130 files changed, 955 insertions(+), 118 deletions(-) create mode 100644 celerybeat-schedule-shm create mode 100644 celerybeat-schedule-wal create mode 100644 intranet/apps/users/migrations/0043_userthemeproperties.py create mode 100644 intranet/static/css/twilight/_colors.scss create mode 100644 intranet/static/css/twilight/about.scss create mode 100644 intranet/static/css/twilight/base.scss create mode 100644 intranet/static/css/twilight/cke.scss create mode 100644 intranet/static/css/twilight/dashboard.scss create mode 100644 intranet/static/css/twilight/eighth.signup.scss create mode 100644 intranet/static/css/twilight/enrichment.scss create mode 100644 intranet/static/css/twilight/events.scss create mode 100644 intranet/static/css/twilight/files.scss create mode 100644 intranet/static/css/twilight/login.scss create mode 100644 intranet/static/css/twilight/lostfound.scss create mode 100644 intranet/static/css/twilight/nav.scss create mode 100644 intranet/static/css/twilight/polls.scss create mode 100644 intranet/static/css/twilight/printing.scss create mode 100644 intranet/static/css/twilight/select.scss create mode 100644 intranet/static/css/twilight/welcome.scss diff --git a/celerybeat-schedule-shm b/celerybeat-schedule-shm new file mode 100644 index 0000000000000000000000000000000000000000..9720b2cccc315b654de4812460aad6293e4ab3d9 GIT binary patch literal 32768 zcmeI)xlKbs5C-7?nZw*XbNO+aJEI;D6+i$T&;St$A;plA(E>Rw0Q(TKNRce$;2UW* zqt$9=^%XG9+gaLJEvHKA(~>93xxVT@Ki<_JH>vKM?&a;v`NhNg>r=1!a1if8)>qYo$O^lhdEBWwMY;k zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF N5FkK+0D=D(_yUf_CV>C| literal 0 HcmV?d00001 diff --git a/celerybeat-schedule-wal b/celerybeat-schedule-wal new file mode 100644 index 0000000000000000000000000000000000000000..7a206d8ea8f5efab11303990469f8691105e97b6 GIT binary patch literal 156592 zcmeI*ZEzIj0l@LQypWe8xs!=$0x2CcC_#It2sGBI&Ip5VCs?r-36^#5?n&;N%kItX z9++q>Efr9=Rm!R})e2a(wodDe<4oz;skM%S*xHWTRun`*K-3TQL#L%3hxXaK+mJ{g zcY%bw{42mQJx_3dgU1u_IA2{J?>!9_ZQ82CrEBk+v;Q)A zS4sc-7w@|McXR*s_}UtIXPK|ZAGfHzNkowbayBsRMWO< zZj8o7ERz(A<*Rhtn@{%4SqV9fstGfsrcy>Ik}*Q2YIGW*?5vdBtZb_?rkcV`bcy~q zH`|M+NN>6}X~Hq!Ur~!lh!3vO-UH+F`Hrfb$)mVg>T+XyjMUnM*XSYo;1; zRx#`edo1tycDyOxWXfms+L1ZE@~3m#sv7{;rKh!o)?vrXT2AnYRTxXW>KMSj?RLCA zyQmfM87*ONc&f7`gDlI8Ov=FwwntM&P{>v85L&c57**wZWf$qB6IgQxZm{eNXIt9tVg{NUd>1XxFXoa*yzxe>($$oN@d~TT*~BrCG*$U~*t4Y88}@9F zfOju-ejf8|N{cRiwFv6TSTLy@X1kuzV!`}Q>#Rh4k#+IF1?`)xZ~t;$L6NVZ^gZM* zX}}klS<_qLf_fxqyeaI>eIK`R8`||`QeP9yq=IV1keEWUs)?kLU6AXoc>@X>&{B8)QjJ2idgs?teoy+9|Y{5={zK%cQc)u`<5W-44$G zm*2=eHMhGsYiD^cvMulY?9Myzb*&02s?xxxoL*3WKgeC76w zy?wnvwifU|Hx^f!WkLV}1Q0*~0R#|0VEhZv3(yPD3(yPn+1Q0*~0R#|0U=#)D1?UCn1?UBa=ml;bYjlDd)BE1|VEt5jfl)jZ zFe?NQKmY**5I_I{1Q0*~0R&D}V0gX2E;-u);|nZ&`<|~qc4_J_xn5w4Cszyj=mk!7 z`|x}O5I_I{1Q0*~0R)CGu;Gq%E6S$dryaX!!69e(aQVeW3r6vx1@S5U2bkx21Ou)| zuyCwgk6`H-xgJ4Vyv^NR>gpQH4$eH4>k*7{FHrJkYE$Gt&+eob$i2<-69EJeKmY** z5I_I{1Q0*~fpH;FP%rTI=dVX_Trcpet9KkZa`a`ZUoWu5w}tBwjEjAMg+u@W1Q0*~ z0R#}3r~>o?V`2~jdV!#xj0KarVYcfTEk-X;pRZLSYP3^mF(sN5s+LLF@v;_K3ygFx z&^BV%BdGiHA2;2!{ktF23ry5Q3hRXc0tg_000IagfB*srATS{XPSgv$)Bkz|L-zum z7tFq2dG+Ya$9e&$7T|gW6LOznr4T>>0R#|0009KXivYa4`B%HPADCAHqLXM?@WzI&jiepXAZa?!G#CUGp~H+ zhtu3%AXf|co$2^O009ILKmY**5I_KdGb2DRKrcWq&=)T>wCl;Fz9yJS1=WZlw5SM* zE;W%fvgh?r$mPW`OpV6M3m6Ds4ZB;s_w>xL3_rJN>UQ}K2QFXolEPvIG z8u>^hlSrBg&9JSC4q>XMnU*uRDtmNIB(!#2-fWXMuW@e5`>T|UmP$lBIqZbHYnYpg*(`}XX0=c(Yej;+cQ3y3w!3O(IvhrLcn;CzRtSb=;K;SRI!R0+|vu9<4YNg~3Yu*dSA zZ^xSk`LwrgKxomWr?rIE;hdvxo#2rv?m+)e3$bsz`=N4${7^aU4NrAuGRSOZ%c4c_O^LoPazfzB`z`en56^C!N5WJFwlL7qA##U~SpP(5!U@UXNfHy}(~*d7=;R zI@&-lFgXq|tR(^nAbt*-a^a2xPzhE^G zKmY**5I_I{1SW!j>;)8h0eXQ{$_N$J3pBKrpL4(+U*J*37hrsW!mdZ~<>j;I|9sZ| zOX&qB!r_B;KmY**5I_I{1Q0*~0R#}3Gy(=miSv1&(Y?Jm39c^#$|-WB=g5 z5+Z;A0tg_000IagfB*srAkZgJP%rTQki9_l&V|WO<|iJe7wD7a1_B5mfB*srAb7ULZm* zKrc{qFK}LC`8UpWdx35A0`vlf^#Z=LQ!m}{xvD~=V z?FD{HFF-F)STB%R@JYjh2d^rj7dY{oGLImD00IagfB*srAbjeS_THAiG?B-f}fysN&Va*Xh009ILKmY**5I_I{1jeC2LA}7iA$x%rlb^m{JNI(N z7Z``T0E>(O0tg_000IagFkuB`FVIdeKrc{qFK|g?dG}to7kGkRfL@@mUf`DS;uU*$ z+;u6vz=S=fuwn=xfB*srAbIFU=vKM$Na{1vK-njf}dV$Hg8?n|1Ab li { + border-color: $dark_border; +} + +input[type="text"] { + background-color: $widget_background; + border-color: $dark_border; + color: white; +} + +textarea { + background-color: $widget_background; + border-color: $dark_border; + color: white; +} + +.selectize-input { + background-color: $widget_background !important; + border-color: $dark_border !important; + color: $text_primary !important; +} +/* who's big brain idea was it to make the stuff important??? */ +.selectize-input input[type="text"] { + background-color: $widget_background !important; + border-color: $dark_border !important; + color: $text_primary !important; +} + +.selectize-dropdown { + background: $widget_background; + border: 1px solid $dark_border; + outline: $dark_border; +} + +.selectize-dropdown-content { + background: $widget_background; + border-color: $dark_border; + color: $text_primary; + scrollbar-color: $dark_border $widget_background; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/cke.scss b/intranet/static/css/twilight/cke.scss new file mode 100644 index 00000000000..ef0b63aaa09 --- /dev/null +++ b/intranet/static/css/twilight/cke.scss @@ -0,0 +1,14 @@ +@use "colors" as *; + +.cke { + background: $page_background !important; + border-color: $dark_border !important; +} + +.cke_top { + background: $page_background !important; +} + +.cke_contents iframe { + background-color: $widget_background !important; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/dashboard.scss b/intranet/static/css/twilight/dashboard.scss new file mode 100644 index 00000000000..42d624a9fd1 --- /dev/null +++ b/intranet/static/css/twilight/dashboard.scss @@ -0,0 +1,33 @@ +@use 'colors' as *; + +.announcement, .club-announcements, .announcement-meta, .event { + background: $announcement_background; + border-color: $dark_border; + border-radius: 5px; + + h3 > a.announcement-link { + color: #D8D8D8 !important; + } + + &-metadata { + color: darkgray; + } + + &.partially-hidden .announcement-toggle-content::after { + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0), + black 80% + ); + } + + &.club-announcements { + background-color: rgb(24, 24, 24); + } +} + +.club-announcement-filters > .club-announcement-filter { + background-color: $widget_background; + border-color: $dark_border; + outline-color: $dark_border; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/eighth.signup.scss b/intranet/static/css/twilight/eighth.signup.scss new file mode 100644 index 00000000000..182aabc7cc9 --- /dev/null +++ b/intranet/static/css/twilight/eighth.signup.scss @@ -0,0 +1,38 @@ +@use "./colors" as *; + +.day-picker { + border-color: $dark_border; + + &-buttons button { + border-color: $dark_border; + } + + &-buttons button:hover { + border-color: $dark_border; + } + + .day { + outline-color: $dark_border; + scrollbar-color: $dark_border $widget_background; + } +} + +.search-wrapper { + background-color: $widget_background; + border-color: $dark_border; +} + +#activity-picker { + border-color: $dark_border; + scrollbar-color: $dark_border $widget_background; + + * { /* for each child element */ + border-color: $dark_border; + outline-color: $dark_border; + } +} + +#activity-detail { + background-color: $widget_background; + border-color: $dark_border; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/enrichment.scss b/intranet/static/css/twilight/enrichment.scss new file mode 100644 index 00000000000..32e5e8eb14b --- /dev/null +++ b/intranet/static/css/twilight/enrichment.scss @@ -0,0 +1,5 @@ +@use 'colors' as *; + +.schedule tr td { + border: 1px solid $dark_border; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/events.scss b/intranet/static/css/twilight/events.scss new file mode 100644 index 00000000000..17fdd682163 --- /dev/null +++ b/intranet/static/css/twilight/events.scss @@ -0,0 +1,6 @@ +@use 'colors' as *; + +.event { + background-color: $widget_background; + border-color: $dark_border; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/files.scss b/intranet/static/css/twilight/files.scss new file mode 100644 index 00000000000..3d8456a0b92 --- /dev/null +++ b/intranet/static/css/twilight/files.scss @@ -0,0 +1,14 @@ +@use 'colors' as *; + +.filesystem { + background-color: $widget_background; + border-color: $dark_border; +} + +.filesystem a { + color: white; +} + +table.directory-list a, table.directory-list a:link, table.directory-list a:visited, table.directory-list a:hover, table.directory-list a:active { + color: $text_primary; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/login.scss b/intranet/static/css/twilight/login.scss new file mode 100644 index 00000000000..4eae07ac12b --- /dev/null +++ b/intranet/static/css/twilight/login.scss @@ -0,0 +1,25 @@ +@use 'colors' as *; + +body.login-page input { + background-color: $widget_background; + border-color: $dark_border; + color: $text_primary; +} + +body.login-page .login input[type="submit"] { + background-color: $widget_background; + border-color: $dark_border; + color: $text_primary; +} + +body.login-page input:hover { + border-color: $accent_color; +} + +body.login-page .login input[type="submit"]:hover { + border-color: $accent_color; +} + +.footer { + background: $page_background; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/lostfound.scss b/intranet/static/css/twilight/lostfound.scss new file mode 100644 index 00000000000..59fa5bd2cf0 --- /dev/null +++ b/intranet/static/css/twilight/lostfound.scss @@ -0,0 +1,7 @@ +@use "colors" as *; + +.item { + background-color: $widget_background; + border-color: $dark_border; +} + diff --git a/intranet/static/css/twilight/nav.scss b/intranet/static/css/twilight/nav.scss new file mode 100644 index 00000000000..9a70aadb60e --- /dev/null +++ b/intranet/static/css/twilight/nav.scss @@ -0,0 +1,12 @@ +@use 'colors' as *; + +ul.nav { + background-color: $widget_background; + border-color: $dark_border; + border-width: 1px; +} + +ul.nav li { + border-color: $dark_border; + border-width: 1px; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/polls.scss b/intranet/static/css/twilight/polls.scss new file mode 100644 index 00000000000..9481dd4f098 --- /dev/null +++ b/intranet/static/css/twilight/polls.scss @@ -0,0 +1,18 @@ +@use 'colors' as *; + +#questions .question [contenteditable="true"] { + background-color: $widget_background; + border-color: $dark_border; +} + +input { + background-color: $widget_background !important; + border-color: $dark_border !important; + color: white; +} + +.poll { + background-color: $page_background; + font-weight: bold; + border-color: $dark_border; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/printing.scss b/intranet/static/css/twilight/printing.scss new file mode 100644 index 00000000000..37e1ffcad47 --- /dev/null +++ b/intranet/static/css/twilight/printing.scss @@ -0,0 +1,16 @@ +@use 'colors' as *; + +.working { + background-color: #00c951; + color: $text_primary; +} + +.broken { + background-color: #efb100; + color: $text_primary; +} + +.error { + background-color: #fb2c36; + color: $text_primary; +} diff --git a/intranet/static/css/twilight/select.scss b/intranet/static/css/twilight/select.scss new file mode 100644 index 00000000000..e04c4a89bf0 --- /dev/null +++ b/intranet/static/css/twilight/select.scss @@ -0,0 +1,7 @@ +@use 'colors' as *; + +select { + background-color: $widget_background; + border-color: $dark_border; + color: $text_primary; +} \ No newline at end of file diff --git a/intranet/static/css/twilight/welcome.scss b/intranet/static/css/twilight/welcome.scss new file mode 100644 index 00000000000..ad0a58308f8 --- /dev/null +++ b/intranet/static/css/twilight/welcome.scss @@ -0,0 +1,6 @@ +@use 'colors' as *; + + +#welcome { + background-color: $page_background; +} \ No newline at end of file diff --git a/intranet/templates/announcements/add_modify.html b/intranet/templates/announcements/add_modify.html index dbbdb8c0a6b..76c630a526e 100644 --- a/intranet/templates/announcements/add_modify.html +++ b/intranet/templates/announcements/add_modify.html @@ -34,11 +34,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/cke' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/approve.html b/intranet/templates/announcements/approve.html index 39cd0c26246..eefb54b2298 100644 --- a/intranet/templates/announcements/approve.html +++ b/intranet/templates/announcements/approve.html @@ -39,11 +39,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/cke' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/cke' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/club-request.html b/intranet/templates/announcements/club-request.html index c70c82c6285..61ff524e1d0 100644 --- a/intranet/templates/announcements/club-request.html +++ b/intranet/templates/announcements/club-request.html @@ -33,11 +33,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/cke' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/cke' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/delete.html b/intranet/templates/announcements/delete.html index 94203622e85..6a59b7e3479 100644 --- a/intranet/templates/announcements/delete.html +++ b/intranet/templates/announcements/delete.html @@ -26,10 +26,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/request.html b/intranet/templates/announcements/request.html index d3c8634b397..d521fdf4197 100644 --- a/intranet/templates/announcements/request.html +++ b/intranet/templates/announcements/request.html @@ -34,11 +34,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/cke' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/cke' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/request_status.html b/intranet/templates/announcements/request_status.html index de82f098d63..6ab32df2870 100644 --- a/intranet/templates/announcements/request_status.html +++ b/intranet/templates/announcements/request_status.html @@ -17,10 +17,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/success.html b/intranet/templates/announcements/success.html index f97627bc8d7..022c894bdd3 100644 --- a/intranet/templates/announcements/success.html +++ b/intranet/templates/announcements/success.html @@ -17,10 +17,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/announcements/view.html b/intranet/templates/announcements/view.html index 80c27c7d225..4b901a203f3 100644 --- a/intranet/templates/announcements/view.html +++ b/intranet/templates/announcements/view.html @@ -20,11 +20,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/dashboard' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/dashboard' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/auth/about.html b/intranet/templates/auth/about.html index 147348fae81..0b8de5d9e6d 100644 --- a/intranet/templates/auth/about.html +++ b/intranet/templates/auth/about.html @@ -19,11 +19,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% stylesheet 'dark/about' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/about' %} + {% endif %} {% endblock %} {% block body %} diff --git a/intranet/templates/auth/login.html b/intranet/templates/auth/login.html index 67dbc68e6ee..413e0afa70a 100644 --- a/intranet/templates/auth/login.html +++ b/intranet/templates/auth/login.html @@ -39,13 +39,18 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% stylesheet 'dark/schedule' %} {% stylesheet 'dark/events' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/login' %} + {% stylesheet 'twilight/events' %} + {% endif %} {% endblock %} {% block bodyclass %} login-page{% if login_warning %} has-login-warning{% endif %}{% endblock %} diff --git a/intranet/templates/auth/reauth.html b/intranet/templates/auth/reauth.html index e977ff058c6..1127c7c010b 100644 --- a/intranet/templates/auth/reauth.html +++ b/intranet/templates/auth/reauth.html @@ -30,11 +30,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/login' %} + {% endif %} {% endblock %} {% block bodyclass %} login-page{% if login_warning %} has-login-warning{% endif %}{% endblock %} diff --git a/intranet/templates/auth/reset_password.html b/intranet/templates/auth/reset_password.html index e17ecc76379..246bbd3e52a 100644 --- a/intranet/templates/auth/reset_password.html +++ b/intranet/templates/auth/reset_password.html @@ -26,11 +26,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/login' %} + {% endif %} {% endblock %} {% block bodyclass %} login-page{% if login_warning %} has-login-warning{% endif %}{% endblock %} diff --git a/intranet/templates/bus/home.html b/intranet/templates/bus/home.html index a5b7a59d9fb..10d38a1f473 100644 --- a/intranet/templates/bus/home.html +++ b/intranet/templates/bus/home.html @@ -21,11 +21,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/bus' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} diff --git a/intranet/templates/bus/morning.html b/intranet/templates/bus/morning.html index b1e3e5691f8..12940a5dd49 100644 --- a/intranet/templates/bus/morning.html +++ b/intranet/templates/bus/morning.html @@ -21,11 +21,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/bus' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/dashboard/dashboard.html b/intranet/templates/dashboard/dashboard.html index 98cb44e29c5..f2b0b691636 100644 --- a/intranet/templates/dashboard/dashboard.html +++ b/intranet/templates/dashboard/dashboard.html @@ -44,7 +44,7 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/dashboard' %} @@ -53,6 +53,11 @@ {% stylesheet 'dark/schedule.widget' %} {% stylesheet 'dark/events' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/dashboard' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/docs/api-oauth-aup.html b/intranet/templates/docs/api-oauth-aup.html index a1528fef3ac..84c89d18cf9 100644 --- a/intranet/templates/docs/api-oauth-aup.html +++ b/intranet/templates/docs/api-oauth-aup.html @@ -15,11 +15,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% stylesheet 'dark/about' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/login' %} + {% stylesheet 'twilight/about' %} + {% endif %} {% endblock %} {% block body %} diff --git a/intranet/templates/eighth/absences.html b/intranet/templates/eighth/absences.html index 8f8a981eca5..a6ebd318572 100644 --- a/intranet/templates/eighth/absences.html +++ b/intranet/templates/eighth/absences.html @@ -13,10 +13,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/eighth/activity.html b/intranet/templates/eighth/activity.html index 223665f5ddc..9f26a51bbaf 100644 --- a/intranet/templates/eighth/activity.html +++ b/intranet/templates/eighth/activity.html @@ -32,10 +32,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/eighth/activity_settings.html b/intranet/templates/eighth/activity_settings.html index fb1cbd31266..74ac8c10ce2 100644 --- a/intranet/templates/eighth/activity_settings.html +++ b/intranet/templates/eighth/activity_settings.html @@ -30,10 +30,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/eighth/admin/distribute_group.html b/intranet/templates/eighth/admin/distribute_group.html index 07d885044a5..2e190a77f9f 100644 --- a/intranet/templates/eighth/admin/distribute_group.html +++ b/intranet/templates/eighth/admin/distribute_group.html @@ -11,7 +11,7 @@ {% block head %} {{ block.super }} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/eighth.schedule' %} {% endif %} {% endblock %} diff --git a/intranet/templates/eighth/admin/eighth_admin_page_base.html b/intranet/templates/eighth/admin/eighth_admin_page_base.html index e15a3c103b4..403867dcbf0 100644 --- a/intranet/templates/eighth/admin/eighth_admin_page_base.html +++ b/intranet/templates/eighth/admin/eighth_admin_page_base.html @@ -13,10 +13,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block js %} diff --git a/intranet/templates/eighth/admin/list_sponsor_by_activity.html b/intranet/templates/eighth/admin/list_sponsor_by_activity.html index f291eff90dc..a19a9022548 100644 --- a/intranet/templates/eighth/admin/list_sponsor_by_activity.html +++ b/intranet/templates/eighth/admin/list_sponsor_by_activity.html @@ -35,7 +35,7 @@ {% block head %} {{ block.super }} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% endif %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/itemreg/search.html b/intranet/templates/itemreg/search.html index ad04833f49b..b1a8069e527 100644 --- a/intranet/templates/itemreg/search.html +++ b/intranet/templates/itemreg/search.html @@ -57,11 +57,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/select' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/select' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/logs/home.html b/intranet/templates/logs/home.html index 87b2e4361aa..1d3bc9cd18a 100644 --- a/intranet/templates/logs/home.html +++ b/intranet/templates/logs/home.html @@ -17,11 +17,15 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/logs' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block js %} diff --git a/intranet/templates/logs/query.html b/intranet/templates/logs/query.html index 5b4c8ac781a..96d5c61b293 100644 --- a/intranet/templates/logs/query.html +++ b/intranet/templates/logs/query.html @@ -12,10 +12,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block js %} diff --git a/intranet/templates/logs/request.html b/intranet/templates/logs/request.html index 1ca87acd81a..bb21df9ff22 100644 --- a/intranet/templates/logs/request.html +++ b/intranet/templates/logs/request.html @@ -8,10 +8,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block js %} diff --git a/intranet/templates/lostfound/founditem_delete.html b/intranet/templates/lostfound/founditem_delete.html index 06f9735691e..3ae303c9567 100644 --- a/intranet/templates/lostfound/founditem_delete.html +++ b/intranet/templates/lostfound/founditem_delete.html @@ -16,10 +16,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/lostfound/founditem_form.html b/intranet/templates/lostfound/founditem_form.html index cd053f03627..a13b67acc6e 100644 --- a/intranet/templates/lostfound/founditem_form.html +++ b/intranet/templates/lostfound/founditem_form.html @@ -52,11 +52,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/lostfound' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/lostfound' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/lostfound/home.html b/intranet/templates/lostfound/home.html index b51c356c24e..5e10edc562a 100644 --- a/intranet/templates/lostfound/home.html +++ b/intranet/templates/lostfound/home.html @@ -17,11 +17,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/lostfound' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/lostfound' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/lostfound/item_view.html b/intranet/templates/lostfound/item_view.html index 7fd11bf361d..b70b8c2bea5 100644 --- a/intranet/templates/lostfound/item_view.html +++ b/intranet/templates/lostfound/item_view.html @@ -17,11 +17,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/lostfound' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/lostfound' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/lostfound/lostitem_delete.html b/intranet/templates/lostfound/lostitem_delete.html index cfaf90981bc..b59178534db 100644 --- a/intranet/templates/lostfound/lostitem_delete.html +++ b/intranet/templates/lostfound/lostitem_delete.html @@ -16,10 +16,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/lostfound/lostitem_form.html b/intranet/templates/lostfound/lostitem_form.html index c4f326d6fcd..fe54b0b579e 100644 --- a/intranet/templates/lostfound/lostitem_form.html +++ b/intranet/templates/lostfound/lostitem_form.html @@ -52,11 +52,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/lostfound' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/lostfound' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/notifications/gcm_list.html b/intranet/templates/notifications/gcm_list.html index 411d8c64c7a..9abf679e946 100644 --- a/intranet/templates/notifications/gcm_list.html +++ b/intranet/templates/notifications/gcm_list.html @@ -15,10 +15,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/notifications/gcm_post.html b/intranet/templates/notifications/gcm_post.html index 8f4745f59f9..f6357e79c8d 100644 --- a/intranet/templates/notifications/gcm_post.html +++ b/intranet/templates/notifications/gcm_post.html @@ -27,10 +27,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/oauth2_provider/authorized-tokens.html b/intranet/templates/oauth2_provider/authorized-tokens.html index 95886cc4265..c3a354a6ec7 100644 --- a/intranet/templates/oauth2_provider/authorized-tokens.html +++ b/intranet/templates/oauth2_provider/authorized-tokens.html @@ -74,7 +74,7 @@ font-family: monospace; padding: 0px 2px; color: black; - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} color: white; {% endif %} } diff --git a/intranet/templates/oauth2_provider/base.html b/intranet/templates/oauth2_provider/base.html index 0764724acc7..9a453f82ab0 100644 --- a/intranet/templates/oauth2_provider/base.html +++ b/intranet/templates/oauth2_provider/base.html @@ -24,12 +24,17 @@ crossorigin="anonymous"> {% endblock %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/login' %} {% stylesheet 'dark/about' %} {% stylesheet 'dark/oauth' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/login' %} + {% stylesheet 'twilight/about' %} + {% endif %} {% block back %}{% endblock %} diff --git a/intranet/templates/parking/car.html b/intranet/templates/parking/car.html index 1570e031b99..30042eaafb0 100644 --- a/intranet/templates/parking/car.html +++ b/intranet/templates/parking/car.html @@ -27,10 +27,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/parking/form.html b/intranet/templates/parking/form.html index a3cd7695257..cecb6a0beac 100644 --- a/intranet/templates/parking/form.html +++ b/intranet/templates/parking/form.html @@ -22,10 +22,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/parking/intro.html b/intranet/templates/parking/intro.html index a35f6f19b63..f0c14c96a1e 100644 --- a/intranet/templates/parking/intro.html +++ b/intranet/templates/parking/intro.html @@ -20,10 +20,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/parking/joint.html b/intranet/templates/parking/joint.html index fe5f5965a19..b7121dc52cd 100644 --- a/intranet/templates/parking/joint.html +++ b/intranet/templates/parking/joint.html @@ -28,10 +28,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/polls/add_modify.html b/intranet/templates/polls/add_modify.html index bd4643efdab..0aa50f79861 100644 --- a/intranet/templates/polls/add_modify.html +++ b/intranet/templates/polls/add_modify.html @@ -31,12 +31,18 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/cke' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/cke' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/polls/delete.html b/intranet/templates/polls/delete.html index e4be949d75d..4b8085283fb 100644 --- a/intranet/templates/polls/delete.html +++ b/intranet/templates/polls/delete.html @@ -13,11 +13,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/polls/home.html b/intranet/templates/polls/home.html index eba848fcc62..bdd99abe564 100644 --- a/intranet/templates/polls/home.html +++ b/intranet/templates/polls/home.html @@ -13,11 +13,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block js %} diff --git a/intranet/templates/polls/results.html b/intranet/templates/polls/results.html index c1b6e1ceea2..b7d429b83c7 100644 --- a/intranet/templates/polls/results.html +++ b/intranet/templates/polls/results.html @@ -58,11 +58,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/polls/vote.html b/intranet/templates/polls/vote.html index 17e5cf735db..84ca78fe941 100644 --- a/intranet/templates/polls/vote.html +++ b/intranet/templates/polls/vote.html @@ -104,11 +104,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/polls/winners.html b/intranet/templates/polls/winners.html index c5f2ee49cad..aa21921de42 100644 --- a/intranet/templates/polls/winners.html +++ b/intranet/templates/polls/winners.html @@ -30,11 +30,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/polls' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/polls' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/preferences/preferences.html b/intranet/templates/preferences/preferences.html index 24ff9f7e21a..c725c1ecdff 100644 --- a/intranet/templates/preferences/preferences.html +++ b/intranet/templates/preferences/preferences.html @@ -64,11 +64,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/preferences' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/preferences' %} + {% endif %} {% endblock %} {% block main %} @@ -233,9 +238,9 @@

Privacy Options

{% endif %} {% endcomment %} - {% if dark_mode_form %} -

Dark Mode

- {% for field in dark_mode_form %} + {% if theme_form %} +

Theme

+ {% for field in theme_form %} {{ field.label }} {{ field }} {% endfor %} diff --git a/intranet/templates/preferences/privacy_options.html b/intranet/templates/preferences/privacy_options.html index 7569a2450c9..d2a8817b8a9 100644 --- a/intranet/templates/preferences/privacy_options.html +++ b/intranet/templates/preferences/privacy_options.html @@ -50,11 +50,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/preferences' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/preferences' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/printing/print.html b/intranet/templates/printing/print.html index c04a1dcc90b..9bfd647b0fb 100644 --- a/intranet/templates/printing/print.html +++ b/intranet/templates/printing/print.html @@ -23,11 +23,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/printing' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/printing' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/schedule/admin_add.html b/intranet/templates/schedule/admin_add.html index 818a595312c..767a7055a8e 100644 --- a/intranet/templates/schedule/admin_add.html +++ b/intranet/templates/schedule/admin_add.html @@ -38,11 +38,16 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/schedule/admin_comment.html b/intranet/templates/schedule/admin_comment.html index cd33783fa2f..78939d22299 100644 --- a/intranet/templates/schedule/admin_comment.html +++ b/intranet/templates/schedule/admin_comment.html @@ -25,13 +25,19 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} + {% block main %}
diff --git a/intranet/templates/schedule/admin_daytype.html b/intranet/templates/schedule/admin_daytype.html index 77ccc5a6020..77db8535107 100644 --- a/intranet/templates/schedule/admin_daytype.html +++ b/intranet/templates/schedule/admin_daytype.html @@ -127,13 +127,19 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} + {% block main %}
diff --git a/intranet/templates/schedule/admin_home.html b/intranet/templates/schedule/admin_home.html index 3c1fd808e8e..7a3d87ecb07 100644 --- a/intranet/templates/schedule/admin_home.html +++ b/intranet/templates/schedule/admin_home.html @@ -191,13 +191,19 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} + {% block main %}
diff --git a/intranet/templates/schedule/calendar.html b/intranet/templates/schedule/calendar.html index 02c591a9e7b..7bff650aac5 100644 --- a/intranet/templates/schedule/calendar.html +++ b/intranet/templates/schedule/calendar.html @@ -59,13 +59,19 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} + {% block main %}

Schedule

diff --git a/intranet/templates/schedule/fill.html b/intranet/templates/schedule/fill.html index 130a94b8386..ea63282e1f4 100644 --- a/intranet/templates/schedule/fill.html +++ b/intranet/templates/schedule/fill.html @@ -15,13 +15,19 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/schedule' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/schedule' %} + {% endif %} {% endblock %} + {% block main %}
diff --git a/intranet/templates/search/search_results.html b/intranet/templates/search/search_results.html index e76ae7f7a06..9ccc68dbaba 100644 --- a/intranet/templates/search/search_results.html +++ b/intranet/templates/search/search_results.html @@ -15,12 +15,17 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} + {% block main %}
diff --git a/intranet/templates/seniors/add.html b/intranet/templates/seniors/add.html index 217e8a7c947..bfed9d22ca5 100644 --- a/intranet/templates/seniors/add.html +++ b/intranet/templates/seniors/add.html @@ -36,12 +36,17 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} + {% block main %}

Add Destination Info

diff --git a/intranet/templates/seniors/home.html b/intranet/templates/seniors/home.html index 7c79ca1339d..a5beb6dbdca 100644 --- a/intranet/templates/seniors/home.html +++ b/intranet/templates/seniors/home.html @@ -26,10 +26,14 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/sessionmgmt/index.html b/intranet/templates/sessionmgmt/index.html index cbfb566d7a7..71aa287ae93 100644 --- a/intranet/templates/sessionmgmt/index.html +++ b/intranet/templates/sessionmgmt/index.html @@ -9,11 +9,15 @@ {% block head %} {% stylesheet 'sessionmgmt' %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/sessionmgmt' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% endif %} {% endblock %} {% block main %} diff --git a/intranet/templates/signage/pages/eighth.html b/intranet/templates/signage/pages/eighth.html index 9be751c7c73..f94ea898d5f 100644 --- a/intranet/templates/signage/pages/eighth.html +++ b/intranet/templates/signage/pages/eighth.html @@ -315,12 +315,17 @@ {% endblock %} {% block head %} - {% if dark_mode_enabled %} + {% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% stylesheet 'dark/base' %} {% stylesheet 'dark/nav' %} {% stylesheet 'dark/eighth.signup' %} {% endif %} + {% if theme_choice == 'twilight' %} + {% stylesheet 'twilight/base' %} + {% stylesheet 'twilight/nav' %} + {% stylesheet 'twilight/eighth.signup' %} + {% endif %} {% endblock %} {% block body %} diff --git a/intranet/templates/special/senior_dests_banner.html b/intranet/templates/special/senior_dests_banner.html index b4fd6540f7a..9cc2b0423cd 100644 --- a/intranet/templates/special/senior_dests_banner.html +++ b/intranet/templates/special/senior_dests_banner.html @@ -1,6 +1,6 @@ {% load static %} -{% if dark_mode_enabled %} +{% if theme_choice == 'dark' or theme_choice == 'twilight' %} {% else %} diff --git a/intranet/templates/special/tjstar_ribbon.html b/intranet/templates/special/tjstar_ribbon.html index d49d8bdd8c3..a8bd84b8501 100644 --- a/intranet/templates/special/tjstar_ribbon.html +++ b/intranet/templates/special/tjstar_ribbon.html @@ -10,7 +10,7 @@ -{% if dark_mode_enabled %} +{% if theme_choice == 'dark' or theme_choice == 'twilight' %}