premier commit marc
authormarc.nachin <you@example.commarc.nachin@auf.org>
Wed, 3 Oct 2012 16:48:51 +0000 (18:48 +0200)
committermarc.nachin <you@example.commarc.nachin@auf.org>
Wed, 3 Oct 2012 16:48:51 +0000 (18:48 +0200)
40 files changed:
project/diaporama/__init__.py [new file with mode: 0755]
project/diaporama/admin.py [new file with mode: 0644]
project/diaporama/models.py [new file with mode: 0755]
project/diaporama/tests.py [new file with mode: 0755]
project/diaporama/views.py [new file with mode: 0644]
project/media/slider/mauvaisediapo.png [new file with mode: 0755]
project/media/slider/mauvaisediapo2.png [new file with mode: 0755]
project/settings.py
project/static/css/style.css [new file with mode: 0644]
project/static/img/bt-next.png [new file with mode: 0644]
project/static/img/bt-prev.png [new file with mode: 0644]
project/static/img/cata.png [new file with mode: 0644]
project/static/img/degrade.jpg [new file with mode: 0644]
project/static/img/degrade2.jpg [new file with mode: 0644]
project/static/img/diapo1.jpg [new file with mode: 0644]
project/static/img/diapo2.jpg [new file with mode: 0644]
project/static/img/faq.png [new file with mode: 0644]
project/static/img/fond.jpg [new file with mode: 0644]
project/static/img/fondheader.png [new file with mode: 0644]
project/static/img/footer.png [new file with mode: 0644]
project/static/img/lettre.png [new file with mode: 0644]
project/static/img/logo.png [new file with mode: 0644]
project/static/img/logoActu.png [new file with mode: 0644]
project/static/img/menu.png [new file with mode: 0644]
project/static/img/menu2.png [new file with mode: 0644]
project/static/img/ordi.png [new file with mode: 0644]
project/static/img/puce.png [new file with mode: 0644]
project/static/img/pucelivre.png [new file with mode: 0644]
project/static/img/rss.png [new file with mode: 0644]
project/static/img/searchbox.png [new file with mode: 0644]
project/static/img/searchbox2.png [new file with mode: 0644]
project/static/img/truc.jpg [new file with mode: 0644]
project/static/scripts/jquery.bxSlider.min.js [new file with mode: 0755]
project/static/scripts/site.js [new file with mode: 0644]
project/static/scripts/swfobject.js [new file with mode: 0755]
project/templates/accueil.html [new file with mode: 0644]
project/templates/base.html [new file with mode: 0644]
project/templates/cms/vide.html [deleted file]
project/urls.py
versions.cfg

