This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
adrianshort
/
suttonelections
огледало од
https://github.com/adrianshort/suttonelections.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
2
Вики
Activity
Преглед изворни кода
Display flash errors and notices
tags/last-sinatra-version
Adrian Short
пре 12 година
родитељ
14e806be52
комит
06deeab3c9
2 измењених фајлова
са
12 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
public/style.css
+6
-0
views/layout.haml
+ 6
- 0
public/style.css
Прегледај датотеку
@@ -185,6 +185,12 @@ tr
padding: 10px 25px;
}
#notice {
background-color: green;
color: white;
padding: 10px 20px;
}
#error {
background-color: red;
color: white;
+ 6
- 0
views/layout.haml
Прегледај датотеку
@@ -8,6 +8,12 @@
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
%body
#main
- if flash[:notice]
#notice
%p= flash[:notice]
- if flash[:error]
#error
%p= flash[:error]
= yield
#footer
#footer_inner
Write
Preview
Loading…
Откажи
Сачувај