Page d'acceuil fini
24
blog/views.py.orig
Normal 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
|
||||||
@ -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. */
|
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
|
||||||
color:#888;
|
color:#888;
|
||||||
}
|
margin:auto;
|
||||||
/
|
|
||||||
.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%;*/
|
|
||||||
}
|
}
|
||||||
@ -1,3 +1,9 @@
|
|||||||
|
p,a
|
||||||
|
{
|
||||||
|
font-family: 'Ubuntu', serif;
|
||||||
|
font-size:15px;
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
html {
|
html {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
@ -11,9 +17,9 @@ body {
|
|||||||
}
|
}
|
||||||
h1,h2,h3,h4,h5,h6,h7,h8,h9,h1
|
h1,h2,h3,h4,h5,h6,h7,h8,h9,h1
|
||||||
{
|
{
|
||||||
color:fff;
|
font-family: 'Ubuntu', serif;
|
||||||
|
color:white;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
hr.star-light,
|
hr.star-light,
|
||||||
@ -182,61 +188,69 @@ footer {
|
|||||||
.infobox
|
.infobox
|
||||||
{
|
{
|
||||||
padding:15px;
|
padding:15px;
|
||||||
height:350px;
|
height:40%;
|
||||||
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
|
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
|
||||||
-moz-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);
|
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-left:25%;
|
||||||
padding-right:25%;
|
padding-right:25%;
|
||||||
}
|
}
|
||||||
|
#jams li
|
||||||
|
{
|
||||||
|
display:inline;
|
||||||
|
padding:20px;
|
||||||
|
}
|
||||||
#mtlgamejam
|
#mtlgamejam
|
||||||
{
|
{
|
||||||
background-color:#f8f8f8;
|
background-color:#f8f8f8;
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
#mtlgamejam h1
|
||||||
|
{
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
#mtlgamejam button
|
||||||
|
{
|
||||||
|
float:right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#jams
|
#jams
|
||||||
{
|
{
|
||||||
|
color:white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contact
|
#contact
|
||||||
{
|
{
|
||||||
background-color:#f8f8f8;
|
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
|
#conjure
|
||||||
{
|
{
|
||||||
display:block;
|
color:white;
|
||||||
}
|
}
|
||||||
#jams img
|
.sectionImage
|
||||||
{
|
|
||||||
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
|
|
||||||
{
|
{
|
||||||
float:left;
|
float:left;
|
||||||
height:300px;
|
height:300px;
|
||||||
@ -248,6 +262,11 @@ footer {
|
|||||||
-moz-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);
|
box-shadow: 0px 1px 5px 0px rgba(0,0,0,1);
|
||||||
}
|
}
|
||||||
|
.imgJams
|
||||||
|
{
|
||||||
|
height:20%;
|
||||||
|
width:40%;
|
||||||
|
}
|
||||||
@media(min-width:767px) {
|
@media(min-width:767px) {
|
||||||
#projet .list-item {
|
#projet .list-item {
|
||||||
margin: 0 0 30px;
|
margin: 0 0 30px;
|
||||||
|
|||||||
BIN
static/img/conjureMiniLogo.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
static/img/jams/GameJamBattle.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
static/img/jams/OjamLogo.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
static/img/jams/ggjlogo.PNG
Normal file
|
After Width: | Height: | Size: 144 KiB |
BIN
static/img/jams/ggjlogo.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
static/img/jams/ludumDare.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
static/img/jams/pixelChalenge.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
@ -3,28 +3,60 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="content">
|
||||||
<div class="infobox" id="conjure">
|
<div class="infobox" id="conjure">
|
||||||
<img src={% static 'img/MTLGJ_logo.png' %}><p>
|
<img class="sectionImage" src={% static 'img/conjureMiniLogo.png' %}>
|
||||||
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
|
<div class="boxContent">
|
||||||
prototype based on a theme over the course of a weekend. It’s more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
|
<h1>Le Club</h1>
|
||||||
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
|
<p>
|
||||||
is to promote Montreal video game industry.</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 d’un jeu qu’ils ont choisi ou qu’ils veulent réalisé dans une équipe de gens avec la même motivation en utilisant des outils présentement utilisé dans l’industrie.Ils participent aussi à plusieurs évenements reliés à l’industrie du jeu vidéo telle que des compétitions et des conférences. Conjure est d’ailleurs le fondateur de l’un 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 l’industrie par la formation des étudiants.
|
||||||
|
Faire la promotion de la culture et de l’industrie du jeu au Québec à travers nos activités.</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="infobox" id="mtlgamejam">
|
<div class="infobox" id="mtlgamejam">
|
||||||
<img src={% static 'img/MTLGJ_logo.png' %}><p>
|
<img class="sectionImage" src={% static 'img/MTLGJ_logo.png' %}>
|
||||||
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
|
<div class="boxContent">
|
||||||
prototype based on a theme over the course of a weekend. It’s more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
|
<h1>Le Montreal Game Jam</h1>
|
||||||
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
|
Le Montreal Game Jam est le chapitre Montréalais pour le Global Game Jam.
|
||||||
is to promote Montreal video game industry.</p>
|
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.
|
||||||
|
L’organisation du Montreal Game Jam est constitué de l’union de multiples universités et professionnels de Montréal
|
||||||
|
dont le mandat commun est de promouvoir l’industrie du jeu vidéo.
|
||||||
|
</p>
|
||||||
|
<button><a href="http://mtlgamejam.org/">En savoir plus</a></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="infobox" id="jams">
|
<div class="infobox" id="jams">
|
||||||
<img src={% static 'img/MTLGJ_logo.png' %}><p>
|
<div class="boxContent"><h1>Autre Jams</h1>
|
||||||
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
|
<p>
|
||||||
prototype based on a theme over the course of a weekend. It’s more than 10 684 participants in 47 countries giving body and soul to complete their objectives.
|
Voici quelque Game Jam auquel Conjure participe:
|
||||||
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
|
<ul>
|
||||||
is to promote Montreal video game industry.</p>
|
<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>
|
||||||
<div class="infobox" id="contact">
|
<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>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
<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=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="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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||