-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
541 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,6 @@ dist/ | |
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{% load static from staticfiles %} | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<title>{{ title }}</title> | ||
|
||
<link rel="stylesheet" href="{% static "css/lib/normalize.css" %}"> | ||
<link rel="stylesheet" href="{% static "css/base.css" %}"> | ||
</head> | ||
<body> | ||
{% block content %}{% endblock content %} | ||
|
||
{% if user.is_authenticated %} | ||
<a href="{% url "logout" %}">Cerrar Sesión</a> | ||
{% endif %} | ||
<section class="wrapper"> | ||
{% block content %}{% endblock content %} | ||
</section> | ||
|
||
<footer class="wrapper"> | ||
{% if user.is_authenticated %} | ||
<a href="{% url "logout" %}" class="link">Cerrar Sesión</a> | ||
{% endif %} | ||
</footer> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Zilla+Slab:300,400'); | ||
|
||
html { | ||
font-family: 'Zilla Slab', serif; | ||
font-size: 16px; | ||
} | ||
|
||
.wrapper { | ||
width: 90%; | ||
margin: 0 auto; | ||
} | ||
|
||
footer.wrapper { | ||
margin-top: 1em; | ||
} | ||
|
||
section.wrapper { | ||
margin-top: 3em; | ||
} | ||
|
||
section.wrapper form label { | ||
width: 25%; | ||
clear: right; | ||
text-align: left; | ||
padding: 0; | ||
} | ||
|
||
section.wrapper form input[type='text'], input[type='password'], label { | ||
float: left; | ||
width: 75%; | ||
margin: 0 0 2em 0; | ||
padding: 0; | ||
border: none; | ||
} | ||
|
||
section.wrapper form input[type='text'], input[type='password'] { | ||
border-bottom: 1px solid #9a9a9a; | ||
outline: none; | ||
} | ||
|
||
section.wrapper form button[type='submit'] { | ||
width: 100%; | ||
outline: none; | ||
border: none; | ||
font-family: 'Zilla Slab', serif; | ||
background-color: #e8e5e5; | ||
height: 30px; | ||
cursor: pointer; | ||
border-radius: 4px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
section.wrapper .link { | ||
text-decoration: none; | ||
color: #0079ff; | ||
} | ||
|
||
footer.wrapper .link { | ||
text-decoration: none; | ||
color: #ff004e; | ||
} | ||
|
||
@media (min-width: 800px) { | ||
.wrapper { | ||
width: 25%; | ||
} | ||
} |
Oops, something went wrong.