Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1aea8f8
deps: update core-cms
wesleyboar Feb 5, 2026
fc9fe28
deps: update core-styles
wesleyboar Feb 5, 2026
6c39ddd
chore: delete code replaced by TACC/Core-CMS#1033
wesleyboar Feb 5, 2026
4a0eb1b
chore: delete outdated comment
wesleyboar Feb 5, 2026
c3155ee
feat: PORTAL_STYLES assets_custom via new Core-CMS
wesleyboar Feb 5, 2026
346940b
refactor: load custom styles via PORTAL_STYLES
wesleyboar Feb 5, 2026
a012d37
chore: remove c-feed-list cuz core-styles gives it
wesleyboar Feb 5, 2026
4b189e0
refactor: hotjar tracking code → ad-hoc JS scripts
wesleyboar Feb 5, 2026
d4ba501
chore: delete breadcrumb code core-cms already has
wesleyboar Feb 5, 2026
d634f3e
chore: delete assets_custom, it matches core-cms
wesleyboar Feb 5, 2026
318ec8a
chore: delete file now from Core-CMS since:
wesleyboar Feb 5, 2026
c258281
fix: put hotjar script in head not body
wesleyboar Feb 5, 2026
a4c24c5
chore: delete unnecessary djangocms_icon override
wesleyboar Feb 6, 2026
fcff12f
test: update workflow node version to resolve error
wesleyboar Feb 6, 2026
636c01f
docs: settings comments for plugins
wesleyboar Feb 6, 2026
663392f
refactor: .logos--social styles, core-cms updates
wesleyboar Feb 6, 2026
3cda13a
fix: ensure header font does not change
wesleyboar Feb 6, 2026
9797eef
refactor: header font, do not set, will not change
wesleyboar Feb 6, 2026
cf00ab6
chore: consolidate styles, remove old comments
wesleyboar Feb 6, 2026
b8b9434
chore: delete useless style
wesleyboar Feb 6, 2026
90be726
feat: hover state on footer social media logos
wesleyboar Feb 9, 2026
00f4769
Revert "feat: hover state on footer social media logos"
wesleyboar Feb 9, 2026
1a5781a
fix: hover state on footer social media logos
wesleyboar Feb 9, 2026
5a41978
refactor: simpler hover state on footer logos
wesleyboar Feb 9, 2026
ef44753
refactor: respect <small> in footer buttons
wesleyboar Feb 9, 2026
3eae71a
chore: remove tup styles matching core-styles
wesleyboar Feb 9, 2026
725a030
chore: delete unnecessary style
wesleyboar Feb 9, 2026
b1e0d27
chore: delete outdated fix
wesleyboar Feb 9, 2026
1307a67
refactor: move logo adjustment css to ad-hoc
wesleyboar Feb 9, 2026
b557a96
fix: logo adjustment css commit hash for URL
wesleyboar Feb 9, 2026
9796eeb
chore: save new bootstrap5 links from core-styles
wesleyboar Feb 28, 2026
e3b8a2c
docs: TODO for loading bootstrap5 links
wesleyboar Feb 28, 2026
8fd6f0f
chore: CSS link to point to a specific commit
wesleyboar Feb 28, 2026
18bb968
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Mar 9, 2026
adaf981
refactor: djangocms-blog settings
wesleyboar Mar 9, 2026
2d4a7f3
refactor: DJANGOCMS_ICON_SETS settings load path
wesleyboar Mar 9, 2026
2e36738
fix: missing comma
wesleyboar Mar 9, 2026
7f57486
fix: CSS expects portal <html> ID as page-portal
wesleyboar Mar 9, 2026
bffee57
deps: update Core-CMS from v37 to v38
wesleyboar Mar 9, 2026
1892f2d
fix: login page missing styles
wesleyboar Mar 9, 2026
210bd0c
fix: portal nav not showing logged in state
wesleyboar Mar 11, 2026
bb9a5df
Revert "fix: portal nav not showing logged in state"
wesleyboar Mar 11, 2026
7a71303
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Mar 12, 2026
cc7f04b
Revert "test: update workflow node version to resolve error"
wesleyboar Mar 14, 2026
593d91d
fix: ci error
wesleyboar Mar 14, 2026
de6b56f
chore: delete outdated new window js
wesleyboar Mar 16, 2026
f20596b
fix: build error from abs static paths
wesleyboar Mar 17, 2026
56e9ef6
fix: inaccessible footer social logos colors
wesleyboar Mar 17, 2026
cfe667f
deps: taccwma/core-cms
wesleyboar Mar 17, 2026
abc0a5b
deps: taccwma/core-cms:v4.38.6-rc1
wesleyboar Mar 17, 2026
84a6fb2
fix(a11y): use improved accessible #537 c-footer
wesleyboar Mar 17, 2026
5a349ee
deps: core-cms (initial bootstrap 5 support)
wesleyboar Mar 18, 2026
b373b1e
deps: core-cms v4.39, core-styles v2.54
wesleyboar Mar 18, 2026
15a5f24
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Mar 30, 2026
bd1df5e
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Apr 1, 2026
3a44108
chore: save quick fix of .media-link from Core-Styles
wesleyboar Apr 1, 2026
11e1b1e
fix(a11y): increase figure caption opacity
wesleyboar Apr 1, 2026
7bf6d34
chore: delete unnecessary style
wesleyboar Apr 9, 2026
f431671
docs: PORTAL_SOCIAL_SHARE_PLATFORMS becomes default
wesleyboar May 18, 2026
19e0067
chore: delete obsolete Core-Styles CSS link
wesleyboar Jul 8, 2026
be3a4a8
fix: restore lost change
wesleyboar Jul 8, 2026
1fdda33
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Jul 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions apps/tup-cms/src/taccsite_cms/settings_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,28 @@
# TACC: SOCIAL MEDIA
########################

