이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
adrianshort
/
suttonelections
의 미러
https://github.com/adrianshort/suttonelections.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
2
위키
활동
소스 검색
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
쓰기
미리보기
불러오는 중...
취소
저장