Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.4)
sqlite3 (1.3.4-x86-mingw32)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
Expand All @@ -107,6 +108,7 @@ GEM

PLATFORMS
ruby
x86-mingw32

DEPENDENCIES
coffee-rails (~> 3.1.1)
Expand Down
Binary file added app/assets/images/foto_daniel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/foto_david
Binary file not shown.
Binary file added app/assets/images/foto_david.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions app/assets/stylesheets/planet.css.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
// Place all the styles related to the Planet controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.nombre{
font-family: Comic Sans MS;
font-weight: bold;
}

.curriculum{
padding-left: 10px;
}

.foto_daniel{
position:relative;
top:300px;
left:-420px;
}

.foto_david{
position:relative;
top:140px;
left:-420px;
}

#alumno_daniel{
float: left;
}

#alumno_david{
float: left;
margin-left:150px;
}

li{
padding-top:10px;
}

.wrapper {
min-height: 100%;
height: auto;
height: 100%;
margin: 0 auto -4em;
}

.pie_pagina, .push{
height: 4em;
}

html, body {
height: 100%;
}
4 changes: 4 additions & 0 deletions app/controllers/planet_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ def contact
# GET /planet/ejemplo
def ejemplo
end

# GET /planet/author
def author
end

end
10 changes: 10 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@
</head>
<body>


<%= link_to('Home', planet_index_path) + ' | ' + link_to('Contact', planet_contact_path) + ' | ' + link_to('Ejemplo', planet_ejemplo_path) + ' | ' + link_to('Author', planet_author_path) %>

<%= yield %>



<div class="pie_pagina">
<%= link_to('Home', planet_index_path) + ' | ' + link_to('Contact', planet_contact_path) + ' | ' + link_to('Ejemplo', planet_ejemplo_path) + ' | ' + link_to('Author', planet_author_path) %>
</div>


</body>
</html>
1 change: 1 addition & 0 deletions app/views/planet/author.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1>Autores</h1>Somos Daniel Carpintero Morales y David García Regodón. Nuestros datos son:<div class="wrapper"><ul> <div id="alumno_daniel"> <li class="nombre">Daniel Carpintero Morales</li> <li type ="none"> <ul> <li> Dirección postal: C/ San Samuel, 12 2º A 28017 Madrid </li> <li> Correo electrónico: <a href="mailto:[email protected]"> [email protected]</a></li> <li> Breve Currículum: <div class="curriculum"> <dl> <dt> Graduado en Educación Secundaria Obligatoria </dt><dd>2001-2005</dd> <dt> Graduado en Bachillerato </dt><dd>2005-2007</dd> <dt> En último curso de Ingeniería Superior de Telecomunicación </dt><dd>2007-2012</dd> </dl> </div> </li> </ul> </li> <%= image_tag("foto_daniel.jpg",:size => "160x200") %> <%= link_to('CV de Daniel completo en PDF', '/resource/curriculum_daniel.pdf') %> </div> <div id="alumno_david"> <li class="nombre">David García Regodón</li> <li type ="none"> <ul> <li> Dirección postal: C/ Ramón Gómez de la Serna, 155 5º A 28010 Madrid </li> <li> Correo electrónico: <a href="mailto:[email protected]"> [email protected]</a></li> <li> Breve Currículum: <div class="curriculum"> <dl> <dt> Graduado en Educación Secundaria Obligatoria </dt><dd>2000-2004</dd> <dt> Graduado en Bachillerato </dt><dd>2004-2006</dd> <dt> En último curso de Ingeniería Superior de Telecomunicación </dt><dd>2006-2012</dd> </dl> </div> </li> <%= image_tag("foto_david.jpg",:size => "160x200") %> <%= link_to('CV de David completo en PDF', '/resource/curriculum_david.pdf') %> </div></ul></li></ul><div class="push"></div></div>
Expand Down
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
get "planet/contact"

get "planet/ejemplo" # Se añade una nueva ruta a la acción ejemplo

get "planet/author" # Se añade una nueva ruta a la acción author

# The priority is based upon order of creation:
# first created -> highest priority.
Expand Down
Binary file added public/resource/curriculum_daniel.pdf
Binary file not shown.
Binary file added public/resource/curriculum_david.pdf
Binary file not shown.