# TODO: Delete after project uses Core-CMS version with TACC/Core-CMS#1155
PORTAL_SOCIAL_SHARE_PLATFORMS = ['linkedin', 'bluesky', 'facebook', 'email']

########################
# TACC: STYLES
########################

PORTAL_STYLES = [
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-core-styles.css"
},
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-core-cms.css"
},
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-tup-cms.css"
},
]

########################
# DJANGOCMS_BLOG
########################
Expand Down Expand Up @@ -186,31 +206,36 @@


########################
# PLUGIN SETTINGS
# DJANGO_FILER
########################

# https://github.com/django-cms/django-filer/blob/2.0.2/docs/permissions.rst
FILER_ENABLE_PERMISSIONS = True

########################
# CKEDITOR
# https://github.com/django-cms/djangocms-text-ckeditor
########################

CKEDITOR_SETTINGS = {
'autoParagraph': True, # Core-CMS had set this to False
'stylesSet': 'default:/static/js/addons/ckeditor.wysiwyg.js',
'contentsCss': ['/static/djangocms_text_ckeditor/ckeditor/contents.css'],
}

# DJANGOCMS_ICON SETTINGS
########################
# DJANGOCMS_ICON
# https://github.com/django-cms/djangocms-icon
########################

from taccsite_cms._settings.djangocms_plugins import DJANGOCMS_ICON_SETS as CORECMS_ICON_SETS

DECAL_ICONFILE = os.path.join(BASE_DIR, 'taccsite_custom', 'tup_cms', 'static', 'tup_cms', 'img', 'icons', 'decals.json')
with open(DECAL_ICONFILE, 'r') as fh:
DECAL_ICONS = fh.read()

# HELP: Icon dropdown sometimes does not show active icon selected.
# The position of DECAL_ICONS in this array affects the bug.
# SEE: https://github.com/django-cms/djangocms-icon/issues/9
DJANGOCMS_ICON_SETS = [
# IMPORTANT: Load CORECMS_ICON_SETS set last
# https://github.com/TACC/Core-CMS/blob/v4.37.1/taccsite_cms/_settings/djangocms_plugins.py#L203-L210
(DECAL_ICONS, '', _('TACC Decal SVGs')),
] + CORECMS_ICON_SETS

This file was deleted.

27 changes: 0 additions & 27 deletions apps/tup-cms/src/taccsite_cms/templates/assets_custom.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/scrolling-fixes.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@20981794/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/global-a11y.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/tup-730-drop-cap-and-fix-has-blog-tag-no-drop-cap.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/c-feed-list-tweaks.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/navbar-width-horz-scrollbar.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/tagged-news-uppercase-tag.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@1307a676/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/adjust-logo.css" rel="stylesheet" />

{# TODO: Delete when Core-CMS loads TACC/Core-Styles#621 #}
<link href="https://cdn.jsdelivr.net/gh/TACC/Core-Styles@010b311/dist/bootstrap4/components/media.css" rel="stylesheet" />

<link href="https://cdn.jsdelivr.net/gh/TACC/Core-CMS-Custom@main/generic_assets/css/core-cms-fixes.css" rel="stylesheet" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{% load sekizai_tags %}

{% comment %}
One <script> that loads script with many 'import's is faster than many <script>s.
{% endcomment %}

<script src="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/js/ad-hoc.js" type="module"></script>

{% comment %}
If this works, delete `js-prevent-ugly-urls`:
https://tacc.utexas.edu/admin/djangocms_snippet/snippet/150/change/
{% endcomment %}

This file was deleted.

30 changes: 0 additions & 30 deletions apps/tup-cms/src/taccsite_cms/templates/snippets/redirect.html

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* To align first CMS nav with "Dashbaord" heading in Portal */
.s-header .navbar-brand {
flex-basis: 138px;
}
/* To give CMS nav more room by reducing size of logo */
.portal-logo {
height: 30px;
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,3 @@
display: none;
}
}
/* To align first CMS nav with "Dashbaord" heading in Portal */
.s-header .navbar-brand {
flex-basis: 138px;
}
/* To give CMS nav more room by reducing size of logo */
.portal-logo {
height: 30px;
}
/* To vertically center the logo which was shrunk */
.s-header .navbar-brand {
display: grid;
align-items: center;
}


/* TO MAKE HEADER FONT CONSISTENT ON CMS & PORTAL */

/* TODO: Remove after TACC/Core-CMS#v4.25.1 */
.s-header {
font-family: var(--global-font-family--sans--portal);
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@ html#page-portal .c-footer p {
padding-block: var(--pad-vert);
}

/* To tweak minor styles */
#cms-footer {
color: var(--global-color-primary--light);
}

/* Add vertical space between panes, except for aside when it is below others */
/* FAQ: Bootstrap 4 grid does not have a way to do so */
#cms-footer .col.c-pane--nav {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/* … */

/* COMPONENTS */
@import url("./for-core-styles/components/c-feed-list.css") layer(base);
@import url("./for-core-styles/components/c-news.css") layer(base);

/* TRUMPS */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@

/* TRUMPS */
@import url("./for-tup-cms/trumps/s-abbr-list.css") layer(project);
@import url("./for-tup-cms/trumps/s-breadcrumbs.css") layer(project);
Loading
Loading