Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Add a 'prototype' message throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
Demotive committed Aug 15, 2016
1 parent 9416956 commit 7e70c97
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/sass/homepage_ipmb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,6 @@ html {
font-size: 14px;
line-height: 16px;
}

// Prototype warning banner
@import "modules/prototype-warning";
22 changes: 22 additions & 0 deletions app/assets/sass/modules/prototype-warning.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.prototype-warning {
p {
margin: 0;
padding: 1em 0;
font-size: 13px;
border-bottom: 1px solid #b9d2dc;
}
b {
color: #9B004F;
}
}

.prototype-warning-container {
max-width: 960px;
margin: 0 auto;
padding-left: 15px;
padding-right: 15px;
@media (min-width: 641px) {
padding-left: 30px;
padding-right: 30px;
}
}
3 changes: 3 additions & 0 deletions app/assets/sass/nhs_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@
ul { @extend .list-bullet; }
ol { @extend .list-number; }
}

// Prototype warning banner
@import "modules/prototype-warning";
2 changes: 2 additions & 0 deletions app/views/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
</div>
</div>

{% include "includes/prototype-warning.html" %}

<header role="banner" id="global-header">
<div class="header-container">

Expand Down
8 changes: 8 additions & 0 deletions app/views/includes/prototype-warning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<div class="prototype-warning">
<div class="prototype-warning-container">
<p>
<b>This is an idea</b> we developed for testing.
<a href="http://transformation.blog.nhs.uk/">Find out what we’re working on now.</a>
</p>
</div>
</div>
2 changes: 2 additions & 0 deletions app/views/templates/nhs_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
</header>
<!--end header-->

{% include "includes/prototype-warning.html" %}


{% block afterHeader %}{% endblock %}

Expand Down

0 comments on commit 7e70c97

Please sign in to comment.