-
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.
Merge branch 'main' into task/GH-73-tacc-blockquote-plugin--after-FP-…
…1194
- Loading branch information
Showing
53 changed files
with
358 additions
and
126 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,4 +9,3 @@ __pycache__ | |
# Node & NPM | ||
## built Static files | ||
build | ||
!build/README.md |
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
Binary file not shown.
Empty file.
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,93 @@ | ||
# CUSTOM SETTINGS VALUES. | ||
# TACC WMA CMS SITE: | ||
# *.BRAINMAP.TACC.UTEXAS.EDU | ||
|
||
######################## | ||
# DJANGO CMS SETTINGS | ||
######################## | ||
|
||
CMS_TEMPLATES = ( | ||
('standard.html', 'Standard'), | ||
('fullwidth.html', 'Full Width'), | ||
|
||
('home_portal.html', 'Standard Portal Homepage'), | ||
|
||
('guide.html', 'Guide'), | ||
('guides/getting_started.html', 'Guide: Getting Started'), | ||
('guides/data_transfer.html', 'Guide: Data Transfer'), | ||
('guides/data_transfer.globus.html', 'Guide: Globus Data Transfer'), | ||
('guides/portal_technology.html', 'Guide: Portal Technology Stack'), | ||
) | ||
|
||
######################## | ||
# BRANDING | ||
######################## | ||
|
||
_UTHSCSA_BRANDING = [ | ||
"uthscsa", | ||
"brainmap-cms/img/org_logos/uthscsa-logo-white.png", | ||
"branding-logo--tall", | ||
"https://www.uthscsa.edu/", | ||
"_blank", | ||
"UTHSC-SA Logo", | ||
"anonymous", | ||
"True", | ||
] | ||
|
||
_SGCI_BRANDING = [ | ||
"sgci", | ||
"brainmap-cms/img/org_logos/sgci-logo-sans-text.svg", | ||
"branding-logo--tall", | ||
"https://sciencegateways.org/", | ||
"_blank", | ||
"SGCI Logo", | ||
"anonymous", | ||
"True", | ||
] | ||
|
||
_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" | ||
] | ||
|
||
BRANDING = [ _SGCI_BRANDING, _TACC_BRANDING, _UTEXAS_BRANDING, _UTHSCSA_BRANDING ] | ||
|
||
######################## | ||
# LOGOS | ||
######################## | ||
|
||
LOGO = [ | ||
"brainmap", | ||
"brainmap-cms/img/org_logos/brainmap-logo.png", | ||
"", | ||
"https://brainmap.org", | ||
"_self", | ||
"BrainMap Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
######################## | ||
# FAVICON | ||
######################## | ||
|
||
FAVICON = { | ||
"img_file_src": "brainmap-cms/img/org_logos/favicon.ico" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
/* FAQ: The CSS build process crashes without at least one project stylesheet */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
brainmap-cms/static/brainmap-cms/img/org_logos/sgci-logo-sans-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.1 KB
brainmap-cms/static/brainmap-cms/img/org_logos/uthscsa-logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,18 @@ | ||
# TACC Example CMS | ||
|
||
All custom resources (assets, templates, configuration) specific to this project __must__ be placed in this directory. Failure to do so will make them unavailable to [Core CMS]. | ||
|
||
## Configuration | ||
|
||
### `__init__.py` | ||
|
||
Treat directory as an app so that it can overwrite other apps. See `INSTALLED_APPS` in [`/taccsite_cms/settings.py`](/taccsite_cms/settings.py). | ||
|
||
### `settings_custom.py` | ||
|
||
Store custom configuration for this project. See [project `README.md` at "Code Configuration"](/README.md#code-configuration). | ||
|
||
|
||
<!-- Link Aliases --> | ||
|
||
[Core CMS]: https://github.com/TACC/Core-CMS |
Empty file.
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,86 @@ | ||
# CUSTOM SETTINGS VALUES. | ||
# TACC WMA CMS SITE: | ||
# *.ECEP.TACC.UTEXAS.EDU | ||
|
||
# FAQ: Some _VARIABLES are duplicated from settings.py (but prefixed with "_") | ||
# because current infrastructure lacks ability to reference default values | ||
|
||
######################## | ||
# DJANGO CMS SETTINGS | ||
######################## | ||
|
||
CMS_TEMPLATES = ( | ||
('ecep-cms/templates/standard.html', 'Standard'), | ||
('ecep-cms/templates/fullwidth.html', 'Full Width'), | ||
('guide.html', 'Guide'), | ||
('guides/getting_started.html', 'Guide: Getting Started'), | ||
('guides/data_transfer.html', 'Guide: Data Transfer'), | ||
('guides/data_transfer.globus.html', 'Guide: Globus Data Transfer'), | ||
('guides/portal_technology.html', 'Guide: Portal Technology Stack') | ||
) | ||
|
||
######################## | ||
# THEME | ||
######################## | ||
|
||
# THEME = 'has-dark-logo' | ||
|
||
######################## | ||
# BRANDING | ||
######################## | ||
|
||
_NSF_BRANDING = [ | ||
"nsf", | ||
"site_cms/img/org_logos/nsf-white.png", | ||
"branding-nsf", | ||
"https://www.nsf.gov/", | ||
"_blank", | ||
"NSF Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
_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" | ||
] | ||
|
||
BRANDING = [_NSF_BRANDING, _TACC_BRANDING, _UTEXAS_BRANDING] | ||
|
||
######################## | ||
# LOGOS | ||
######################## | ||
|
||
LOGO = [ | ||
"ecep", | ||
"ecep-cms/img/org_logos/ECEP_logo_PurpleNoText.jpeg", | ||
"", | ||
"/", | ||
"_self", | ||
"ECEP Logo", | ||
"anonymous", | ||
"True" | ||
] | ||
|
||
######################## | ||
# PORTAL | ||
######################## | ||
|
||
INCLUDES_CORE_PORTAL = True |
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,20 @@ | ||
# TACC CMS Per-Site Resources - Example - Static Files | ||
|
||
All static files specific to this CMS project __must__ be placed here _within_ a directory whose name matches _the parent directory of this directory_. Failure to do so will make them unavailable via [Core CMS][core-cms-repo]. | ||
|
||
See [Core `static/README.md`](/taccsite_cms/static/README.md). | ||
|
||
|
||
[core-cms-repo]: https://gitlab.tacc.utexas.edu/wma-cms/cms-site-template | ||
|
||
|
||
## Clarification | ||
|
||
Where `cms-project-a` and `cms-project-b` are unique CMS projects with custom resources: | ||
|
||
- `cms-site-resources:/cms-project-a/static/cms-project-a/…` | ||
- `cms-site-resources:/cms-project-b/static/cms-project-b/…` | ||
|
||
The redundancy is intentional. The high-level instance isolates per-project resources. The low-level instance [namespaces the custom static files and templates][djangocms-custom-resources]. | ||
|
||
[djangocms-custom-resources]: https://docs.djangoproject.com/en/2.2/intro/tutorial06/#customize-your-app-s-look-and-feel |
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,5 @@ | ||
# TACC CMS Per-Site Resources - Example - Static Files (Namespaced) | ||
|
||
The directory structure here __should__ mirror that of `/taccsite_cms/static/site_cms` in the [Core CMS][core-cms-repo]. This simplifies the effort of developing and maintaining multiple custom websites. | ||
|
||
[core-cms-repo]: https://gitlab.tacc.utexas.edu/wma-cms/cms-site-template |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...static/utrc-cms/css/src/migrate.v1_v2.css → ...static/ecep-cms/css/src/migrate.v1_v2.css
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,4 +1,3 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
@import url("../../../../../_shared/static/css/src/migrate.v1_v2.css"); | ||
@import url("./_migrations/v1_v2/bootstrap.3.3.7.css"); |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@ | ||
# TACC CMS Per-Site Resources - Example - Templates | ||
|
||
All templates specific to this CMS project __must__ be placed in this directory. Failure to do so will make them unavailable via [Core CMS][core-cms-repo]. | ||
|
||
[core-cms-repo]: https://gitlab.tacc.utexas.edu/wma-cms/cms-site-template | ||
|
||
## Page Templates | ||
|
||
Projects may make templates available as page templates for CMS editors, via this directory, _similar_ to the Core. See [Core `templates/README.md` at "Page Templates"](/taccsite_cms/templates/README.md#Page%20Templates). | ||
|
||
### Template Path | ||
|
||
To register or load (extend, include, etc) project-specific templates, you must use the path `__PROJECT__/templates/__TEMPLATE__.html`. | ||
|
||
### Overwrite Core Templates | ||
|
||
To overwrite Core templates, you may create a template of the same name template here, but must register it with the project-specific template path. | ||
|
||
> __Important__: A project can __not__ overwrite the Core CMS `base.html`. | ||
## Overwrite Apps or Plugins | ||
|
||
Projects may overwrite apps/plugins, via this directory, just like the Core. See [Core `templates/README.md` at "Overwrite Plugins"](/taccsite_cms/templates/README.md#Overwrite%20or%20Plugins). |
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,3 @@ | ||
{% load static %} | ||
|
||
<link rel="stylesheet" href="{% static 'ecep-cms/css/build/site.css' %}"> |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
# TACC CMS Per-Site Resources - Example | ||
# TACC Example CMS | ||
|
||
All custom resources (assets, templates, configuration) specific to this project __must__ be placed in this directory. Failure to do so will make them unavailable via [Core CMS][core-cms-repo]. | ||
|
||
[core-cms-repo]: https://gitlab.tacc.utexas.edu/wma-cms/cms-site-template | ||
All custom resources (assets, templates, configuration) specific to this project __must__ be placed in this directory. Failure to do so will make them unavailable to [Core CMS]. | ||
|
||
## Configuration | ||
|
||
### `__init__.py` | ||
|
||
Treat directory as an app so that it can overwrite other apps. See `INSTALLED_APPS` in [`/taccsite_cms/settings.py`](/taccsite_cms/settings.py). | ||
|
||
### `secrets.py` | ||
### `settings_custom.py` | ||
|
||
Store custom configuration for this project. See [project `README.md` at "Code Configuration"](/README.md#code-configuration). | ||
|
||
|
||
<!-- Link Aliases --> | ||
|
||
Store custom configuration for this project. See [project `README.md` at "Custom Configuration"](/README.md#Custom%20Configuration). | ||
[Core CMS]: https://github.com/TACC/Core-CMS |
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
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
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
17 changes: 0 additions & 17 deletions
17
frontera-cms/static/frontera-cms/css/src/_imports/trumps/s-search-bar.css
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,3 @@ | ||
{% load static %} | ||
|
||
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.css' %}"> |
Oops, something went wrong.