Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
adrianshort
/
apollo
réplica de
https://github.com/adrianshort/apollo.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Design and layout improvements
master
Adrian Short
hace 14 años
padre
4d24f18aac
commit
ab08892118
Se han
modificado 4 ficheros
con
50 adiciones
y
9 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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
Ver fichero
@@ -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
Ver fichero
@@ -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
Ver fichero
@@ -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
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar