Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e614376
upgrade theme, add files, remove outdated unused files, update faq fo…
mwinkens Feb 23, 2024
b42e58a
upgrade every template
mwinkens Feb 23, 2024
e71102f
add mobile support
mwinkens Feb 26, 2024
86dc650
remove outdated TOS
mwinkens Feb 26, 2024
0346332
use b2access image
mwinkens Feb 26, 2024
7a2c9b9
add styles as required by unity
mwinkens Feb 26, 2024
ae89d8f
add favicon as required by unity
mwinkens Feb 26, 2024
1228dfd
use absolute paths in header and footer
mwinkens Feb 26, 2024
074b8c7
fix headertable div
mwinkens Feb 26, 2024
d328ad4
fix primary header size
mwinkens Feb 26, 2024
f39dc13
fix alignment issue and add main-element as allowed page id
mwinkens Feb 26, 2024
f8757b1
fix alignment issues
mwinkens Feb 26, 2024
2940357
fix z-alignment of footer regarding login
mwinkens Feb 26, 2024
9567c6d
fix relative links
mwinkens Feb 26, 2024
69cb53e
fix header links
mwinkens Feb 26, 2024
cbc6e31
fix footer line having a margin
mwinkens Feb 26, 2024
ddbc2b0
fix background image bullshittery
mwinkens Feb 26, 2024
6cb9443
fix b2acess button being stupid
mwinkens Feb 26, 2024
7c498a3
fix other layouting problems
mwinkens Feb 26, 2024
c94eb37
set height to 100% for root element
mwinkens Feb 26, 2024
7eed589
remove services.html
mwinkens Feb 26, 2024
aabfeaf
add functionality to hide theme on sites like /console/
mwinkens Feb 27, 2024
b02c435
fix main-element not being 100%
mwinkens Feb 27, 2024
567e6c7
fix main-element still having a bottom padding
mwinkens Feb 27, 2024
6c37be5
don't load footer and header on forbidden sides
mwinkens Feb 27, 2024
e73e709
rename footer id due to conflict with styles.css
mwinkens Feb 27, 2024
a08a793
change What is B2ACESS and User Guide in Nav
mwinkens Feb 28, 2024
8aac3d4
first unity-4 init
mwinkens Jan 6, 2025
a625496
update links
mwinkens Jan 6, 2025
63e1b7f
update link
mwinkens Jan 7, 2025
bdcbaad
add header background image back, minor layout and design adjustments
mwinkens Jan 7, 2025
7ac3a66
style subsites
mwinkens Jan 7, 2025
de09e2a
update readme
mwinkens Jan 7, 2025
c982c88
improve phone support
mwinkens Jan 7, 2025
497eb9c
add alt attributes to footer
mwinkens Jan 7, 2025
b1f0195
add minor changes and layout adjustments
mwinkens Jan 9, 2025
ec824ca
fix issues with tab color
mwinkens Jan 10, 2025
43c6258
add core color for default endpoints
mwinkens Jan 10, 2025
454b666
Update links and add imprint
apw1388 Feb 20, 2025
0987745
Update header links
apw1388 Feb 20, 2025
b20447c
add 64 pixel favicon
apw1388 Feb 20, 2025
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea
*/**/imprint.html
*/**/impressum.html
*/**/data-privacy-statement.html
58 changes: 54 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
EUDAT B2ACCESS webserver theme components
# B2ACCESS Theme

One can install it by cloning this repository to the directory where are
B2ACCESS html files deployed
" git clone https://github.com/EUDAT-B2ACCESS/b2access-theme.git theme "
Subset of configurations and customizations on Unity IdM installation for b2access.eudat.eu

### What's in here

- Landing page (and homepage) template
- about-page
- acceptable-use-policy

### What's **not** in here
- Imprint/Impressum
- Data privacy statement

## Installation

1. Clone this repository into `unity-4.x.x./webContents` with `git clone https://github.com/EUDAT-B2ACCESS/b2access-theme.git b2access`
so your directory structure looks like this:
```
webContents/
├── assets/
├── favicon.html
├── b2access/
│   ├── README.md
**this project**
├── styles.css
└── templates/

```

