-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add skeleton for moreinfo logic > relates #26
- Loading branch information
1 parent
3b91e6b
commit 6caa834
Showing
5 changed files
with
41 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
// callback just logs each key in session storage | ||
function callback(k) { | ||
console.log(k) | ||
} | ||
|
||
function forEachKey(callback) { | ||
for (var i = 0; i < sessionStorage.length; i++) { | ||
callback(sessionStorage.key(i)); | ||
} | ||
} | ||
|
||
forEachKey(callback) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
exports.get = (req, res) => { | ||
res.render('results', { | ||
layout: 'scrollable' | ||
}); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<nav class='grid-row'> | ||
<div class='centered-column centered-content secondary-background thirtytwo-padding fixed-height-double-h1'> | ||
<h1>Results</h1> | ||
</div> | ||
</nav> | ||
<section class='grid-row'> | ||
<div class='centered-column centered-content secondary-background thirtytwo-padding full-height'> | ||
<p>WE GOT NUTHIN</p> | ||
</div> | ||
</section> | ||
<section class='grid-row'> | ||
<div id='bottom-section' class='centered-column centered-content secondary-background thirtytwo-padding fixed-height-double-h1'> | ||
<form action='/background' class='centered-content'> | ||
<button class="govuk-button">Complain!</button> | ||
</form> | ||
</div> | ||
</section> |