This website works better with JavaScript.
首頁
探索
說明
登入
adrianshort
/
armchairauditor
镜像来自
https://github.com/adrianshort/armchairauditor.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Improved print styles and CSV download buttons
pull/3/head
Adrian Short
14 年之前
父節點
4b1a86496b
當前提交
efe0096970
共有
5 個文件被更改
,包括
17 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
public/print.css
+7
-0
public/style.css
+2
-0
views/layout.haml
+1
-1
views/service.haml
+1
-1
views/supplier.haml
+ 6
- 0
public/print.css
查看文件
@@ -6,4 +6,10 @@
body
{
margin: 0 auto;
}
a, a:visited
{
color: #000;
background-color: #fff;
}
+ 7
- 0
public/style.css
查看文件
@@ -120,3 +120,10 @@ tr
{
border: 0;
}
.download a, .download a:visited
{
margin: 15px 0;
padding: 7px;
background-color: red;
}
+ 2
- 0
views/layout.haml
查看文件
@@ -36,3 +36,5 @@
%a{ :href => '/suppliers' } Suppliers
%p
%a{ :href => '/about' } About this website
%p
%a{ :href => 'http://adrianshort.co.uk/' } Designed by Adrian Short
+ 1
- 1
views/service.haml
查看文件
@@ -8,7 +8,7 @@
%a{ :href => '/services' } Services
%li
= @service.name
%p
%p
.noprint.download
%a{ :href => "/services/#{@service.id}.csv" }
Download data as CSV
+ 1
- 1
views/supplier.haml
查看文件
@@ -9,7 +9,7 @@
%li
= @supplier.name
%p.noprint
%p.noprint
.download
%a{ :href => "/suppliers/#{@supplier.id}.csv" }
Download data as CSV
Write
Preview
Loading…
取消
儲存