diff --git a/blog/views.py.orig b/blog/views.py.orig new file mode 100644 index 0000000..2c11115 --- /dev/null +++ b/blog/views.py.orig @@ -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 diff --git a/static/css/projet.css b/static/css/projet.css index b069d2d..555a3e2 100644 --- a/static/css/projet.css +++ b/static/css/projet.css @@ -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; + 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%;*/ -} \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index 9585674..f345d97 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -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; diff --git a/static/img/conjureMiniLogo.png b/static/img/conjureMiniLogo.png new file mode 100644 index 0000000..a82ea2e Binary files /dev/null and b/static/img/conjureMiniLogo.png differ diff --git a/static/img/jams/GameJamBattle.png b/static/img/jams/GameJamBattle.png new file mode 100644 index 0000000..afa5553 Binary files /dev/null and b/static/img/jams/GameJamBattle.png differ diff --git a/static/img/jams/OjamLogo.png b/static/img/jams/OjamLogo.png new file mode 100644 index 0000000..5d974de Binary files /dev/null and b/static/img/jams/OjamLogo.png differ diff --git a/static/img/jams/ggjlogo.PNG b/static/img/jams/ggjlogo.PNG new file mode 100644 index 0000000..d9f65fe Binary files /dev/null and b/static/img/jams/ggjlogo.PNG differ diff --git a/static/img/jams/ggjlogo.jpg b/static/img/jams/ggjlogo.jpg new file mode 100644 index 0000000..3a96c75 Binary files /dev/null and b/static/img/jams/ggjlogo.jpg differ diff --git a/static/img/jams/ludumDare.png b/static/img/jams/ludumDare.png new file mode 100644 index 0000000..5866daa Binary files /dev/null and b/static/img/jams/ludumDare.png differ diff --git a/static/img/jams/pixelChalenge.png b/static/img/jams/pixelChalenge.png new file mode 100644 index 0000000..52c102a Binary files /dev/null and b/static/img/jams/pixelChalenge.png differ diff --git a/templates/index.html b/templates/index.html index 0f33f39..25b2f5b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,28 +3,60 @@ {% block content %} - +
-

-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. It’s 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.

+ +
+

Le Club

+

+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.

+
-

-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. It’s 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.

+ +
+

Le Montreal Game Jam

+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. +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. +

+ +
-

-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. It’s 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.

+

Autre Jams

+

+Voici quelque Game Jam auquel Conjure participe: +

    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+

+
+

{% endblock %} diff --git a/templates/template.html b/templates/template.html index b524bf7..a1bb9b4 100644 --- a/templates/template.html +++ b/templates/template.html @@ -20,7 +20,7 @@ - +