Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
adrianshort
/
apollo
mirror da
https://github.com/adrianshort/apollo.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Design and layout improvements
master
Adrian Short
12 anni fa
parent
4d24f18aac
commit
ab08892118
4 ha cambiato i file
con
50 aggiunte
e
9 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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
Scrivi
Anteprima
Caricamento…
Annulla
Salva