Page d'acceuil fini

This commit is contained in:
unknown 2015-09-10 22:34:17 -04:00
parent f77f1caa00
commit 5641df0f2f
12 changed files with 128 additions and 75 deletions

24
blog/views.py.orig Normal file
View File

@ -0,0 +1,24 @@
from django.shortcuts import render
<<<<<<< HEAD
from blog.models import *
def index(request):
articles = Article.objects.all
return render(request, 'blog/index.html', {'articles':articles})
=======
from django.http import Http404
from blog.models import Article
def index(request):
articles = Article.objects.order_by('-created_at')
return render(request, 'blog/index.html', {'articles': articles})
def show(request, article_id):
try:
article = Article.objects.get(id=article_id)
return render(request, 'blog/show.html', {'article': article})
except Article.DoesNotExist:
raise Http404("Article does not exist")
>>>>>>> master

View File

@ -1,27 +1,5 @@
# {
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
color:#888;
}
/
.thumbnail img {
width: 100%;
}
.ratings {
padding-right: 10px;
padding-left: 10px;
}
.thumbnail {
padding: 0;
}
.thumbnail .caption-full {
padding: 9px;
}
.projet
{
margin-top:100px;
/*width:90%;*/
margin:auto;
}

View File

@ -1,3 +1,9 @@
p,a
{
font-family: 'Ubuntu', serif;
font-size:15px;
font-weight:bold;
}
html {
position: relative;
min-height: 100%;
@ -11,9 +17,9 @@ body {
}
h1,h2,h3,h4,h5,h6,h7,h8,h9,h1
{
color:fff;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-family: 'Ubuntu', serif;
color:white;
text-transform: uppercase;
font-weight: 700;
}
hr.star-light,
@ -182,61 +188,69 @@ footer {
.infobox
{
padding:15px;
height:350px;
height:40%;
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
font-family: 'Ubuntu', serif;
font-size:15px;
font-weight:bold;
}
.infobox p
.boxContent
{
text-align:middle;
padding-left:25%;
padding-right:25%;
}
#jams li
{
display:inline;
padding:20px;
}
#mtlgamejam
{
background-color:#f8f8f8;
color:black;
}
#mtlgamejam h1
{
color:black;
}
#mtlgamejam button
{
float:right;
}
#jams
{
color:white;
}
#contact
{
background-color:#f8f8f8;
height:100px;
max-height:100px;
min-height:100px;
color:black;
}
#contact .boxContent
{
margin:0px;
}
#contact ul
{
float:right;
display:inline;
}
#contact li
{
display:inline;
padding:5px;
}
#conjure
{
display:block;
color:white;
}
#jams img
{
float:right;
height:300px;
width:300px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
}
#conjure img
{
float:right;
height:300px;
width:300px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
}
#mtlgamejam img
.sectionImage
{
float:left;
height:300px;
@ -248,6 +262,11 @@ footer {
-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
}
.imgJams
{
height:20%;
width:40%;
}
@media(min-width:767px) {
#projet .list-item {
margin: 0 0 30px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
static/img/jams/ggjlogo.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
static/img/jams/ggjlogo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -3,28 +3,60 @@
{% block content %}
<div class="content">
<div class="infobox" id="conjure">
<img src={% static 'img/MTLGJ_logo.png' %}><p>
The Montreal Game Jam is the Montreal chapter for the Global Game Jam. This event encourages participants from all over the world to create a video game
prototype based on a theme over the course of a weekend. Its more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
2209 games were created last year. The organization of the Montreal Game Jam is the union of multiple universities and professionals from Montreal whose mandate
is to promote Montreal video game industry.</p>
<img class="sectionImage" src={% static 'img/conjureMiniLogo.png' %}>
<div class="boxContent">
<h1>Le Club</h1>
<p>
Conjure est le club de développement de jeux vidéo de lÉcole des Technologie Supérieure. Nos membres ont comme projet le développement dun jeu quils ont choisi ou quils veulent réalisé dans une équipe de gens avec la même motivation en utilisant des outils présentement utilisé dans lindustrie.Ils participent aussi à plusieurs évenements reliés à lindustrie du jeu vidéo telle que des compétitions et des conférences. Conjure est dailleurs le fondateur de lun de ces évènements, le Montréal Game Jam, qui est une compétition de développement de jeux vidéo en 48h. Venez rejoindre notre équipe de gens motivé et passioné pour vivre votre passion de création de jeux vidéo..
Objectifs.Encadrer le développement des jeux vidéo réalisés par les étudiants de lÉcole de technologie supérieure.
Favoriser la croissance du talent créatif et des compétences techniques de la relève de lindustrie par la formation des étudiants.
Faire la promotion de la culture et de lindustrie du jeu au Québec à travers nos activités.</p>
</div>
</div>
<div class="infobox" id="mtlgamejam">
<img src={% static 'img/MTLGJ_logo.png' %}><p>
The Montreal Game Jam is the Montreal chapter for the Global Game Jam. This event encourages participants from all over the world to create a video game
prototype based on a theme over the course of a weekend. Its more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
2209 games were created last year. The organization of the Montreal Game Jam is the union of multiple universities and professionals from Montreal whose mandate
is to promote Montreal video game industry.</p>
<img class="sectionImage" src={% static 'img/MTLGJ_logo.png' %}>
<div class="boxContent">
<h1>Le Montreal Game Jam</h1>
Le Montreal Game Jam est le chapitre Montréalais pour le Global Game Jam.
Cet événement international donne comme défi aux participants de réaliser un
prototype de jeu basé sur une thématique spécifique pendant une période de 48 heures.
Plus de 10 684 participants dans 47 pays ont accepté le défi en 2012 et plus de 2209 jeux ont étés réalisés lors de lévénement.
Lorganisation du Montreal Game Jam est constitué de lunion de multiples universités et professionnels de Montréal
dont le mandat commun est de promouvoir lindustrie du jeu vidéo.
</p>
<button><a href="http://mtlgamejam.org/">En savoir plus</a></button>
</div>
</div>
<div class="infobox" id="jams">
<img src={% static 'img/MTLGJ_logo.png' %}><p>
The Montreal Game Jam is the Montreal chapter for the Global Game Jam. This event encourages participants from all over the world to create a video game
prototype based on a theme over the course of a weekend. Its more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
2209 games were created last year. The organization of the Montreal Game Jam is the union of multiple universities and professionals from Montreal whose mandate
is to promote Montreal video game industry.</p>
<div class="boxContent"><h1>Autre Jams</h1>
<p>
Voici quelque Game Jam auquel Conjure participe:
<ul>
<li>
<img src={% static 'img/jams/ggjlogo.png' %} class="imgJams">
</li>
<li>
<img src={% static 'img/jams/pixelChalenge.png' %} class="imgJams">
</li>
<li>
<img src={% static 'img/jams/gameJamBattle.png' %} class="imgJams">
</li>
<li>
<img src={% static 'img/jams/OJamLogo.png' %} class="imgJams">
</li>
</ul>
</p>
</div>
</div>
<div class="infobox" id="contact">
<p><ul><li>local A-1744</li>
<li>Conjure@ens.etsmtl.ca</li>
<li>(514) 396-8800 poste: #7713</li>
<li><a href="https://www.facebook.com/ConjureETS">ConjureETS</a></li>
<li><a href="https://www.youtube.com/user/ConjureETS">Youtube</a></li>
<ul></p>
</div>
</div>
{% endblock %}

View File

@ -20,7 +20,7 @@
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
</head>
<body>