-
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.
Signed-off-by: Tobias de Bruijn <[email protected]>
- Loading branch information
1 parent
09bedce
commit 3678966
Showing
14 changed files
with
142 additions
and
12 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
target/ | ||
.idea/ | ||
|
||
config.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{ | ||
"server": { | ||
"port": 8080, | ||
"domain": "fallacious-rooster.localhost:8080" | ||
"domain": "fallacious-rooster.local:8080" | ||
}, | ||
"koala": { | ||
"koala_host": "http://koala.rails.local:3000", | ||
"client_id": "", | ||
"client_secret": "", | ||
"redirect_uri": "http://fallacious-rooster.localhost:8080/api/oauth/callback" | ||
"redirect_uri": "http://fallacious-rooster.local:8080/api/oauth/callback" | ||
}, | ||
"email": { | ||
"from_email": "[email protected]", | ||
"from_name": "Studievereniging Sticky Anoniem Meldpunt", | ||
"smtp_relay": "smtp-relay.gmail.com" | ||
}, | ||
"frontend": { | ||
"home_page_url": "http://fallacious-rooster.localhost:3001/", | ||
"domain": "fallacious-rooster.localhost:3001" | ||
"home_page_url": "http://fallacious-rooster.local:3001/", | ||
"domain": "fallacious-rooster.local:3001" | ||
}, | ||
"local_storage": "./storage.json" | ||
} |
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
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,51 @@ | ||
<html lang="en"> | ||
<head> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Oxygen&display=swap" rel="stylesheet"> | ||
<title>Sticky Anonymous Report</title> | ||
</head> | ||
<style> | ||
.container { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
} | ||
p { | ||
font-family: 'Oxygen', sans-serif; | ||
} | ||
.banner { | ||
background-color: #197052; | ||
color: white; | ||
padding: 8px | ||
} | ||
</style> | ||
<body> | ||
<div class="container"> | ||
<div class="content"> | ||
<h1 class="banner">New anonymous report</h1> | ||
|
||
<p> | ||
Hi,<br/> | ||
<br/> | ||
A new report has been submitted and sent to the board of Sticky. | ||
<h3>Message</h3> | ||
{{ message }} | ||
|
||
<h3>Contact</h3> | ||
{{#if contact_address }} | ||
The user has given the following email address if you want to contact them: {{ contact_address }}. | ||
{{else}} | ||
The user has not given a contact address. | ||
{{/if}} | ||
<br/> | ||
<br/> | ||
Thanks,<br/> | ||
Sticky | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Empty file.
51 changes: 51 additions & 0 deletions
51
server/src/email/templates/report_confidential_advisors.hbs
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,51 @@ | ||
<html lang="en"> | ||
<head> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Oxygen&display=swap" rel="stylesheet"> | ||
<title>Sticky Anonymous Report</title> | ||
</head> | ||
<style> | ||
.container { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
} | ||
p { | ||
font-family: 'Oxygen', sans-serif; | ||
} | ||
.banner { | ||
background-color: #197052; | ||
color: white; | ||
padding: 8px | ||
} | ||
</style> | ||
<body> | ||
<div class="container"> | ||
<div class="content"> | ||
<h1 class="banner">New anonymous report</h1> | ||
|
||
<p> | ||
Hi,<br/> | ||
<br/> | ||
A new report has been submitted and sent to the confidential advisor. | ||
<h3>Message</h3> | ||
{{ message }} | ||
|
||
<h3>Contact</h3> | ||
{{#if contact_address }} | ||
The user has given the following email address if you want to contact them: {{ contact_address }}. | ||
{{else}} | ||
The user has not given a contact address. | ||
{{/if}} | ||
<br/> | ||
<br/> | ||
Thanks,<br/> | ||
Sticky | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</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
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