Skip to content

Commit

Permalink
Add warning icon to alert pages
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Jul 4, 2015
1 parent e1c18c3 commit fa4d5fd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
<div class="alerttext">
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
<img src="/img/icons/warning.svg" class="alerticon" alt="warning"><h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
{{ content }}
</div>
<a href="/en/alerts">Go back to the network alerts history</a>
10 changes: 10 additions & 0 deletions _less/screen.less
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,9 @@ h2 .rssicon{
.alerttext h1{
text-align:left;
}
.alerttext img+h1{
margin-left:54px;
}
.alertstatusinactive{
font-size:130%;
color:#0d579b;
Expand All @@ -1794,6 +1797,13 @@ h2 .rssicon{
.alertsactive a{
font-weight:bold;
}
.alerticon{
width:42px;
height:42px;
float:left;
margin-top:12px;
margin-right:12px;
}

.redirectmsg{
text-align:center;
Expand Down

0 comments on commit fa4d5fd

Please sign in to comment.