From c24aa3fdf3942097f8e418fb71669c1dc807eafa Mon Sep 17 00:00:00 2001 From: Ana Date: Tue, 19 Apr 2016 10:33:58 +0200 Subject: changement de place du dossier static --- papillon/polls/static/bg.jpg | Bin 0 -> 20930 bytes papillon/polls/static/styles.css | 395 +++++++++++++++++++++++++++++++++++++ papillon/polls/static/textareas.js | 27 +++ papillon/static/bg.jpg | Bin 20930 -> 0 bytes papillon/static/styles.css | 395 ------------------------------------- papillon/static/textareas.js | 27 --- 6 files changed, 422 insertions(+), 422 deletions(-) create mode 100644 papillon/polls/static/bg.jpg create mode 100644 papillon/polls/static/styles.css create mode 100644 papillon/polls/static/textareas.js delete mode 100644 papillon/static/bg.jpg delete mode 100644 papillon/static/styles.css delete mode 100644 papillon/static/textareas.js diff --git a/papillon/polls/static/bg.jpg b/papillon/polls/static/bg.jpg new file mode 100644 index 0000000..61fc9b8 Binary files /dev/null and b/papillon/polls/static/bg.jpg differ diff --git a/papillon/polls/static/styles.css b/papillon/polls/static/styles.css new file mode 100644 index 0000000..9bcf4d2 --- /dev/null +++ b/papillon/polls/static/styles.css @@ -0,0 +1,395 @@ +/* +Copyright (C) 2008-2011 Étienne Loks + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +See the file COPYING for details. +*/ + +@media only screen and (max-width: 600px){ + #main{ + width:100% !important; + background:white !important; + border:0px !important; + } + + .new_poll{ + width:100% !important; + } + .new_poll *{ + padding:0 !important; + margin:0!important; + } +} + +/* colors */ + +body, #poll th, .highlight{ + background-color:#98c93c; +} + +a, .comments .author{ + color:#287028; +} + +h1, h1 a, .form_description{ + background-color:#287028; +} + +/**/ + +body{ +margin:0; +font-size:12px; +font-family: Arial, Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif; +} + +pre{ +font-size:12px; +font-family: Arial, Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif; +} + +h1, h2, h3, h4, h5 { +font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; +font-weight:normal; +} + +h1, h1 a{ +margin:0; +margin-top:2px; +border:1px solid black; +border-right:None; +border-left:None; +color:white; +padding-left:10px; +font-size:32px; +text-decoration:None; +} + +h2{ +font-style:italic; +border-bottom:1px dashed black; +margin-left:10px; +padding:0; +font-size:24px; +} + +h2 a{ +color:black; +text-decoration:None; +} + +h2 a:hover{ +color:#808080; +} + +h3{ +margin:10px; +font-size:20px; +} + +h3 a{ +color:black; +text-decoration:None; +} + +h3 a:hover{ +color:#808080; +} + +p{ +padding:6px; +margin:6px; +max-width:600px; +} + +td{ +font-size:12px; +padding:4px; +} + +th{ +font-size:12px; +text-align:left; +} + +label{ +font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; +font-weight:normal; +font-style:italic; +} + +hr.spacer{ +clear:both; +height:0; +border:0; +} + +#main{ +background-color:white; +border:1px solid; +margin:auto; +background-image: url(bg.jpg); +background-repeat:no-repeat; +background-position:95% 10%; +width: 80%; +} + +#header{ +text-align:right; +font-size:11px; +color:#808080; +} + +#header #languages a{ +color:#808080; +padding-right:6px; +text-decoration:none; +} + +#footer{ +text-align:center; +font-size:11px; +color:#808080; +margin:6px; +} + +#footer a{ +color:#808080; +text-decoration:none; +} + +.alert, .error, .errorlist{ +color:blue; +} + +.new_poll{ + width:400px; + margin:auto; + padding:0; +} + +.help_button{ + float:right; + color:white; + background:green; + width:20px; + height:20px; + border-radius:25px; + text-align:center; +} + +th .help_button{ + width:14px; + height:14px; +} + +.help_button:hover{ + cursor: help; +} + +.field_label{ + clear:both; + font-size:1.5em; + width:100%; + float:none !important; + margin-top:10px; +} + +.new_poll table form tr { + margin:5px 0px !important; + padding:0px; +} + +.new_poll div, .new_poll input, .new_poll textarea, .new_poll table{ + width:100%; + margin:5px 0px; +} + +.new_poll div { + float:left; +} + +.errorlist, .error{ + color:red; + background-color:rgb(255,200,200); +} + +.datetime a img{ +border:0; +} + +.datetime input.vTimeField{ +width:68px; +} + +.datetime input.vDateField{ +width:75px; +} + +.form_description{ +color:white; +font-size:11px; +width:200px; +} + +a.arrow{ +text-decoration:None; +font-weight:bold; +} + +#content{ +margin:5px; +} + +#poll_table{ +overflow:auto; +overflow-y:visible; +text-align:center; +width:100%; +padding-bottom:16px; +display:block; +float:left; +} + +#poll{ +text-align:center; +margin:auto; +} + +#poll a{ +color:black; +} + +#poll td{ +border:1px solid black; +padding:0; +} + +#poll td.simple{ +border:None; +background-color:#FFF; +} + +#poll th{ +border:1px solid black; +padding:5px; +} + +#poll input{ +width:100px; +} + +#poll .OK{ +background-color:#9ec5d5; +} + +#poll .OKO{ +background-color:#b689d5; +} + +#poll .KO{ +background-color:#b9b3bd; +} + +#sum th{ +background-color:white; +border:None; +text-align:center; +} + +#sum td{ +border:None; +} + +.highlight{ +font-weight:bold; +} + +tr.highlighted_voter td{ +background-color:#808080; +color:white; +} + +.footnote{ +font-size:0.9em; +padding:10px; +} + +.footnote p{ +padding:0; +margin:2px; +} + +.poll-description{ +margin:4px; +padding:4px; +border:1px solid #d3d3d3; +} + +.poll-description p{ +margin:0; +padding:2px; +} + + +ul.comments{ +list-style-type:None; +margin:4px; +padding:0; +} + +.comments li{ +margin:4px; +padding:4px; +border:1px solid #d3d3d3; +} + +.comments .author{ +margin:0; +padding:0; +} + + +/* CALENDARS & CLOCKS IMPORTED FROM ADMIN */ + +.calendarbox, .clockbox { margin: 5px auto; font-size: 11px; width: 16em; text-align: center; background: white; position: relative; border: 1px solid #444; } +.clockbox { width: auto; } +.clockbox h2 { margin: 0; font-size: 13px; border-bottom: 1px solid #222; padding: 3px; background-color: #EEE; } + +.calendar { margin: 0; padding: 0; } +.calendar table { margin: 0; padding: 0; border-collapse: collapse; background: white; width: 100%; } +.calendar caption, .calendarbox h2 { margin: 0; font-size: 12px; text-align: center; border-top: none; background-color: #EEE; } +.calendar caption { height: 18px; font-weight: bold; } +.calendar th { font-size: 10px; color: #666; padding: 2px 3px; text-align: center; background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x; border-bottom: 1px solid #ddd; } +.calendar td { font-size: 11px; text-align: center; padding: 0; border-top: 1px solid #eee; border-bottom: none; } +.calendar td.selected a { background: #C9DBED; } +.calendar td.nonday { background: #efefef; } +.calendar td.today a { background: #ffc; } +.calendar td a, .timelist a { display: block; font-weight: bold; padding: 4px; text-decoration: none; color: #444; } +.calendar td a:hover, .timelist a:hover { background: #4A0010; color: white; } +.calendar td a:active, .timelist a:active { background: #CCC; color: white; } +.calendarnav { font-size: 10px; text-align: center; color: #ccc; margin: 0; padding: 1px 3px; } +.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover { color: #999; } +.calendar-shortcuts { background: white; font-size: 10px; line-height: 11px; border-top: 1px solid #eee; padding: 3px 0 4px; color: #ccc; } +.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next { display: block; position: absolute; font-weight: bold; font-size: 12px; background: #AAA url(../img/admin/default-bg.gif) bottom left repeat-x; padding: 1px 4px 2px 4px; color: white; } +.calendarnav-previous:hover, .calendarnav-next:hover { background: #4A0010; } +.calendarnav-previous { top: 0; left: 0; } +.calendarnav-next { top: 0; right: 0; } +.calendar-cancel { margin: 0 !important; padding: 0; font-size: 10px; background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x; border-top: 1px solid #ddd; } +.calendar-cancel a { padding: 2px; color: #999; } + +ul.timelist, .timelist li { list-style-type: none; margin: 0; padding: 0; } +.timelist a { padding: 2px; } + diff --git a/papillon/polls/static/textareas.js b/papillon/polls/static/textareas.js new file mode 100644 index 0000000..fec83b8 --- /dev/null +++ b/papillon/polls/static/textareas.js @@ -0,0 +1,27 @@ +/* base function shared by some pages */ +/* Copyright (C) 2009 Étienne Loks + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +See the file COPYING for details. +*/ + +tinyMCE.init({ + mode : "textareas", + theme : "advanced", + relative_urls : false, + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,hr,separator,link", + theme_advanced_buttons2 : "", + theme_advanced_buttons3 : "" +}); diff --git a/papillon/static/bg.jpg b/papillon/static/bg.jpg deleted file mode 100644 index 61fc9b8..0000000 Binary files a/papillon/static/bg.jpg and /dev/null differ diff --git a/papillon/static/styles.css b/papillon/static/styles.css deleted file mode 100644 index 9bcf4d2..0000000 --- a/papillon/static/styles.css +++ /dev/null @@ -1,395 +0,0 @@ -/* -Copyright (C) 2008-2011 Étienne Loks - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -See the file COPYING for details. -*/ - -@media only screen and (max-width: 600px){ - #main{ - width:100% !important; - background:white !important; - border:0px !important; - } - - .new_poll{ - width:100% !important; - } - .new_poll *{ - padding:0 !important; - margin:0!important; - } -} - -/* colors */ - -body, #poll th, .highlight{ - background-color:#98c93c; -} - -a, .comments .author{ - color:#287028; -} - -h1, h1 a, .form_description{ - background-color:#287028; -} - -/**/ - -body{ -margin:0; -font-size:12px; -font-family: Arial, Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif; -} - -pre{ -font-size:12px; -font-family: Arial, Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif; -} - -h1, h2, h3, h4, h5 { -font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; -font-weight:normal; -} - -h1, h1 a{ -margin:0; -margin-top:2px; -border:1px solid black; -border-right:None; -border-left:None; -color:white; -padding-left:10px; -font-size:32px; -text-decoration:None; -} - -h2{ -font-style:italic; -border-bottom:1px dashed black; -margin-left:10px; -padding:0; -font-size:24px; -} - -h2 a{ -color:black; -text-decoration:None; -} - -h2 a:hover{ -color:#808080; -} - -h3{ -margin:10px; -font-size:20px; -} - -h3 a{ -color:black; -text-decoration:None; -} - -h3 a:hover{ -color:#808080; -} - -p{ -padding:6px; -margin:6px; -max-width:600px; -} - -td{ -font-size:12px; -padding:4px; -} - -th{ -font-size:12px; -text-align:left; -} - -label{ -font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; -font-weight:normal; -font-style:italic; -} - -hr.spacer{ -clear:both; -height:0; -border:0; -} - -#main{ -background-color:white; -border:1px solid; -margin:auto; -background-image: url(bg.jpg); -background-repeat:no-repeat; -background-position:95% 10%; -width: 80%; -} - -#header{ -text-align:right; -font-size:11px; -color:#808080; -} - -#header #languages a{ -color:#808080; -padding-right:6px; -text-decoration:none; -} - -#footer{ -text-align:center; -font-size:11px; -color:#808080; -margin:6px; -} - -#footer a{ -color:#808080; -text-decoration:none; -} - -.alert, .error, .errorlist{ -color:blue; -} - -.new_poll{ - width:400px; - margin:auto; - padding:0; -} - -.help_button{ - float:right; - color:white; - background:green; - width:20px; - height:20px; - border-radius:25px; - text-align:center; -} - -th .help_button{ - width:14px; - height:14px; -} - -.help_button:hover{ - cursor: help; -} - -.field_label{ - clear:both; - font-size:1.5em; - width:100%; - float:none !important; - margin-top:10px; -} - -.new_poll table form tr { - margin:5px 0px !important; - padding:0px; -} - -.new_poll div, .new_poll input, .new_poll textarea, .new_poll table{ - width:100%; - margin:5px 0px; -} - -.new_poll div { - float:left; -} - -.errorlist, .error{ - color:red; - background-color:rgb(255,200,200); -} - -.datetime a img{ -border:0; -} - -.datetime input.vTimeField{ -width:68px; -} - -.datetime input.vDateField{ -width:75px; -} - -.form_description{ -color:white; -font-size:11px; -width:200px; -} - -a.arrow{ -text-decoration:None; -font-weight:bold; -} - -#content{ -margin:5px; -} - -#poll_table{ -overflow:auto; -overflow-y:visible; -text-align:center; -width:100%; -padding-bottom:16px; -display:block; -float:left; -} - -#poll{ -text-align:center; -margin:auto; -} - -#poll a{ -color:black; -} - -#poll td{ -border:1px solid black; -padding:0; -} - -#poll td.simple{ -border:None; -background-color:#FFF; -} - -#poll th{ -border:1px solid black; -padding:5px; -} - -#poll input{ -width:100px; -} - -#poll .OK{ -background-color:#9ec5d5; -} - -#poll .OKO{ -background-color:#b689d5; -} - -#poll .KO{ -background-color:#b9b3bd; -} - -#sum th{ -background-color:white; -border:None; -text-align:center; -} - -#sum td{ -border:None; -} - -.highlight{ -font-weight:bold; -} - -tr.highlighted_voter td{ -background-color:#808080; -color:white; -} - -.footnote{ -font-size:0.9em; -padding:10px; -} - -.footnote p{ -padding:0; -margin:2px; -} - -.poll-description{ -margin:4px; -padding:4px; -border:1px solid #d3d3d3; -} - -.poll-description p{ -margin:0; -padding:2px; -} - - -ul.comments{ -list-style-type:None; -margin:4px; -padding:0; -} - -.comments li{ -margin:4px; -padding:4px; -border:1px solid #d3d3d3; -} - -.comments .author{ -margin:0; -padding:0; -} - - -/* CALENDARS & CLOCKS IMPORTED FROM ADMIN */ - -.calendarbox, .clockbox { margin: 5px auto; font-size: 11px; width: 16em; text-align: center; background: white; position: relative; border: 1px solid #444; } -.clockbox { width: auto; } -.clockbox h2 { margin: 0; font-size: 13px; border-bottom: 1px solid #222; padding: 3px; background-color: #EEE; } - -.calendar { margin: 0; padding: 0; } -.calendar table { margin: 0; padding: 0; border-collapse: collapse; background: white; width: 100%; } -.calendar caption, .calendarbox h2 { margin: 0; font-size: 12px; text-align: center; border-top: none; background-color: #EEE; } -.calendar caption { height: 18px; font-weight: bold; } -.calendar th { font-size: 10px; color: #666; padding: 2px 3px; text-align: center; background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x; border-bottom: 1px solid #ddd; } -.calendar td { font-size: 11px; text-align: center; padding: 0; border-top: 1px solid #eee; border-bottom: none; } -.calendar td.selected a { background: #C9DBED; } -.calendar td.nonday { background: #efefef; } -.calendar td.today a { background: #ffc; } -.calendar td a, .timelist a { display: block; font-weight: bold; padding: 4px; text-decoration: none; color: #444; } -.calendar td a:hover, .timelist a:hover { background: #4A0010; color: white; } -.calendar td a:active, .timelist a:active { background: #CCC; color: white; } -.calendarnav { font-size: 10px; text-align: center; color: #ccc; margin: 0; padding: 1px 3px; } -.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover { color: #999; } -.calendar-shortcuts { background: white; font-size: 10px; line-height: 11px; border-top: 1px solid #eee; padding: 3px 0 4px; color: #ccc; } -.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next { display: block; position: absolute; font-weight: bold; font-size: 12px; background: #AAA url(../img/admin/default-bg.gif) bottom left repeat-x; padding: 1px 4px 2px 4px; color: white; } -.calendarnav-previous:hover, .calendarnav-next:hover { background: #4A0010; } -.calendarnav-previous { top: 0; left: 0; } -.calendarnav-next { top: 0; right: 0; } -.calendar-cancel { margin: 0 !important; padding: 0; font-size: 10px; background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x; border-top: 1px solid #ddd; } -.calendar-cancel a { padding: 2px; color: #999; } - -ul.timelist, .timelist li { list-style-type: none; margin: 0; padding: 0; } -.timelist a { padding: 2px; } - diff --git a/papillon/static/textareas.js b/papillon/static/textareas.js deleted file mode 100644 index fec83b8..0000000 --- a/papillon/static/textareas.js +++ /dev/null @@ -1,27 +0,0 @@ -/* base function shared by some pages */ -/* Copyright (C) 2009 Étienne Loks - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -See the file COPYING for details. -*/ - -tinyMCE.init({ - mode : "textareas", - theme : "advanced", - relative_urls : false, - theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,hr,separator,link", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "" -}); -- cgit v1.2.3