diff --git a/project/diaporama/__init__.py b/project/diaporama/__init__.py
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/project/diaporama/admin.py b/project/diaporama/admin.py
new file mode 100644 (file)
index 0000000..9c60882
--- /dev/null
@@ -0,0 +1,28 @@
+# coding: utf8
+from project.diaporama.models import Slider
+from django.contrib import admin
+from django.db import models
+
+class SliderAdmin(admin.ModelAdmin):
+    
+        
+    def show_image(self, obj):
+      return "<img src='../../../media/%s' style='height:90px;'>" % obj.image
+    show_image.allow_tags = True #permet de sortir du html#
+    show_image.short_description = 'Image'
+        
+    list_display = ('status','show_image',  'titre', 'lien')
+    list_display_links = ('status', 'titre')
+    search_fields = ['titre']
+    
+    def queryset(self, request):
+        
+        qs = self.model._default_manager.get_query_set()
+
+        if request.user.is_superuser:
+            return qs
+
+        return qs
+
+
+admin.site.register(Slider, SliderAdmin)
\ No newline at end of file
diff --git a/project/diaporama/models.py b/project/diaporama/models.py
new file mode 100755 (executable)
index 0000000..7ce653d
--- /dev/null
@@ -0,0 +1,9 @@
+from django.db import models
+
+
+class Slider(models.Model):
+    image = models.ImageField(null=True, blank=True, upload_to='slider')
+    titre = models.CharField(max_length=200)
+    lien = models.CharField(max_length=200, null=True, blank=True)
+    date_pub = models.DateTimeField('date de creation', auto_now=True)
+    status = models.CharField(max_length=1, default='3', null=False, blank=False, choices=(('1', 'En cours de redaction'), ('2', 'Propose a la publication'), ('3', 'Publie en Ligne'), ('4', 'A supprimer')))
\ No newline at end of file
diff --git a/project/diaporama/tests.py b/project/diaporama/tests.py
new file mode 100755 (executable)
index 0000000..501deb7
--- /dev/null
@@ -0,0 +1,16 @@
+"""
+This file demonstrates writing tests using the unittest module. These will pass
+when you run "manage.py test".
+
+Replace this with more appropriate tests for your application.
+"""
+
+from django.test import TestCase
+
+
+class SimpleTest(TestCase):
+    def test_basic_addition(self):
+        """
+        Tests that 1 + 1 always equals 2.
+        """
+        self.assertEqual(1 + 1, 2)
diff --git a/project/diaporama/views.py b/project/diaporama/views.py
new file mode 100644 (file)
index 0000000..a58f2a7
--- /dev/null
@@ -0,0 +1,13 @@
+from django.conf import settings
+from django.shortcuts import render_to_response, get_object_or_404, get_list_or_404
+from django.template import Context, RequestContext
+from django.shortcuts import redirect
+from django.http import HttpResponse
+from diaporama.models import Slider
+
+def accueil(request):
+    context = RequestContext(request)
+    item_list2 = Slider.filter(status=3).order_by('-date_pub')
+    import pdb; pdb.set_trace()
+
+    return render_to_response('accueil.html', {'slider_list': item_list2, 'page_title': 'diaporama'}, context_instance = RequestContext(request))
diff --git a/project/media/slider/mauvaisediapo.png b/project/media/slider/mauvaisediapo.png
new file mode 100755 (executable)
index 0000000..36d0044
Binary files /dev/null and b/project/media/slider/mauvaisediapo.png differ
diff --git a/project/media/slider/mauvaisediapo2.png b/project/media/slider/mauvaisediapo2.png
new file mode 100755 (executable)
index 0000000..51ce8b0
Binary files /dev/null and b/project/media/slider/mauvaisediapo2.png differ
index c2fe1e4..6f5ccf9 100644 (file)
@@ -48,6 +48,7 @@ INSTALLED_APPS = (
     'django.contrib.staticfiles',
     'django.contrib.sites',
     'south',
+    'diaporama',
 
     # django-cms
     'cms',
@@ -89,7 +90,7 @@ SOUTH_TESTS_MIGRATE = False
 ADMIN_TOOLS_INDEX_DASHBOARD = 'project.dashboard.CustomIndexDashboard'
 
 CMS_TEMPLATES = (
-        ('cms/vide.html', u'Gabarit vide'),
+        ('accueil.html', gettext('Page Accueil')),
 )
 
 from conf import *
diff --git a/project/static/css/style.css b/project/static/css/style.css
new file mode 100644 (file)
index 0000000..0995954
--- /dev/null
@@ -0,0 +1,691 @@
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       outline: 0;
+       font-size: 100%;
+       font: inherit;
+       vertical-align: baseline;
+}
+
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section {
+       display: block;
+}
+body {
+       line-height: 1;
+       font-family: Arial, Helvetica, sans-serif;
+       font-size: 0.85em;
+       color: #2c3337;
+       background: url("../img/fond.jpg");
+}
+ol, ul {
+       list-style: none;
+}
+blockquote, q {
+       quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+       content: '';
+       content: none;
+}
+
+a{
+       text-decoration: none;
+}
+
+/*:focus {
+       outline: ?????;
+} */
+
+ins {
+       text-decoration: none;
+}
+del {
+       text-decoration: line-through;
+}
+
+table {
+       border-collapse: collapse;
+       border-spacing: 0;
+}
+
+/*TITRES*/
+H1{
+       font-size: 1.65em;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+       margin-bottom: 20px;
+       font-weight: bold;
+}
+
+H2{
+       font-size: 1.35em;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+       margin-bottom: 22px;
+       color: #810025;
+}
+
+H3{
+       font-size: 1.15em;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+       margin-bottom: 16px;
+}
+
+/*table*/
+table {
+    background-color: #F4F4F4;
+    border: 1px solid #CACACA;
+    border-collapse: collapse;
+    margin: 6px 0 30px;
+    width: 100%;
+}
+table .col {
+    background-color: #EEEEEE;
+}
+table td {
+    border: 1px solid #CACACA;
+    padding: 14px 18px;
+}
+
+/*HEADER*/
+header{
+       height: 238px;
+       width: 100%;
+       background: url("../img/fondheader.png");
+}
+
+header #degrade{
+       height: 232px;
+       width: 100%;
+       /*background: -moz-radial-gradient(left bottom, rgba(85, 110, 133,50), rgba(85,110,133,0));*/
+       background: url(../img/degrade.jpg) no-repeat center top;
+       /*background: -moz-linear-gradient(left center , #7E2344 0pt, #AE305E 15%, #75203F 60%) repeat scroll 0 0 #75203F;*/
+}
+
+#header_content{
+       width: 940px;
+       margin: 0 auto;
+       height: 166;
+       overflow: hidden;
+}
+
+#logo{
+       float: left;
+       height: 149px;
+       width: 250px;
+       margin-top: 17px;
+}
+
+#header_droit{
+       float: right;
+       height: 146px;
+       width:  340px;
+       margin-top: 20px;
+}
+
+#header_droit p{
+       color: #fff;
+       display: block;
+       text-align: right;
+       margin-bottom: 60px;
+       font-size: 0.94em;
+}
+
+#header_droit p a{
+       color: #fff;
+       margin: 0px 8px;
+}
+
+#header_droit p a:hover{
+       color: #82898f;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
+
+#header_droit #rss{
+       display: block;
+       width: 32px;
+       height: 32px;
+       float: right;
+}
+
+/*search*/
+#search {
+       width:222px; /*follow your image's size*/
+       height:29px;/*follow your image's size*/
+       background-image: url("../img/searchbox.png");
+       position:relative; /*important*/
+       float: right;
+       margin-left: 20px;
+}
+#search form { display:inline ; }
+.searchbox {
+       border:0px; /*important*/
+       background-color:transparent; /*important*/
+       position:absolute; /*important*/
+       top:0;
+       left:14px;
+       width:174px;
+       height:29px;
+       padding: 0px;
+       color: #bbb;
+       font-size: .8em;
+}
+.searchbox_submit {
+       border: none; /*important*/
+       outline: none;
+       background-color:transparent; /*important*/
+       position:absolute; /*important*/
+       top:0px;
+       left:186px;
+       width:40px;
+       height:29px;
+       cursor: pointer; 
+}
+
+/*menu*/
+#principal{
+       width: 940px;
+       margin: 20px auto 0px auto;
+       height: 46px;
+}
+
+#principal li{
+       text-align: center;
+       display: inline-block;
+       float: left;
+       height: 44px;
+       line-height: 44px;
+       background: url("../img/menu.png");
+       -webkit-box-shadow: inset 1px 1px 0px 0px rgba(86, 108, 128, 100);
+       box-shadow: inset 1px 1px 0px 0px rgba(86, 108, 128, 100);
+       border-top: 1px solid #202d3a;
+       border-left: 1px solid #202d3a;
+       border-bottom: 1px solid #202d3a;
+}
+
+#principal ul li:first-child{
+       -webkit-border-radius: 4px 0px 0px 0px;
+       -o-border-radius: 4px 0px 0px 0px;
+       border-radius: 4px 0px 0px 0px; 
+}
+
+#principal ul li:last-child{
+       -webkit-border-radius: 0px 4px 0px 0px;
+       -o-border-radius: 0px 4px 0px 0px;
+       border-radius: 0px 4px 0px 0px; 
+       border-right: 1px solid #202d3a;
+}
+
+#principal li a{
+       display: inline-block;
+       height: 45px;
+       padding: 0px 36px 0px 37px;
+       color: #fff;
+       font-weight: bold;
+       font-size: 13px;
+       text-shadow: 1px 1px 0px #000000;
+    filter: dropshadow(color=#000000, offx=1, offy=1);
+}
+
+#principal li a:hover{
+       -webkit-box-shadow: inset 1px 0px 0px 0px rgba(86, 108, 128, 100);
+       box-shadow: inset 1px 0px 0px 0px rgba(86, 108, 128, 100); 
+       height: 45px;
+       color: #fefefe;
+       background-color: #2e3a45;
+       -webkit-transition: 0.2s;
+       -moz-transition: 0.2s;
+       transition: 0.2s;
+}
+
+#principal li:hover ul{
+       display: block;
+}
+
+/*sous menu*/
+#principal ul li ul{
+       opacity: 0;      /* Hide sub level, we will use this in transition */
+    -webkit-transition: opacity .3s ease-in-out; /* For chrome & safari */
+    -moz-transition: opacity .3s ease-in-out; /* For mozilla firefox */
+    -o-transition: opacity .3s ease-in-out; /* For opera */
+    transition: opacity .3s ease-in-out; /* Not yet implemented, but will be available soon */
+       position: absolute;
+       background-color: #2e3a45;
+       border-right: 1px solid #202d3a;
+       border-bottom: 1px solid #202d3a;
+       border-left: 1px solid #3c4c5a;
+       -moz-border-radius: 0px 0px 4px 4px;
+    -webkit-border-radius: 0px 0px 4px 4px;
+       margin-top: 5px;
+       z-index: 9999;
+}
+
+#principal ul li:hover>ul{ opacity: 1;}
+
+#principal ul li ul li{
+       display: block;
+       background: none;
+       float: none;
+       border: none;
+       text-align: left;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       height: 45px;
+       line-height: 45px;
+}
+
+#principal ul li ul li a{
+       display: block;
+       height: 45px;
+       margin: 0px 20px 0px 20px;
+       padding: 0px 28px 0px 0px;
+       color: #fff;
+       font-weight: normal;
+       font-size: 13px;
+       text-shadow: none;
+    filter: none;
+       border-bottom: 1px solid #82898f;
+}
+
+#principal ul li ul li a span{
+       margin-right: 8px;
+}
+
+#principal ul li ul li a:hover{
+       -webkit-box-shadow: none;
+       box-shadow: none; 
+       background: none;
+       height: 45px;
+       color: #82898f;
+       border-bottom: 1px solid #82898f;
+}
+
+#principal ul li ul li:last-child a{
+       border: none;
+}
+
+/*MAIN*/
+#main{
+       min-height: 400px;
+       overflow: hidden;
+       width: 940px;
+       margin: 34px auto 0 auto;
+}
+
+/*content*/
+content{
+       width:  620px;
+       float: left;
+}
+
+#gauche p{
+       margin-bottom: 24px;
+       line-height: 22px;
+       text-align: justify;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+}
+
+#gauche ul{
+       padding: 6px 0px;
+       display: block;
+}
+
+#gauche ul li{
+       margin-bottom: 24px;
+       line-height: 22px;
+       padding: 0px 0px 0px 22px;
+       background: url(../img/puce.png) left center no-repeat;
+}
+
+#gauche .text img{
+       border: 1px solid #DFDFDF;
+    display: block;
+    height: auto;
+    max-width: 600px;
+    padding: 10px;
+       background-color: #f4f4f4;
+       border: 1px solid #cacaca;
+       -webkit-border-radius: 4px;
+       border-radius: 4px; 
+       -webkit-box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255);
+       box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255); 
+       margin-bottom: 24px;
+}
+
+#gauche .centre{
+       margin: 0px auto 24px auto !important;
+}
+
+#gauche .gauche{
+       float: left;
+       margin: 0px 10px 10px 0px;
+}
+
+#gauche .droite{
+       float: right;
+       margin: 0px 0px 10px 10px;
+}
+
+/*slider*/
+#slider{
+       position: relative;
+       width: 578px;
+       height: 298px;
+       padding: 20px;
+       background-color: #f4f4f4;
+       border: 1px solid #cacaca;
+       -webkit-border-radius: 4px;
+       border-radius: 4px; 
+       -webkit-box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255);
+       box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255); 
+       margin-bottom: 36px;
+}
+
+#slides{
+       width: 606px;
+       height: 263px;
+       border: 1px solid #dddddd;
+       position: relative;
+}
+
+#slides .intro {
+    bottom: 0;
+       position: absolute;
+    height: 32px;
+       font-size: 1.1em;
+    padding: 8px 12px 12px 12px;
+    width: 554px;
+       background-color: rgba(255, 255, 255, 0.8);
+}
+
+#slides .intro p {
+    line-height: 20px;
+    text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+}
+
+.diapo{
+       width: 578px;
+       height: 298px;
+}
+
+.bx-wrapper .bx-prev {
+    background: url("../img/bt-prev.png") no-repeat;
+    height: 26px;
+       left: 10px;
+    position: absolute;
+    text-indent: -999999px;
+    top: 118px;
+    width: 15px;
+       z-index: 999;
+}
+
+.bx-wrapper .bx-next {
+    background: url("../img/bt-next.png") no-repeat;
+    height: 26px;
+    position: absolute;
+    right: 10px;
+    text-indent: -999999px;
+    top: 118px;
+    width: 15px;
+       z-index: 999;
+}
+
+/*SIDEBAR*/
+sidebar{
+       width: 300px;
+       float: left;
+       margin-left: 20px;
+}
+
+#droite H1{
+       font-size: 1.44em;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+       margin-bottom: 20px;
+       font-weight: bold;
+}
+
+#droite .boite, #droite .boiteActu{
+       width: 258px;
+       min-height: 20px;
+       padding: 2px 20px 0px 20px;
+       background-color: #f4f4f4;
+       border: 1px solid #cacaca;
+       -webkit-border-radius: 4px;
+       border-radius: 4px; 
+       -webkit-box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255);
+       box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255); 
+       margin-bottom: 34px;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+}
+
+#droite .boiteAutre{
+       width: 258px;
+       min-height: 20px;
+       padding: 18px 20px;
+       background-color: #f4f4f4;
+       border: 1px solid #cacaca;
+       -webkit-border-radius: 4px;
+       border-radius: 4px; 
+       -webkit-box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255);
+       box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255); 
+       margin-bottom: 24px;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+}
+
+#droite .boiteAutre2{
+       width: 258px;
+       min-height: 20px;
+       padding: 18px 20px 16px 20px;
+       background-color: #f4f4f4;
+       border: 1px solid #cacaca;
+       -webkit-border-radius: 4px;
+       border-radius: 4px; 
+       -webkit-box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255);
+       box-shadow: inset 0px 0px 0px 1px rgb(255, 255, 255); 
+       margin-bottom: 6px;
+       text-shadow: 1px 1px 0px #ffffff;
+       filter: dropshadow(color=#ffffff, offx=1, offy=1);
+}
+
+#droite .boite ul li{
+       padding: 0px 0px 14px 28px;
+       margin-top: 14px;
+       line-height: 20px;
+       font-size: 0.98em;
+       background: url("../img/pucelivre.png") top left no-repeat;
+       border-bottom: 1px solid #a5aaae;
+}
+
+#droite .boite ul li a{
+       color: #2C3337;
+}
+
+#droite .boite ul li a:hover{
+       color: #82898f;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
+
+#droite .boite ul li:last-child, #droite .actu:last-child{
+       border-bottom: none;
+}
+
+#droite .actu{
+       overflow: hidden;
+       margin: 16px 0px 0px 0px;
+       padding: 0px 0px 16px 0px;
+       border-bottom: 1px solid #a5aaae; 
+}
+
+#droite .actuImg{
+       float: left;
+       width: 52px;
+       margin-right: 18px;
+}
+
+#droite .actuTxt{
+       float: left;
+       width: 188px;
+}
+
+#droite .actuTxt p{
+       font-size: 0.94em;
+       line-height: 17px;
+}
+
+#droite .actuTxt p a{
+       color: #2C3337;
+}
+
+#droite .actuTxt p a:hover{
+       color: #82898f;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
+
+#droite .actuTxt span{
+       display: block;
+       width: 100%;
+       margin-bottom: 6px;
+}
+
+#droite .actuTxt span a{
+       color: #810025;
+       font-style: italic;
+       font-size: 0.92em;
+}
+
+#droite .actuImg img{
+       border: 2px solid #fff;
+}
+
+#droite .actuImg img:hover{
+       border: 2px solid #CACACA;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
+
+/*boite autre*/
+#droite .boiteAutre p, #droite .boiteAutre2 p{
+       padding: 0px 0px 0px 28px;
+       line-height: 20px;
+       font-size: 1.06em;
+}
+
+#droite .boiteAutre p a, #droite .boiteAutre2 p a{
+       color: #2C3337;
+}
+
+#droite .boiteAutre p a:hover, #droite .boiteAutre2 p a:hover{
+       color: #82898f;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
+
+.lettre{ background: url("../img/lettre.png") top left no-repeat;}
+.faq{ background: url("../img/faq.png") top left no-repeat;}
+.ordi{ background: url("../img/ordi.png") top left no-repeat;}
+.cata{ background: url("../img/cata.png") top left no-repeat;}
+
+/*search2*/
+#search2 {
+       width:256px; /*follow your image's size*/
+       height:29px;/*follow your image's size*/
+       background-image: url("../img/searchbox2.png");
+       position:relative; /*important*/
+       margin-top: 18px;
+}
+#search2 form { display:inline ; }
+.searchbox2 {
+       border:0px; /*important*/
+       background-color:transparent; /*important*/
+       position:absolute; /*important*/
+       top:0;
+       left:14px;
+       width:204px;
+       height:29px;
+       padding: 0px;
+       color: #bbb;
+       font-size: .8em;
+}
+.searchbox_submit2 {
+       border: none; /*important*/
+       outline: none;
+       background-color:transparent; /*important*/
+       position:absolute; /*important*/
+       top:0px;
+       left:216px;
+       width:40px;
+       height:29px;
+       cursor: pointer; 
+}
+
+/*FOOTER*/
+footer{
+       width: 100%;
+       background: url("../img/footer.png") repeat-x;
+       height: 91px;
+       margin-top: 30px;
+}
+
+#footer_content{
+       width: 940px;
+       margin: 0 auto;
+       height: 63px;
+       padding-top: 28px;
+}
+
+#footer_content p{
+       color: #fff;
+       display: block;
+       margin-bottom: 10px;
+       font-size: 0.94em;
+}
+
+#footer_content p a{
+       color: #fff;
+}
+
+#footer_content p span{
+       margin: 0px 8px;
+}
+
+#footer_content p a:hover{
+       color: #82898f;
+       -webkit-transition: 0.5s;
+       -moz-transition: 0.5s;
+       transition: 0.5s;
+}
\ No newline at end of file
diff --git a/project/static/img/bt-next.png b/project/static/img/bt-next.png
new file mode 100644 (file)
index 0000000..f3fab22
Binary files /dev/null and b/project/static/img/bt-next.png differ
diff --git a/project/static/img/bt-prev.png b/project/static/img/bt-prev.png
new file mode 100644 (file)
index 0000000..7210703
Binary files /dev/null and b/project/static/img/bt-prev.png differ
diff --git a/project/static/img/cata.png b/project/static/img/cata.png
new file mode 100644 (file)
index 0000000..7f25b56
Binary files /dev/null and b/project/static/img/cata.png differ
diff --git a/project/static/img/degrade.jpg b/project/static/img/degrade.jpg
new file mode 100644 (file)
index 0000000..9540fe2
Binary files /dev/null and b/project/static/img/degrade.jpg differ
diff --git a/project/static/img/degrade2.jpg b/project/static/img/degrade2.jpg
new file mode 100644 (file)
index 0000000..7432fcb
Binary files /dev/null and b/project/static/img/degrade2.jpg differ
diff --git a/project/static/img/diapo1.jpg b/project/static/img/diapo1.jpg
new file mode 100644 (file)
index 0000000..11eb6b0
Binary files /dev/null and b/project/static/img/diapo1.jpg differ
diff --git a/project/static/img/diapo2.jpg b/project/static/img/diapo2.jpg
new file mode 100644 (file)
index 0000000..f9d50d2
Binary files /dev/null and b/project/static/img/diapo2.jpg differ
diff --git a/project/static/img/faq.png b/project/static/img/faq.png
new file mode 100644 (file)
index 0000000..d90d96e
Binary files /dev/null and b/project/static/img/faq.png differ
diff --git a/project/static/img/fond.jpg b/project/static/img/fond.jpg
new file mode 100644 (file)
index 0000000..c08e40c
Binary files /dev/null and b/project/static/img/fond.jpg differ
diff --git a/project/static/img/fondheader.png b/project/static/img/fondheader.png
new file mode 100644 (file)
index 0000000..b1d9881
Binary files /dev/null and b/project/static/img/fondheader.png differ
diff --git a/project/static/img/footer.png b/project/static/img/footer.png
new file mode 100644 (file)
index 0000000..fb3bf88
Binary files /dev/null and b/project/static/img/footer.png differ
diff --git a/project/static/img/lettre.png b/project/static/img/lettre.png
new file mode 100644 (file)
index 0000000..dec2fb0
Binary files /dev/null and b/project/static/img/lettre.png differ
diff --git a/project/static/img/logo.png b/project/static/img/logo.png
new file mode 100644 (file)
index 0000000..3d0078b
Binary files /dev/null and b/project/static/img/logo.png differ
diff --git a/project/static/img/logoActu.png b/project/static/img/logoActu.png
new file mode 100644 (file)
index 0000000..2ec4224
Binary files /dev/null and b/project/static/img/logoActu.png differ
diff --git a/project/static/img/menu.png b/project/static/img/menu.png
new file mode 100644 (file)
index 0000000..364d256
Binary files /dev/null and b/project/static/img/menu.png differ
diff --git a/project/static/img/menu2.png b/project/static/img/menu2.png
new file mode 100644 (file)
index 0000000..2e599e0
Binary files /dev/null and b/project/static/img/menu2.png differ
diff --git a/project/static/img/ordi.png b/project/static/img/ordi.png
new file mode 100644 (file)
index 0000000..15c3f8c
Binary files /dev/null and b/project/static/img/ordi.png differ
diff --git a/project/static/img/puce.png b/project/static/img/puce.png
new file mode 100644 (file)
index 0000000..4fc82a5
Binary files /dev/null and b/project/static/img/puce.png differ
diff --git a/project/static/img/pucelivre.png b/project/static/img/pucelivre.png
new file mode 100644 (file)
index 0000000..10a9926
Binary files /dev/null and b/project/static/img/pucelivre.png differ
diff --git a/project/static/img/rss.png b/project/static/img/rss.png
new file mode 100644 (file)
index 0000000..83fbb12
Binary files /dev/null and b/project/static/img/rss.png differ
diff --git a/project/static/img/searchbox.png b/project/static/img/searchbox.png
new file mode 100644 (file)
index 0000000..1bce8cf
Binary files /dev/null and b/project/static/img/searchbox.png differ
diff --git a/project/static/img/searchbox2.png b/project/static/img/searchbox2.png
new file mode 100644 (file)
index 0000000..fefdeef
Binary files /dev/null and b/project/static/img/searchbox2.png differ
diff --git a/project/static/img/truc.jpg b/project/static/img/truc.jpg
new file mode 100644 (file)
index 0000000..b0d75cc
Binary files /dev/null and b/project/static/img/truc.jpg differ
diff --git a/project/static/scripts/jquery.bxSlider.min.js b/project/static/scripts/jquery.bxSlider.min.js
new file mode 100755 (executable)
index 0000000..3d1d504
--- /dev/null
@@ -0,0 +1,114 @@
+/**
+ * jQuery bxSlider v3.0
+ * http://bxslider.com
+ *
+ * Copyright 2010, Steven Wanderski
+ * http://stevenwanderski.com
+ *
+ * Free to use and abuse under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ * 
+ */
+(function($){$.fn.bxSlider=function(options){var defaults={mode:'horizontal',infiniteLoop:true,hideControlOnEnd:false,controls:true,speed:500,easing:'swing',pager:false,pagerSelector:null,pagerType:'full',pagerLocation:'bottom',pagerShortSeparator:'/',pagerActiveClass:'pager-active',nextText:'next',nextImage:'',nextSelector:null,prevText:'prev',prevImage:'',prevSelector:null,captions:false,captionsSelector:null,auto:false,autoDirection:'next',autoControls:false,autoControlsSelector:null,autoStart:true,autoHover:false,autoDelay:0,pause:3000,startText:'start',startImage:'',stopText:'stop',stopImage:'',ticker:false,tickerSpeed:5000,tickerDirection:'next',tickerHover:false,wrapperClass:'bx-wrapper',startingSlide:0,displaySlideQty:1,moveSlideQty:1,randomStart:false,onBeforeSlide:function(){},onAfterSlide:function(){},onLastSlide:function(){},onFirstSlide:function(){},onNextSlide:function(){},onPrevSlide:function(){},buildPager:null}
+var options=$.extend(defaults,options);var base=this;var $parent='';var $origElement='';var $children='';var $outerWrapper='';var $firstChild='';var childrenWidth='';var childrenOuterWidth='';var wrapperWidth='';var wrapperHeight='';var $pager='';var interval='';var $autoControls='';var $stopHtml='';var $startContent='';var $stopContent='';var autoPlaying=true;var loaded=false;var childrenMaxWidth=0;var childrenMaxHeight=0;var currentSlide=0;var origLeft=0;var origTop=0;var origShowWidth=0;var origShowHeight=0;var tickerLeft=0;var tickerTop=0;var isWorking=false;var firstSlide=0;var lastSlide=$children.length-1;this.goToSlide=function(number,stopAuto){if(!isWorking){isWorking=true;currentSlide=number;options.onBeforeSlide(currentSlide,$children.length,$children.eq(currentSlide));if(typeof(stopAuto)=='undefined'){var stopAuto=true;}
+if(stopAuto){if(options.auto){base.stopShow(true);}}
+slide=number;if(slide==firstSlide){options.onFirstSlide(currentSlide,$children.length,$children.eq(currentSlide));}
+if(slide==lastSlide){options.onLastSlide(currentSlide,$children.length,$children.eq(currentSlide));}
+if(options.mode=='horizontal'){$parent.animate({'left':'-'+getSlidePosition(slide,'left')+'px'},options.speed,options.easing,function(){isWorking=false;options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='vertical'){$parent.animate({'top':'-'+getSlidePosition(slide,'top')+'px'},options.speed,options.easing,function(){isWorking=false;options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='fade'){setChildrenFade();}
+checkEndControls();if(options.moveSlideQty>1){number=Math.floor(number/options.moveSlideQty);}
+makeSlideActive(number);showCaptions();}}
+this.goToNextSlide=function(stopAuto){if(typeof(stopAuto)=='undefined'){var stopAuto=true;}
+if(stopAuto){if(options.auto){base.stopShow(true);}}
+if(!options.infiniteLoop){if(!isWorking){var slideLoop=false;currentSlide=(currentSlide+(options.moveSlideQty));if(currentSlide<=lastSlide){checkEndControls();options.onNextSlide(currentSlide,$children.length,$children.eq(currentSlide));base.goToSlide(currentSlide);}else{currentSlide-=options.moveSlideQty;}}}else{if(!isWorking){isWorking=true;var slideLoop=false;currentSlide=(currentSlide+options.moveSlideQty);if(currentSlide>lastSlide){currentSlide=currentSlide%$children.length;slideLoop=true;}
+options.onNextSlide(currentSlide,$children.length,$children.eq(currentSlide));options.onBeforeSlide(currentSlide,$children.length,$children.eq(currentSlide));if(options.mode=='horizontal'){var parentLeft=(options.moveSlideQty*childrenOuterWidth);$parent.animate({'left':'-='+parentLeft+'px'},options.speed,options.easing,function(){isWorking=false;if(slideLoop){$parent.css('left','-'+getSlidePosition(currentSlide,'left')+'px');}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='vertical'){var parentTop=(options.moveSlideQty*childrenMaxHeight);$parent.animate({'top':'-='+parentTop+'px'},options.speed,options.easing,function(){isWorking=false;if(slideLoop){$parent.css('top','-'+getSlidePosition(currentSlide,'top')+'px');}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='fade'){setChildrenFade();}
+if(options.moveSlideQty>1){makeSlideActive(Math.ceil(currentSlide/options.moveSlideQty));}else{makeSlideActive(currentSlide);}
+showCaptions();}}}
+this.goToPreviousSlide=function(stopAuto){if(typeof(stopAuto)=='undefined'){var stopAuto=true;}
+if(stopAuto){if(options.auto){base.stopShow(true);}}
+if(!options.infiniteLoop){if(!isWorking){var slideLoop=false;currentSlide=currentSlide-options.moveSlideQty;if(currentSlide<0){currentSlide=0;if(options.hideControlOnEnd){$('.bx-prev',$outerWrapper).hide();}}
+checkEndControls();options.onPrevSlide(currentSlide,$children.length,$children.eq(currentSlide));base.goToSlide(currentSlide);}}else{if(!isWorking){isWorking=true;var slideLoop=false;currentSlide=(currentSlide-(options.moveSlideQty));if(currentSlide<0){negativeOffset=(currentSlide%$children.length);if(negativeOffset==0){currentSlide=0;}else{currentSlide=($children.length)+negativeOffset;}
+slideLoop=true;}
+options.onPrevSlide(currentSlide,$children.length,$children.eq(currentSlide));options.onBeforeSlide(currentSlide,$children.length,$children.eq(currentSlide));if(options.mode=='horizontal'){var parentLeft=(options.moveSlideQty*childrenOuterWidth);$parent.animate({'left':'+='+parentLeft+'px'},options.speed,options.easing,function(){isWorking=false;if(slideLoop){$parent.css('left','-'+getSlidePosition(currentSlide,'left')+'px');}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='vertical'){var parentTop=(options.moveSlideQty*childrenMaxHeight);$parent.animate({'top':'+='+parentTop+'px'},options.speed,options.easing,function(){isWorking=false;if(slideLoop){$parent.css('top','-'+getSlidePosition(currentSlide,'top')+'px');}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});}else if(options.mode=='fade'){setChildrenFade();}
+if(options.moveSlideQty>1){makeSlideActive(Math.ceil(currentSlide/options.moveSlideQty));}else{makeSlideActive(currentSlide);}
+showCaptions();}}}
+this.goToFirstSlide=function(stopAuto){if(typeof(stopAuto)=='undefined'){var stopAuto=true;}
+base.goToSlide(firstSlide,stopAuto);}
+this.goToLastSlide=function(){if(typeof(stopAuto)=='undefined'){var stopAuto=true;}
+base.goToSlide(lastSlide,stopAuto);}
+this.getCurrentSlide=function(){return currentSlide;}
+this.getSlideCount=function(){return $children.length;}
+this.stopShow=function(changeText){clearInterval(interval);if(typeof(changeText)=='undefined'){var changeText=true;}
+if(changeText&&options.autoControls){$autoControls.html($startContent).removeClass('stop').addClass('start');autoPlaying=false;}}
+this.startShow=function(changeText){if(typeof(changeText)=='undefined'){var changeText=true;}
+setAutoInterval();if(changeText&&options.autoControls){$autoControls.html($stopContent).removeClass('start').addClass('stop');autoPlaying=true;}}
+this.stopTicker=function(changeText){$parent.stop();if(typeof(changeText)=='undefined'){var changeText=true;}
+if(changeText&&options.ticker){$autoControls.html($startContent).removeClass('stop').addClass('start');autoPlaying=false;}}
+this.startTicker=function(changeText){if(options.mode=='horizontal'){if(options.tickerDirection=='next'){var stoppedLeft=parseInt($parent.css('left'));var remainingDistance=(origShowWidth+stoppedLeft)+$children.eq(0).width();}else if(options.tickerDirection=='prev'){var stoppedLeft=-parseInt($parent.css('left'));var remainingDistance=(stoppedLeft)-$children.eq(0).width();}
+var finishingSpeed=(remainingDistance*options.tickerSpeed)/origShowWidth;moveTheShow(tickerLeft,remainingDistance,finishingSpeed);}else if(options.mode=='vertical'){if(options.tickerDirection=='next'){var stoppedTop=parseInt($parent.css('top'));var remainingDistance=(origShowHeight+stoppedTop)+$children.eq(0).height();}else if(options.tickerDirection=='prev'){var stoppedTop=-parseInt($parent.css('top'));var remainingDistance=(stoppedTop)-$children.eq(0).height();}
+var finishingSpeed=(remainingDistance*options.tickerSpeed)/origShowHeight;moveTheShow(tickerTop,remainingDistance,finishingSpeed);if(typeof(changeText)=='undefined'){var changeText=true;}
+if(changeText&&options.ticker){$autoControls.html($stopContent).removeClass('start').addClass('stop');autoPlaying=true;}}}
+this.initShow=function(){$parent=$(this);$origElement=$parent.clone();$children=$parent.children();$outerWrapper='';$firstChild=$parent.children(':first');childrenWidth=$firstChild.width();childrenMaxWidth=0;childrenOuterWidth=$firstChild.outerWidth();childrenMaxHeight=0;wrapperWidth=getWrapperWidth();wrapperHeight=getWrapperHeight();isWorking=false;$pager='';currentSlide=0;origLeft=0;origTop=0;interval='';$autoControls='';$stopHtml='';$startContent='';$stopContent='';autoPlaying=true;loaded=false;origShowWidth=0;origShowHeight=0;tickerLeft=0;tickerTop=0;firstSlide=0;lastSlide=$children.length-1;$children.each(function(index){if($(this).outerHeight()>childrenMaxHeight){childrenMaxHeight=$(this).outerHeight();}
+if($(this).outerWidth()>childrenMaxWidth){childrenMaxWidth=$(this).outerWidth();}});if(options.randomStart){var randomNumber=Math.floor(Math.random()*$children.length);currentSlide=randomNumber;origLeft=childrenOuterWidth*(options.moveSlideQty+randomNumber);origTop=childrenMaxHeight*(options.moveSlideQty+randomNumber);}else{currentSlide=options.startingSlide;origLeft=childrenOuterWidth*(options.moveSlideQty+options.startingSlide);origTop=childrenMaxHeight*(options.moveSlideQty+options.startingSlide);}
+initCss();if(options.pager&&!options.ticker){if(options.pagerType=='full'){showPager('full');}else if(options.pagerType=='short'){showPager('short');}}
+if(options.controls&&!options.ticker){setControlsVars();}
+if(options.auto||options.ticker){if(options.autoControls){setAutoControlsVars();}
+if(options.autoStart){setTimeout(function(){base.startShow(true);},options.autoDelay);}else{base.stopShow(true);}
+if(options.autoHover&&!options.ticker){setAutoHover();}}
+if(options.moveSlideQty>1){makeSlideActive(Math.ceil(currentSlide/options.moveSlideQty));}else{makeSlideActive(currentSlide);}
+checkEndControls();if(options.captions){showCaptions();}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));}
+this.destroyShow=function(){clearInterval(interval);$('.bx-next, .bx-prev, .bx-pager, .bx-auto',$outerWrapper).remove();$parent.unwrap().unwrap().removeAttr('style');$parent.children().removeAttr('style').not('.pager').remove();$children.removeClass('pager');}
+this.reloadShow=function(){base.destroyShow();base.initShow();}
+function initCss(){setChildrenLayout(options.startingSlide);if(options.mode=='horizontal'){$parent.wrap('<div class="'+options.wrapperClass+'" style="width:'+wrapperWidth+'px; position:relative;"></div>').wrap('<div class="bx-window" style="position:relative; overflow:hidden; width:'+wrapperWidth+'px;"></div>').css({width:'999999px',position:'relative',left:'-'+(origLeft)+'px'});$parent.children().css({width:childrenWidth,'float':'left',listStyle:'none'});$outerWrapper=$parent.parent().parent();$children.addClass('pager');}else if(options.mode=='vertical'){$parent.wrap('<div class="'+options.wrapperClass+'" style="width:'+childrenMaxWidth+'px; position:relative;"></div>').wrap('<div class="bx-window" style="width:'+childrenMaxWidth+'px; height:'+wrapperHeight+'px; position:relative; overflow:hidden;"></div>').css({height:'999999px',position:'relative',top:'-'+(origTop)+'px'});$parent.children().css({listStyle:'none',height:childrenMaxHeight});$outerWrapper=$parent.parent().parent();$children.addClass('pager');}else if(options.mode=='fade'){$parent.wrap('<div class="'+options.wrapperClass+'" style="width:'+childrenMaxWidth+'px; position:relative;"></div>').wrap('<div class="bx-window" style="height:'+childrenMaxHeight+'px; width:'+childrenMaxWidth+'px; position:relative; overflow:hidden;"></div>');$parent.children().css({listStyle:'none',position:'absolute',top:0,left:0,zIndex:98});$outerWrapper=$parent.parent().parent();$children.not(':eq('+currentSlide+')').fadeTo(0,0);$children.eq(currentSlide).css('zIndex',99);}
+if(options.captions&&options.captionsSelector==null){$outerWrapper.append('<div class="bx-captions"></div>');}}
+function setChildrenLayout(){if(options.mode=='horizontal'||options.mode=='vertical'){var $prependedChildren=getArraySample($children,0,options.moveSlideQty,'backward');$.each($prependedChildren,function(index){$parent.prepend($(this));});var totalNumberAfterWindow=($children.length+options.moveSlideQty)-1;var pagerExcess=$children.length-options.displaySlideQty;var numberToAppend=totalNumberAfterWindow-pagerExcess;var $appendedChildren=getArraySample($children,0,numberToAppend,'forward');if(options.infiniteLoop){$.each($appendedChildren,function(index){$parent.append($(this));});}}}
+function setControlsVars(){if(options.nextImage!=''){nextContent=options.nextImage;nextType='image';}else{nextContent=options.nextText;nextType='text';}
+if(options.prevImage!=''){prevContent=options.prevImage;prevType='image';}else{prevContent=options.prevText;prevType='text';}
+showControls(nextType,nextContent,prevType,prevContent);}
+function setAutoInterval(){if(options.auto){if(!options.infiniteLoop){if(options.autoDirection=='next'){interval=setInterval(function(){currentSlide+=options.moveSlideQty;if(currentSlide>lastSlide){currentSlide=currentSlide%$children.length;}
+base.goToSlide(currentSlide,false);},options.pause);}else if(options.autoDirection=='prev'){interval=setInterval(function(){currentSlide-=options.moveSlideQty;if(currentSlide<0){negativeOffset=(currentSlide%$children.length);if(negativeOffset==0){currentSlide=0;}else{currentSlide=($children.length)+negativeOffset;}}
+base.goToSlide(currentSlide,false);},options.pause);}}else{if(options.autoDirection=='next'){interval=setInterval(function(){base.goToNextSlide(false);},options.pause);}else if(options.autoDirection=='prev'){interval=setInterval(function(){base.goToPreviousSlide(false);},options.pause);}}}else if(options.ticker){options.tickerSpeed*=10;$('.pager',$outerWrapper).each(function(index){origShowWidth+=$(this).width();origShowHeight+=$(this).height();});if(options.tickerDirection=='prev'&&options.mode=='horizontal'){$parent.css('left','-'+(origShowWidth+origLeft)+'px');}else if(options.tickerDirection=='prev'&&options.mode=='vertical'){$parent.css('top','-'+(origShowHeight+origTop)+'px');}
+if(options.mode=='horizontal'){tickerLeft=parseInt($parent.css('left'));moveTheShow(tickerLeft,origShowWidth,options.tickerSpeed);}else if(options.mode=='vertical'){tickerTop=parseInt($parent.css('top'));moveTheShow(tickerTop,origShowHeight,options.tickerSpeed);}
+if(options.tickerHover){setTickerHover();}}}
+function moveTheShow(leftCss,distance,speed){if(options.mode=='horizontal'){if(options.tickerDirection=='next'){$parent.animate({'left':'-='+distance+'px'},speed,'linear',function(){$parent.css('left',leftCss);moveTheShow(leftCss,origShowWidth,options.tickerSpeed);});}else if(options.tickerDirection=='prev'){$parent.animate({'left':'+='+distance+'px'},speed,'linear',function(){$parent.css('left',leftCss);moveTheShow(leftCss,origShowWidth,options.tickerSpeed);});}}else if(options.mode=='vertical'){if(options.tickerDirection=='next'){$parent.animate({'top':'-='+distance+'px'},speed,'linear',function(){$parent.css('top',leftCss);moveTheShow(leftCss,origShowHeight,options.tickerSpeed);});}else if(options.tickerDirection=='prev'){$parent.animate({'top':'+='+distance+'px'},speed,'linear',function(){$parent.css('top',leftCss);moveTheShow(leftCss,origShowHeight,options.tickerSpeed);});}}}
+function setAutoControlsVars(){if(options.startImage!=''){startContent=options.startImage;startType='image';}else{startContent=options.startText;startType='text';}
+if(options.stopImage!=''){stopContent=options.stopImage;stopType='image';}else{stopContent=options.stopText;stopType='text';}
+showAutoControls(startType,startContent,stopType,stopContent);}
+function setAutoHover(){$outerWrapper.find('.bx-window').hover(function(){if(autoPlaying){base.stopShow(false);}},function(){if(autoPlaying){base.startShow(false);}});}
+function setTickerHover(){$parent.hover(function(){if(autoPlaying){base.stopTicker(false);}},function(){if(autoPlaying){base.startTicker(false);}});}
+function setChildrenFade(){$children.not(':eq('+currentSlide+')').fadeTo(options.speed,0).css('zIndex',98);$children.eq(currentSlide).css('zIndex',99).fadeTo(options.speed,1,function(){isWorking=false;if(jQuery.browser.msie){$children.eq(currentSlide).get(0).style.removeAttribute('filter');}
+options.onAfterSlide(currentSlide,$children.length,$children.eq(currentSlide));});};function makeSlideActive(number){if(options.pagerType=='full'&&options.pager){$('a',$pager).removeClass(options.pagerActiveClass);$('a',$pager).eq(number).addClass(options.pagerActiveClass);}else if(options.pagerType=='short'&&options.pager){$('.bx-pager-current',$pager).html(currentSlide+1);}}
+function showControls(nextType,nextContent,prevType,prevContent){var $nextHtml=$('<a href="" class="bx-next"></a>');var $prevHtml=$('<a href="" class="bx-prev"></a>');if(nextType=='text'){$nextHtml.html(nextContent);}else{$nextHtml.html('<img src="'+nextContent+'" />');}
+if(prevType=='text'){$prevHtml.html(prevContent);}else{$prevHtml.html('<img src="'+prevContent+'" />');}
+if(options.prevSelector){$(options.prevSelector).append($prevHtml);}else{$outerWrapper.append($prevHtml);}
+if(options.nextSelector){$(options.nextSelector).append($nextHtml);}else{$outerWrapper.append($nextHtml);}
+$nextHtml.click(function(){base.goToNextSlide();return false;});$prevHtml.click(function(){base.goToPreviousSlide();return false;});}
+function showPager(type){var pagerQty=$children.length;if(options.moveSlideQty>1){if($children.length%options.moveSlideQty!=0){pagerQty=Math.ceil($children.length/options.moveSlideQty);}else{pagerQty=$children.length/options.moveSlideQty;}}
+var pagerString='';if(options.buildPager){for(var i=0;i<pagerQty;i++){pagerString+=options.buildPager(i,$children.eq(i*options.moveSlideQty));}}else if(type=='full'){for(var i=1;i<=pagerQty;i++){pagerString+='<a href="" class="pager-link pager-'+i+'">'+i+'</a>';}}else if(type=='short'){pagerString='<span class="bx-pager-current">'+(options.startingSlide+1)+'</span> '+options.pagerShortSeparator+' <span class="bx-pager-total">'+$children.length+'<span>';}
+if(options.pagerSelector){$(options.pagerSelector).append(pagerString);$pager=$(options.pagerSelector);}else{var $pagerContainer=$('<div class="bx-pager"></div>');$pagerContainer.append(pagerString);if(options.pagerLocation=='top'){$outerWrapper.prepend($pagerContainer);}else if(options.pagerLocation=='bottom'){$outerWrapper.append($pagerContainer);}
+$pager=$('.bx-pager',$outerWrapper);}
+$pager.children().click(function(){if(options.pagerType=='full'){var slideIndex=$pager.children().index(this);if(options.moveSlideQty>1){slideIndex*=options.moveSlideQty;}
+base.goToSlide(slideIndex);}
+return false;});}
+function showCaptions(){var caption=$('img',$children.eq(currentSlide)).attr('title');if(caption!=''){if(options.captionsSelector){$(options.captionsSelector).html(caption);}else{$('.bx-captions',$outerWrapper).html(caption);}}else{if(options.captionsSelector){$(options.captionsSelector).html(' ');}else{$('.bx-captions',$outerWrapper).html(' ');}}}
+function showAutoControls(startType,startContent,stopType,stopContent){$autoControls=$('<a href="" class="bx-start"></a>');if(startType=='text'){$startContent=startContent;}else{$startContent='<img src="'+startContent+'" />';}
+if(stopType=='text'){$stopContent=stopContent;}else{$stopContent='<img src="'+stopContent+'" />';}
+if(options.autoControlsSelector){$(options.autoControlsSelector).append($autoControls);}else{$outerWrapper.append('<div class="bx-auto"></div>');$('.bx-auto',$outerWrapper).html($autoControls);}
+$autoControls.click(function(){if(options.ticker){if($(this).hasClass('stop')){base.stopTicker();}else if($(this).hasClass('start')){base.startTicker();}}else{if($(this).hasClass('stop')){base.stopShow(true);}else if($(this).hasClass('start')){base.startShow(true);}}
+return false;});}
+function checkEndControls(){if(!options.infiniteLoop&&options.hideControlOnEnd){if(currentSlide==firstSlide){$('.bx-prev',$outerWrapper).hide();}else{$('.bx-prev',$outerWrapper).show();}
+if(currentSlide==lastSlide){$('.bx-next',$outerWrapper).hide();}else{$('.bx-next',$outerWrapper).show();}}}
+function getSlidePosition(number,side){if(side=='left'){var position=$('.pager',$outerWrapper).eq(number).position().left;}else if(side=='top'){var position=$('.pager',$outerWrapper).eq(number).position().top;}
+return position;}
+function getWrapperWidth(){var wrapperWidth=$firstChild.outerWidth()*options.displaySlideQty;return wrapperWidth;}
+function getWrapperHeight(){var wrapperHeight=$firstChild.outerHeight()*options.displaySlideQty;return wrapperHeight;}
+function getArraySample(array,start,length,direction){var sample=[];var loopLength=length;var startPopulatingArray=false;if(direction=='backward'){array=$.makeArray(array);array.reverse();}
+while(loopLength>0){$.each(array,function(index,val){if(loopLength>0){if(!startPopulatingArray){if(index==start){startPopulatingArray=true;sample.push($(this).clone());loopLength--;}}else{sample.push($(this).clone());loopLength--;}}else{return false;}});}
+return sample;}
+this.each(function(){base.initShow();});return this;}
+jQuery.fx.prototype.cur=function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}
+var r=parseFloat(jQuery.css(this.elem,this.prop));return r;}})(jQuery);
\ No newline at end of file
diff --git a/project/static/scripts/site.js b/project/static/scripts/site.js
new file mode 100644 (file)
index 0000000..edc49c3
--- /dev/null
@@ -0,0 +1,15 @@
+// JavaScript de moi
+
+$(document).ready(function(){
+                                                                                  
+
+/*SLIDER*/
+$('#slides').bxSlider({
+       wrapper_class: 'slides_wrap',
+       mode: 'fade',
+       pause: 6000,
+       speed: 1500,
+       auto: true
+});
+
+});
\ No newline at end of file
diff --git a/project/static/scripts/swfobject.js b/project/static/scripts/swfobject.js
new file mode 100755 (executable)
index 0000000..8eafe9d
--- /dev/null
@@ -0,0 +1,4 @@
+/*     SWFObject v2.2 <http://code.google.com/p/swfobject/> 
+       is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
+*/
+var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
\ No newline at end of file
diff --git a/project/templates/accueil.html b/project/templates/accueil.html
new file mode 100644 (file)
index 0000000..ba2e974
--- /dev/null
@@ -0,0 +1,51 @@
+{% extends "base.html" %}
+{% load cms_tags %}
+{% block Contenu %}
+
+<h1>À la une</h1>
+        <div id="slider">
+               <div id="slides">
+                <div class="diapo">
+                    <img src="{{ STATIC_URL }}img/diapo1.jpg" height="298" width="578">
+                    <div class="intro"><p>Le Recteur de l’AUF a participé à la 29ème session ordinaire du Conseil des ministres du CAMES</p></div>
+                </div>
+                <div class="diapo">
+                    <img src="{{ STATIC_URL }}img/diapo2.jpg" height="298" width="578">
+                    <div class="intro"><p>IPAGU : formation des Recteurs d’universités et des directeurs des grandes écoles du Mali à la gouvernance universitaire</p></div>
+                </div>
+            </div>  
+        </div>
+        <p>{{page_title}}</p>
+        {% if slider_list %}
+                        {% with slider_list as item_list %}
+                            {% for item in item_list %}
+                                 <div class="Item">
+                                        {% if item.lien %}<a href="{{ item.lien }}">{% endif %}<img src="{{ MEDIA_URL }}{{ item.image }}" width="607" height="220" alt="" />{% if item.lien %}</a>{% endif %}
+                                        <div id="BlocEnBref">
+                                        <div class="ConteneurEnBref">
+                                           <p class="Titre">{% if item.lien %}<a href="{{ item.lien }}">{% endif %}{{ item.titre }}{% if item.lien %}</a>{% endif %}</p>
+                                        </div>
+                                       </div>                        
+                                 </div>
+                             {% endfor %}
+                        {% endwith %}
+                     {% else%}
+                               <div class="Item2">
+                                <img src="{{ STATIC_URL }}documents/images/entetes/prix-wise-2010.jpg" width="607" height="220" alt="" /> 
+                               <div id="BlocEnBref">
+                                    <div class="ConteneurEnBref">
+                                       <p class="Titre">Pas de slider dans ce bureau</p>
+                                    </div>
+                               </div>
+                            </div>
+                      {% endif %}
+        
+        <div class="text">
+        
+               {% block Texte %}
+                               {% placeholder Texte %}
+                       {% endblock %}
+        
+        </div>
+        
+{% endblock %}
\ No newline at end of file
diff --git a/project/templates/base.html b/project/templates/base.html
new file mode 100644 (file)
index 0000000..c5a4f80
--- /dev/null
@@ -0,0 +1,167 @@
+{% load cms_tags sekizai_tags %}
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
+<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
+<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
+<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
+<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
+<head>
+  <meta charset="utf-8" />
+  <meta name="description" content="" />
+  <meta name="author" content="" />
+  <title></title>
+  <link href="{{ STATIC_URL }}css/style.css?v=1" rel="stylesheet" type="text/css" media="screen" />
+  <link href="{{ STATIC_URL }}css/style_print.css?v=1" rel="stylesheet" type="text/css" media="print" />
+  {% render_block "css" %}
+  <script type="text/javascript" src="{{ STATIC_URL }}scripts/swfobject.js"></script>
+  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
+  <!--<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"></script>-->
+  <script type="text/javascript" src="{{ STATIC_URL }}scripts/site.js"></script>
+  <script  type="text/javascript" src="{{ STATIC_URL }}scripts/jquery.bxSlider.min.js"></script>
+  {% render_block "js" %}
+  <!--[if lt IE 9]>
+    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+    <script src="scripts/innershiv.min.js"></script>
+  <![endif]-->
+  <!--[if IE 6]><script type="text/javascript" src="scripts/DD_belatedPNG_0.0.8a-min.js"></script><![endif]-->
+  <!--[if lt IE 8]><script src="scripts/font.js"></script><![endif]-->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head>
+<body>
+
+<!-- HEADER -->
+ <header>
+       <div id="degrade">
+    
+               <div id="header_content">
+               <div id="logo"><img src="{{ STATIC_URL }}img/logo.png"></div>
+            <div id="header_droit">
+               <p><a href="#">Accueil</a>-<a href="#">Partenaires</a>-<a href="#">Flux RSS</a>-<a href="#" style="margin-right:0">Plan du site</a></p>
+                <div id="search">
+                        <form action="/recherche/" method="get">
+                        <input type="text" class="searchbox" name="s" value="Rechercher..." onFocus="value=''" />
+                        <input type="submit" class="searchbox_submit" value="" />
+                        </form>
+                       </div>
+                <div id="rss"><a href="#"><img src="{{ STATIC_URL }}img/rss.png"></a></div>
+            </div>
+        </div>
+        
+        <menu id="principal">
+               <ul>
+               <li><a href="#">Accueil</a></li>
+                <li><a href="page.html">L’institut</a>
+                       <ul>
+                       <li><a href="#"><span>></span> Vision et mission</a></li>
+                        <li><a href="#"><span>></span> Mission</a></li>
+                        <li><a href="#"><span>></span> Historique</a></li>
+                    </ul>
+                </li>
+                <li><a href="#">Le fonctionnement</a></li>
+                <li><a href="#">Espace Universités</a></li>
+                <li><a href="#">Opportunités</a></li>
+                <li><a href="#">Ressources</a></li>
+            </ul>
+        </menu>        
+        
+    </div>
+ </header>
+ <!-- MAIN -->
+ <div id="main">
+       <content id="gauche">
+       {% block Contenu %}{% endblock Contenu %}
+    </content>
+       
+    <sidebar id="droite">
+    
+       <h1>Publications</h1>
+       <div class="boite">
+                <ul>
+               <li><a href="#">Nos publications</a></li>
+                <li><a href="#">Situation de l’enseignement supérieur en Afrique sub-saharienne</a></li>
+                <li><a href="#">La contribution des conseils d’administration à la gouvernance des universités</a></li>
+             </ul>
+        </div>
+        
+        <h1>Documents de fonds</h1>
+       <div class="boite">
+                <ul>
+               <li><a href="#">Décisions et déclarations</a></li>
+                <li><a href="#">Etudes sur la gouvernance universitaire en Afrique</a></li>
+                <li><a href="#">Réflexions sur la modernisation des universités</a></li>
+             </ul>
+        </div>
+        
+        <h1>Actualités</h1>
+       <div class="boiteActu">
+               <div class="actu">
+               <div class="actuImg"><a href="#"><img src="{{ STATIC_URL }}img/logoActu.png"></a></div>
+                <div class="actuTxt">
+                       <span><a href="#">Le 23 Février 2012</a></span>
+                    <p><a href="#">Atelier Harmonisation du LMD en zone CEMAC et dans la région des Grands Lacs</a></p>
+                </div>
+            </div>
+            <div class="actu">
+               <div class="actuImg"><a href="#"><img src="{{ STATIC_URL }}img/logoActu.png"></a></div>
+                <div class="actuTxt">
+                       <span><a href="#">Le 23 Février 2012</a></span>
+                    <p><a href="#">Atelier Harmonisation du LMD en zone CEMAC</a></p>
+                </div>
+            </div>
+            <div class="actu">
+               <div class="actuImg"><a href="#"><img src="{{ STATIC_URL }}img/logoActu.png"></a></div>
+                <div class="actuTxt">
+                       <span><a href="#">Le 23 Février 2012</a></span>
+                    <p><a href="#">Atelier Harmonisation du LMD en zone CEMAC</a></p>
+                </div>
+            </div>
+            <div class="actu">
+               <div class="actuImg"><a href="#"><img src="{{ STATIC_URL }}img/logoActu.png"></a></div>
+                <div class="actuTxt">
+                       <span><a href="#">Le 23 Février 2012</a></span>
+                    <p><a href="#">Atelier Harmonisation du LMD en zone CEMAC</a></p>
+                </div>
+            </div>
+        </div>
+        
+        <div class="boiteAutre">
+                <p class="lettre">Inscrivez-vous à notre Bulletin d’information</p>
+             <div id="search2">
+                        <form action="/recherche/" method="get">
+                        <input type="text" class="searchbox2" name="s" value="Votre adresse éléctronique..." onFocus="value=''" />
+                        <input type="submit" class="searchbox_submit2" value="" />
+                        </form>
+               </div>
+        </div>
+        
+        <div class="boiteAutre2">
+                <p class="faq"><a href="#">Foire aux questions</a></p>
+        </div>
+        
+        <div class="boiteAutre2">
+                <p class="ordi"><a href="#">Espace numérique</a></p>
+        </div>
+        
+        <div class="boiteAutre2">
+                <p class="cata"><a href="#">Catalogue des formations</a></p>
+        </div>
+    
+    </sidebar>
+    
+ </div>
+ <!-- FOOTER -->
+ <footer>
+       <div id="footer_content">
+               <p><a href="#">Accueil</a><span>-</span><a href="#">Partenaires</a><span>-</span><a href="#">Flux RSS</a><span>-</span><a href="#">Plan du site</a></p>
+            <p>© 2010 Institut Panafricain de Gouvernance Universitaire</p>
+    </div>
+       
+ </footer>   
+</body>
+</html>
\ No newline at end of file
diff --git a/project/templates/cms/vide.html b/project/templates/cms/vide.html
deleted file mode 100644 (file)
index f8b5f83..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-{% load cms_tags sekizai_tags %}
-<html>
-  <head>
-      {% render_block "css" %}
-  </head>
-  <body>
-      {% cms_toolbar %}
-      {% placeholder base_content %}
-      {% block base_content%}{% endblock %}
-      {% render_block "js" %}
-  </body>
-</html>
-
index 8c504bd..6f33e92 100644 (file)
@@ -29,4 +29,9 @@ if settings.DEBUG:
 # django-cms
 urlpatterns += patterns('',
     url(r'^', include('cms.urls')),
-    )
+)
+
+#diaporama
+urlpatterns += patterns('diaporama.views',
+    (r'^$', 'accueil'),
+)
\ No newline at end of file
index 206485e..f2798b7 100644 (file)
@@ -28,3 +28,6 @@ django-sekizai = 0.6.1
 # Required by:
 # django-cms==2.3
 html5lib = 0.95
+
+# Added by Buildout Versions at 2012-09-24 16:06:56.691479
+distribute = 0.6.28