2. Swap assets (e.g logo, favicon, etc.) under `webContents/assets`
3. Put missing files like `impressum.html` and `data-privacy-statement.html` in `webContents/b2access/files/`
4. Change permissions `chown -R unity:unity webContents`
5. Set up the following unity settings in `conf/modules/core/userhome.properties` for the home endpoint:
```
unity.endpoint.web.customCssFileName=b2access/b2access-home.css
unity.endpoint.web.extraTopPanel=b2access/b2access-topbar.html
unity.endpoint.web.extraBottomPanel=b2access/b2access-bottombar.html

```

6. `conf/modules/core/upman.properties` for the upman-endpoint:
```
unity.endpoint.web.customCssFileName=b2access/b2access-home.css
unity.endpoint.web.extraTopPanel=b2access/b2access-topbar.html
unity.endpoint.web.extraBottomPanel=b2access/b2access-bottombar.html
```

Note: You can put off the extra panels prevents header and footer to show AFTER login
with `unity.endpoint.web.addExtraPanelsAfterAuthentication=false`

7. `conf/unityServer.conf` for general endpoints:
```
unityServer.core.customCssFileName=b2access/b2access-core.css
```
54 changes: 54 additions & 0 deletions b2access-bottombar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<div id="footer" class="flex-center-column">
<div id="primary-footer" class="flex-center-row">
<div class="flex-center-column">
<div id="footer-menu-button-menu">
<button id="footer-menu-button"
onclick="getElementById('footer-menu').classList.toggle('active')">☰</button>
</div>
</div>
<div class="flex-center-column footer-hspacer">
<div class="flex-left-row">
<img src="/unitygw/b2access/common/img/Logo_eudat_CDI_white.svg" width="201px;"
style="margin-bottom: -6px;" alt="EUDAT logo">
</div>
<div id="copyright-eudat" class="footer-text">
© 2019 EUDAT Collaborative Data Infrastructure
</div>
</div>
<div id="footer-menu" class="flex-center-row">
<div class="flex-center-column">
<a target="_blank" href="/unitygw/b2access/files/imprint.html"><span>Imprint</span></a>
</div>
<div class="flex-center-column">
<a target="_blank" href="https://www.eudat.eu/eudat-cdi-aup"><span>EUDAT Service
ToU</span></a>
</div>
<div class="flex-center-column">
<a href="/unitygw/b2access/files/data-privacy-statement.html">
<span>Data Privacy Statement</span>
</a>
</div>
<div class="flex-center-column">
<a href="https://eudat.eu"><span>About EUDAT</span></a>
</div>
</div>
</div>
<div id="secondary-footer" class="flex-center-column">
<div class="line"></div>
<div id="subfooter-menu" class="flex-center-row">
<div class="flag-eu">
<img src="/unitygw/b2access/common/img/euflag.png" height="40px;" alt="EU flag">
</div>
<div class="project">
<img src="/unitygw/b2access/common/img/EOSC-hub-extended-grey.png" height="40px;" alt="EOSC hub logo">
</div>
<div class="footer-text flex-center-column">
B2ACCESS is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536
</div>
<div class="footer-hspacer"></div>
<div class="flex-center-column">
<a href="http://unity-idm.eu/"><span>Powered by Unity-IDM</span></a>
</div>
</div>
</div>
</div>
29 changes: 29 additions & 0 deletions b2access-core.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
html {
--lumo-font-size-xxxl: 3rem;
--lumo-font-family: Verdana, "Verdana Ref", sans-serif;
--lumo-size-xl: 5rem;
--lumo-primary-text-color: #3F3F3E;
--lumo-primary-color-50pct: #fff;
--lumo-primary-color-10pct: #fff;
--lumo-primary-color: #FF4637;
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
--lumo-header-text-color: #264899;
--lumo-error-color: #FF4637;
--lumo-success-color: #00B720;
--unity-font-weight: 500;
--vaadin-text-field-default-width: 16em;
--lumo-button-primary-background: #264899;
--vaadin-button-primary-background: #264899;
--unity-hover-button-color: #E65217;
--unity-selected-tab-color: #677eb7;

--unity-tab-hover-color: #E65217;
/* This naming schema >.< */
--unity-icon-color: #264899;
/* Why is the default so stupid here? Make a handsymbol for clickable stuff*/
--lumo-clickable-cursor: pointer;
/*This one works on u-authn-screen*/
background-color: #fafafa;
--unity-text-field-medium: 100%;
--unity-left-menu-navbar-color: #264899;
}
Loading