Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit b4e3677

Browse files
author
Lucas Magnum
committed
Novo layout
1 parent 41064dd commit b4e3677

15 files changed

Lines changed: 793 additions & 349 deletions

File tree

apps/membros/templates/membros/cadastrar.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends 'base.html' %}
2-
{% block frame %}
2+
{% block content %}
33
<script type="text/javascript">
44
$(document).ready(function(){
55
$('.tabela_cadastro').children().children().each(function(index){
@@ -26,7 +26,7 @@
2626
padding: 9px !important;
2727
}
2828
textarea{
29-
border-color:gray;
29+
border-color:gray;
3030
resize:vertical;
3131
}
3232
</style>
@@ -39,4 +39,4 @@
3939
<input type="submit" value="Cadastrar" class="ui button" />
4040
</div>
4141
</form>
42-
{% endblock frame %}
42+
{% endblock content %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends 'base.html' %}
2-
{% block frame %}
2+
{% block content %}
33
<p>{{ membro.nome }}<br />
44
{{ membro.email }}
55
{{ membro.descricao }}</p>
6-
{% endblock frame %}
6+
{% endblock content %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{% extends 'base.html' %}
2-
{% block frame %}
2+
{% block content %}
33
<h2>Membros da Comunidade</h2>
44
{% for p in lista %}
55
<img style="float:left" width="50px" height="60px" src="{{ p.foto.url }}" />
66
{{ p.nome }}<br />
77
{{ p.descricao }}
88
<hr />
99
{% endfor %}
10-
{% endblock frame %}
10+
{% endblock content %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{% extends 'base.html' %}
2-
{% block frame %}
2+
{% block content %}
33
<h2>{{ noticia.titulo }}</h2>
44
<h5>{{ noticia.data }} publicado por {{ noticia.usuario }}</h5>
55
<hr />
66
<p>{{ noticia.conteudo }}</p>
77
<br />
8-
{% endblock frame %}
8+
{% endblock content %}

apps/noticias/templates/noticias/listagem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends 'base.html' %}
2-
{% block frame %}
2+
{% block content %}
33
{% if noticias %}
44
{% for noticia in noticias.objetc_list %}
55
<h2><a href="/noticias/{{ noticia.id }}">{{ noticia.titulo }}</a></h2>
@@ -24,4 +24,4 @@ <h5>{{ noticia.data }} publicado por {{ noticia.usuario }}</h5>
2424
{% else %}
2525
<p>Nenhuma noticia cadastrada.</p>
2626
{% endif %}
27-
{% endblock frame %}
27+
{% endblock content %}

pymg/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
urlpatterns = patterns('',
99
url(r'^', include('apps.urls')),
10-
10+
1111
# Uncomment the admin/doc line below to enable admin documentation:
1212
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
1313
url(r'^admin/', include(admin.site.urls)),

static/css/images/bg.jpg

247 KB
Loading

0 commit comments

Comments
 (0)