Skip to content

Commit 7ba4bba

Browse files
authored
Merge pull request #53 from hakasapl/main
Removing UMA branding from site by default
2 parents 4fd7295 + 5c25c32 commit 7ba4bba

File tree

12 files changed

+32
-50
lines changed

12 files changed

+32
-50
lines changed

config/branding/config.ini

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[site]
22
name = "Unity Cluster" ; Name of the website
3-
url = "https://unity.rc.umass.edu/" ; URL of the website
4-
description = "The Unity Cluster is a shared High-Performance-Computing cluster maintained by UMass Amherst, University of Rhode Island, and UMass Dartmouth" ; Description of the website
5-
logo = "logo.png"
3+
url = "https://127.0.0.1:8000/" ; URL of the website
4+
description = "The Unity Web Portal is a lightweight HPC cluster front-end" ; Description of the website
5+
logo = "logo.png" ; path to logo file, in the webroot/res/branding folder
66

77
[colors]
88
light_background = "#ffffff" ; Background color when in light mode
@@ -20,37 +20,40 @@ accent_disabled = "#e48181" ; Disabled element color for element using accent c
2020
accent_foreground = "#ffffff" ; Text color when accent color is background
2121

2222
[footer]
23-
logos[] = "umass.png" ; Footer logos (add new lines for each)
24-
links[] = "https://www.umass.edu/"
25-
title[] = "University of Massachusetts Amherst"
26-
logos[] = "uri.png"
27-
links[] = "https://www.uri.edu/"
28-
title[] = "University of Rhode Island"
29-
logos[] = "mghpcc.png"
30-
links[] = "https://www.mghpcc.org/"
31-
title[] = "Massachusetts Green High Performance Computing Center"
23+
logos[] = "testLongFooter.png" ; Footer logos (add new lines for each)
24+
links[] = "https://github.com/"
25+
title[] = "Test Long Footer"
26+
logos[] = "testMedFooter.png"
27+
links[] = "https://github.com/"
28+
title[] = "Test Medium Footer"
29+
logos[] = "testSquareFooter.png"
30+
links[] = "https://github.com/"
31+
title[] = "Test Square Footer"
32+
logos[] = "testMedFooter.png"
33+
links[] = "https://github.com/"
34+
title[] = "Test Medium Footer"
3235

3336
[loginshell] ; menu items, Login Shells
3437
shell[] = "/bin/bash"
3538
shell[] = "/bin/zsh"
3639

3740
[menuitems] ; menu items, add a label and link for each
38-
labels[] = "Documentation"
39-
links[] = "https://docs.unity.rc.umass.edu/"
41+
labels[] = "Global Menuitem 1"
42+
links[] = "https://github.com/"
4043

4144
[menuitems_secure] ; menu items which only show up for users who have an account
42-
labels[] = "JupyterLab"
43-
links[] = "https://unity.rc.umass.edu/panel/jhub"
45+
labels[] = "Secure Menuitem 1"
46+
links[] = "https://github.com/"
4447

4548
[mail] ; mail addresses
46-
support = "[email protected]"
47-
support_name = "Unity Cluster Support"
48-
49-
admin_name = "Unity Cluster Admins"
50-
51-
sender_name = "Unity Cluster Updates"
52-
pi_approve = "piapproval@umass.edu"
53-
pi_approve_name = "PI Approval"
49+
support = "[email protected]"
50+
support_name = "Unity Support"
51+
52+
admin_name = "Unity Admins"
53+
54+
sender_name = "Unity Sender"
55+
pi_approve = "piapproval@unitywebportal.test"
56+
pi_approve_name = "Unity PI Approval"
5457

5558
[page] ; which sql objects to use for the content on these pages
5659
home = "home"

resources/mail/footer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<footer style="text-align: center; font-size: 8pt; color: #aaaaaa; border-top: 1px solid #dddddd; padding-top: 10px;">
22
<span>You are receiving this email because you have an account
3-
on the <a target='_blank' href='<?php echo $this->MSG_LINKREF; ?>'>Unity Cluster</a>
4-
at UMass Amherst. If you would like to stop receiving these emails,
3+
on the <a target='_blank' href='<?php echo $this->MSG_LINKREF; ?>'>Unity Cluster</a>.
4+
If you would like to stop receiving these emails,
55
you may request to close your account by replying to this email.</span>
66
</footer>

resources/templates/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<header>
4545
<img id="imgLogo" draggable=false
46-
src="<?php echo $CONFIG["site"]["prefix"]; ?>/res/<?php echo $BRANDING["site"]["logo"]; ?>">
46+
src="<?php echo $CONFIG["site"]["prefix"]; ?>/res/branding/<?php echo $BRANDING["site"]["logo"]; ?>">
4747
<button class="hamburger vertical-align">
4848
<img draggable="false" src="<?php echo $CONFIG["site"]["prefix"]; ?>/res/menu.png" alt="Menu Button">
4949
</button>

tests/user.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

webroot/css/global.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ footer>* {
241241

242242
footer #footerLogos img {
243243
padding: 0 10px 0 10px;
244-
width: 120px;
244+
max-width: 120px;
245+
max-height: 90px;
245246
margin-bottom: 10px;
246247
vertical-align: middle;
247248
}
-39 KB
Binary file not shown.
28.5 KB
Loading
28.4 KB
Loading
31.4 KB
Loading

0 commit comments

Comments
 (0)