-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service info style with tachyons! #149
Changes from 4 commits
b4597c9
85c42e9
8aa4176
732e0df
2324fee
c455bb8
3373a5e
7572eb2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ module.exports = (req, res) => { | |
else { | ||
res.render('serviceInfo', { | ||
service: service, | ||
latlng: coordinates | ||
latlng: coordinates, | ||
back: req.headers.referer | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can explain what this line do ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. req.headers.referer is the URL of the page before the page that the client is currently on. We send this to handlebars, and use the URL as the |
||
}) | ||
} | ||
}) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,19 @@ | |
<html dir={{{dir}}} lang={{{lang}}}> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>{{title}}</title> | ||
<title>{{{title}}}</title> | ||
<!-- Stylesheets: ours, icons (3x) and tachyons --> | ||
<link rel="stylesheet" href="./css/main.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="./assets/my-icons-collection /font/flaticon.css"> | ||
<link rel="stylesheet" href="./assets/foundation_icons_accessibility/stylesheets/accessibility_foundicons.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css"/> | ||
<!-- Google Font Link --> | ||
<link href="https://fonts.googleapis.com/css?family=Amiri" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"> | ||
</head> | ||
<body class="vh-100 bg-color pt4"> | ||
<body class="vh-100 bg-color pt4 pb6 amiri"> | ||
{{>header}} | ||
{{{body}}} | ||
{{>navbar}} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this after results page is merged !