Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Inloggen
adrianshort
/
apollo
kopie van
https://github.com/adrianshort/apollo.git
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
Design and layout improvements
master
Adrian Short
12 jaren geleden
bovenliggende
4d24f18aac
commit
ab08892118
4 gewijzigde bestanden
met
toevoegingen van 50
en
9 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+41
-2
app/assets/stylesheets/scaffolds.css.scss
+7
-5
app/views/feeds/index.html.haml
+1
-1
app/views/feeds/show.html.haml
+1
-1
app/views/layouts/application.html.haml
+ 41
- 2
app/assets/stylesheets/scaffolds.css.scss
Bestand weergeven
@@ -5,7 +5,7 @@ body {
font-size: 13px;
line-height: 18px;
width: 800px;
margin:
3
0px auto;
margin:
6
0px auto;
}
p, ol, ul, td {
@@ -18,7 +18,8 @@ pre {
font-size: 11px; }
a {
color: #000;
color: blue;
text-decoration: none;
&:visited {
color: #666; }
&:hover {
@@ -74,4 +75,42 @@ a.button, a.button:visited {
background-color: beige;
padding: 5px 10px;
margin: 10px 0;
border-radius: 20px;
}
.feed_title {
font-size: 2.0em;
}
table {
margin: 40px 0;
}
td {
padding: 0 20px 20px 0;
background-color: #fff;
}
th {
padding: 0 20px 10px 0;
text-align: left;
}
.right {
text-align: right;
}
h1 {
font-size: 3.2em;
font-weight: normal;
margin: 10px 0 40px 0;
}
h2 {
font-size: 2.3em;
font-weight: normal;
}
.logo {
float: right;
}
+ 7
- 5
app/views/feeds/index.html.haml
Bestand weergeven
@@ -4,8 +4,7 @@
%table
%tr
%th Title
%th Feed URL
%th
%th Posts
%th Fetched
%th
@@ -15,9 +14,12 @@
- @feeds.each do |f|
%tr
%td= link_to f.title, f
%td= link_to f.feed_url, f.feed_url
%td= f.posts.size
%td
.feed_title
= link_to f.title, f
%br
=# link_to f.feed_url, f.feed_url
%td.right= f.posts.size
%td
- if f.last_fetched.nil?
never
+ 1
- 1
app/views/feeds/show.html.haml
Bestand weergeven
@@ -24,7 +24,7 @@
%td= link_to p.title, p.url
%td= p.loc['lat']
%td= p.loc['lng']
%td= p.published
%td= p.published
.strftime("%d %b %Y %H:%M")
= link_to 'Edit', edit_feed_path(@feed)
\|
+ 1
- 1
app/views/layouts/application.html.haml
Bestand weergeven
@@ -8,7 +8,7 @@
%body
= link_to(image_tag("TAL_logo_blue-h100.png", :size => "275x100", :alt => "Talk About Local logo"), :root)
= link_to(image_tag("TAL_logo_blue-h100.png", :size => "275x100", :alt => "Talk About Local logo"), :root
, :class => "logo"
)
%p#notice= notice
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan