-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(demdata-cms): rename, update, fix (#164)
- Loading branch information
1 parent
6027b55
commit adc94e9
Showing
55 changed files
with
1,408 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-33.7 KB
demdata-cms/src/taccsite_custom/demdata-cms/static/demdata-cms/img/favicons/favicon.ico
Binary file not shown.
Binary file removed
BIN
-16.3 KB
...src/taccsite_custom/demdata-cms/static/demdata-cms/img/org_logos/tacc-white.png
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM taccwma/core-cms:977ecc0 | ||
# TACC/Core-CMS#v3.12.0-alpha.5 | ||
FROM taccwma/core-cms:511792b | ||
|
||
WORKDIR /code | ||
|
||
COPY /src/apps /code/apps | ||
COPY /src/taccsite_custom /code/taccsite_custom | ||
COPY /src/taccsite_cms /code/taccsite_cms |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# SECRET SETTINGS VALUES. | ||
# (LOCAL TEST INSTANCE) | ||
|
||
######################## | ||
# DATABASE SETTINGS | ||
######################## | ||
|
||
from taccsite_cms.settings import DATABASES | ||
|
||
DATABASES = { | ||
'default': { | ||
'ENGINE': DATABASES['default']['ENGINE'], | ||
'PORT': DATABASES['default']['PORT'], | ||
'NAME': DATABASES['default']['NAME'], | ||
'USER': DATABASES['default']['USER'], | ||
'PASSWORD': DATABASES['default']['PASSWORD'], | ||
'HOST': DATABASES['default']['HOST'], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# CUSTOM SETTINGS VALUES. | ||
# TACC WMA CMS SITE: | ||
# *.DEMOCTRATIZING-SITE.TACC.UTEXAS.EDU | ||
# https://democratizingdata.ai/ | ||
|
||
######################## | ||
# TACC: PORTAL | ||
######################## | ||
|
||
# Does this CMS site have a portal (default value: True)? | ||
INCLUDES_CORE_PORTAL = False | ||
INCLUDES_PORTAL_NAV = False | ||
INCLUDES_SEARCH_BAR = False | ||
|
||
######################## | ||
# DJANGO CMS SETTINGS | ||
######################## | ||
|
||
CMS_TEMPLATES = ( | ||
('standard.html', 'Standard'), | ||
('fullwidth.html', 'Full Width'), | ||
('demdata_cms/templates/standard.html', 'Standard (with CSS from TUP)'), | ||
('demdata_cms/templates/fullwidth.html', 'Full Width (with CSS from TUP)'), | ||
('demdata-cms/templates/standard.html', 'DEPRECATED Standard (with CSS from TUP)'), | ||
('demdata-cms/templates/fullwidth.html', 'DEPRECATED Full Width (with CSS from TUP)'), | ||
) | ||
# CMS_TEMPLATES_DIR: { | ||
# 1: 'demdata_cms/templates/', | ||
# 2: 'demdata-cms/templates/', | ||
# } | ||
|
||
######################## | ||
# TACC: BRANDING | ||
######################## | ||
|
||
# LOOK INTO THIS SOLUTION. | ||
# from taccsite_cms.settings import TACC_BRANDING, UTEXAS_BRANDING, NSF_BRANDING | ||
|
||
TACC_BRANDING = [ | ||
"tacc", | ||
"site_cms/img/org_logos/tacc-white.png", | ||
"branding-tacc", | ||
"https://www.tacc.utexas.edu/", | ||
"_blank", | ||
"TACC Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
UTEXAS_BRANDING = [ | ||
"utexas", | ||
"site_cms/img/org_logos/utaustin-white.png", | ||
"branding-utaustin", | ||
"https://www.utexas.edu/", | ||
"_blank", | ||
"University of Texas at Austin Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
# NSF_BRANDING = [ | ||
# "nsf", | ||
# "site_cms/img/org_logos/nsf-white.png", | ||
# "branding-nsf", | ||
# "https://www.nsf.gov/", | ||
# "_blank", | ||
# "NSF Logo", | ||
# "anonymous", | ||
# "True" | ||
# ] | ||
|
||
# BRANDING = [ TACC_BRANDING, UTEXAS_BRANDING, NSF_BRANDING ] | ||
BRANDING = [ TACC_BRANDING, UTEXAS_BRANDING ] # this matches prod 2022 | ||
# BRANDING = [] # prod 2022 hides bar via snippet CSS but should also do this | ||
|
||
######################## | ||
# TACC: LOGOS | ||
######################## | ||
|
||
LOGO = [ | ||
"demdata", | ||
"demdata_cms/img/org_logos/demdata.svg", | ||
"", | ||
"/", | ||
"_self", | ||
"Democratizing Data Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
FAVICON = { | ||
"img_file_src": "demdata_cms/img/favicons/Favicon_64x64.svg" | ||
} | ||
|
||
######################## | ||
# TACC: CORE STYLES | ||
######################## | ||
|
||
# Only use integer numbers (not "v1", not "0.11.0") | ||
TACC_CORE_STYLES_VERSION = 2 |
1 change: 1 addition & 0 deletions
1
demdata_cms/src/taccsite_custom/demdata-cms/templates/fullwidth.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "demdata_cms/templates/fullwidth.html" %} |
1 change: 1 addition & 0 deletions
1
demdata_cms/src/taccsite_custom/demdata-cms/templates/standard.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "demdata_cms/templates/standard.html" %} |
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
...c/taccsite_custom/demdata_cms/static/demdata_cms/img/favicons/Favicon_64x64.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.