From: Frédéric Péters Date: Wed, 8 Jul 2020 07:23:52 +0000 (+0200) Subject: move static & templates to panikweb project directory X-Git-Tag: v2021~149 X-Git-Url: https://git.0d.be/?p=panikweb.git;a=commitdiff_plain;h=4d7a9be82c839071d54634549a6f53bb7effd3a2 move static & templates to panikweb project directory --- diff --git a/panikweb/settings.py b/panikweb/settings.py index 44d48bb..9bcb2fc 100644 --- a/panikweb/settings.py +++ b/panikweb/settings.py @@ -114,7 +114,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ - os.path.join(PROJECT_DIR, 'panikweb_templates'), + os.path.join(PROJECT_DIR, 'panikweb', 'templates'), ], 'APP_DIRS': True, 'OPTIONS': { @@ -156,7 +156,6 @@ INSTALLED_APPS = ( 'haystack', 'taggit', 'gadjo', - 'panikweb_templates', 'panikweb.paniktags', 'sorl.thumbnail', 'ckeditor', diff --git a/panikweb/static/css/_general.scss b/panikweb/static/css/_general.scss new file mode 100644 index 0000000..2632afa --- /dev/null +++ b/panikweb/static/css/_general.scss @@ -0,0 +1,497 @@ +/******************/ +/*HTML TAG DISPLAYS */ +/******************/ +body { + font-family: "RegloNormal"; + line-height: normal; + text-align: left; + margin:2.8em auto 0 auto; + /*padding: 0px 10px;*/ + clear: both; +} +code,pre{ + display:block; + overflow:auto; + padding:0.5em; + background:black !important; + color:white !important; + font-family:monospace; +} +audio { + display:block; + width: 90%; + margin:0.5em auto 1em auto; +} + +a { + color:inherit; + text-decoration: none; +} +.userContent a:hover { + text-decoration: underline; +} +a.block:hover,nav a:hover{ + text-decoration: none; +} +button, .button{ + margin:0 0 0 0; + padding: 0 0 0 0; + cursor:pointer ; + background:none; +} +img {max-width:100%;} +img.logo{border:2px solid black;} + +header{ + padding:0 0 2em 0; + font-family: 'RegloBold'; +} +h1, h2, h3, h4, h5{ + font-family: 'RegloBold'; + line-height:1em; + padding:0.2em 0 0.2em 0; +} +h1, h2, h3, h4{ + text-transform: uppercase; +} +h1 { font-size: 6em;} +h2 { font-size: 4em;} +h3 { font-size: 3em;} +h4 { font-size: 1.8em;} +h5 { font-size: 1.1em;} + +/*Specific rules for text writen by final users */ +.userContent h1 { font-size: 2em;} +.userContent h2 { font-size: 1.9em;} +h1, h2, h3, h4, .squashed{ + font-family: 'RegloScale'; + } + +nav{ + padding:0em; + font-family: "RegloBold"; + text-transform: uppercase; +} +hr { + height: 0; + margin:0.5em 0 0.5em 0; + padding:0; + border-style:solid; + border-width:2px 0 0 0 ; + border-color:black; +} +table{ + margin:auto; + table-layout:fixed; +} +table,td,tr { + padding:0; + margin:0; + word-wrap: break-word; + text-overflow: ellipsis; + text-align: center; + vertical-align: middle; + border: 1px solid #D0D0D0; + border-collapse:collapse; +} +th { + white-space: nowrap; + text-transform: uppercase; +} +tr{ +} +p { + /*line-height: 1.2;*/ + margin-bottom: 1em; +} +p a { + text-decoration: underline +} + +em { + font-family: "RegloBold"; + font-style: normal; +} +strong{ + text-transform: uppercase;} +blockquote { + padding: 1em; + font-style:italic; +} + +dl{} +dt, dd{ + letter-spacing:1px; + line-height: 150%; +} +dt { + float:left; + font-family: "RegloBold"; + margin-right: 0.3em; +} +dd { + font-family: "RegloNormal"; +} + +dt:after { + content: ":"; +} + +dl.metadata dt { + clear: none; + margin: 0; +} + +dl.metadata dd { + margin-right: 4px; + } + +button {display:inline-block;} +button { + font-family: "RegloBold"; + text-transform: uppercase; +} +ul, ol, dl { + margin: 0; + padding: 0 0 0 2em; +} +nav ul, ul.inline, ul.custom, ul.custom li{ + list-style: none; + margin: 0; + padding: 0; +} +nav ul li, ul.inline li{ + display:inline; +} +ul.list{ + list-style-type:square; /*Not working but why?*/ + list-style-position:inside; +} +ul.list > li{ + padding:0.5em 0 0.5em 0; + border-bottom:1px solid #ccc; +} + +/******************/ +/*USEFULL CLASSES */ +/******************/ + +.sr-only { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; +} + +ul.distributed{ + display:table; + width:100%; + text-align:center; + margin:0; + padding:0; + border-collapse:collapse; +} +ul.distributed li{ + display:table-cell; + text-align:center; +} +ul.distributed.by2 li{ + width:50%; +} +ul.distributed.by3 li{ + width:33%; +} +ul.distributed.by4 li{ + width:25%; +} +ul.distributed.by5 li{ + width:20%; +} +ul.distributed.by6 li{ + width:16.6666%; +} +ul.distributed.by7 li{ + width:14.285%; +} + +a.active, button.active{ + font-weight:bold; + text-decoration:none; + border-bottom: 2px solid; +} +.active *{ + font-weight:inherit; +} + +.todo:hover, .todo *:hover{ + text-decoration: line-through; + color:red !important; +} + + +.focusFade { + -webkit-transition-property: color; + -webkit-transition-duration: 0.2s; + -webkit-transition-timing-function: ease; + } + +.extra-margin { + margin-bottom: 16px; +} +.ellipsis{ + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.block {display:block;} +.inBlock{display:inline-block;} +.right{float:right;margin-left:1em;} +.left{float:left;margin-right:1em;} +.userContent .right, .userContent .left{ + margin-bottom:1.5em; +} +img.right, img.left{max-width:50%;} +.smooth{opacity:0.5;} +.hidden{display:none;} +.invisible{visibility:hidden;} +.padded{padding:1.5em;} +.marged{margin:1.5em 0 1.5em 0;} + +.small{ font-size: 80%;} +.big{ font-size: 150%;} +.huge{ font-size: 200%;} + +.absolute{ + position:absolute; +} +.relative{ + position:relative; +} +.nowrap { + white-space: nowrap; +} +.center{ + text-align:center; + margin-left:auto; + margin-right:auto; +} + +.loading{ + -webkit-animation: loading 1s infinite linear; + -moz-animation: loading 1s infinite linear; + -o-animation: loading 1s infinite linear; + animation: loading 1s infinite linear; +} +@-webkit-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} +@-moz-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} +@-o-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} +@keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} + +.spinning { + position:relative; + /* + -webkit-animation: rotation 10s infinite linear; + -moz-animation: rotation 10s infinite linear; + -o-animation: rotation 10s infinite linear; + animation: rotation 10s infinite linear; + */ +} +@-webkit-keyframes rotation { + from {-webkit-transform: rotate(0deg);} + to {-webkit-transform: rotate(359deg);} +} +@-moz-keyframes rotation { + from {-moz-transform: rotate(0deg);} + to {-moz-transform: rotate(359deg);} +} +@-o-keyframes rotation { + from {-o-transform: rotate(0deg);} + to {-o-transform: rotate(359deg);} +} +@keyframes rotation { + from {transform: rotate(0deg);} + to {transform: rotate(359deg);} +} +.vertical { + -webkit-transform: rotate(-90deg); + -moz-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + -o-transform: rotate(-90deg); + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); +} +.columns{column-gap: 0; -webkit-column-gap: 0; -moz-column-gap: 0;} +.columns.padded{column-gap: 2em; -webkit-column-gap: 2em; -moz-column-gap: 2em;} +.columns li{ + display:inline-block; + width:100%; + column-break-inside: avoid; + -moz-column-break-inside: avoid; + -webkit-column-break-inside: avoid; + break-inside: avoid-column; + -webkit-break-inside: avoid-column; + -moz-break-inside: avoid-column; +} +@media only screen and (min-width: 600px) { + .columns{column-count: 2; -webkit-column-count: 2; -moz-column-count: 2;} +} +.columns.by3{column-count: 3; -webkit-column-count: 3; -moz-column-count: 3;} + +/* And the rest is Eric & Seb, AGPLv3*/ + +label, select, input, button, textarea{ + font-size:inherit; +} +label { + margin-right:1em; + height: 1.2em; + display: inline-block; + text-transform: uppercase; +} + +select { + height: 1.2em; + -webkit-appearance: none; + -moz-appearance: window; +} + +select[multiple], +select[size] { + height: auto; + background-image: inherit; +} + +input[type=date] { + -webkit-appearance: none; + -moz-appearance: window; +} + +select, select option { + height: 1.2em; + text-transform: none; +} + +input, select { + height: 1.2em; + background: #fff; + border: 1px inset #aaa; +} + + +input[type=text], textarea{ + width: 100%; + max-width:10em; + display: inline-block; + border:2px solid black; + border-radius:0.2em; + -moz-border-radius:0.2em; + -webkit-border-radius:0.2em; +} + +input[type=submit] { + text-align: left; + border: none; +} + +/** + * For modern browsers + * 1. The space content is one way to avoid an Opera bug when the + * contenteditable attribute is included anywhere else in the document. + * Otherwise it causes space to appear at the top and bottom of elements + * that are clearfixed. + * 2. The use of `table` rather than `block` is only necessary if using + * `:before` to contain the top-margins of child elements. + */ +.cf:before, .cf:after { + content: " "; /* 1 */ + display: table; /* 2 */ +} + +.cf:after { + clear: both; +} + +/** + * For IE 6/7 only + * Include this rule to trigger hasLayout and contain floats. + */ +.cf { + *zoom: 1; +} + +/* icons */ + +@font-face { + font-family: 'FontAwesome'; + src: url('/static/xstatic/fonts/fontawesome-webfont.eot'); + src: url('/static/xstatic/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('/static/xstatic/fonts/fontawesome-webfont.woff') format('woff'), url('/static/xstatic/fonts/fontawesome-webfont.ttf') format('truetype'), url('/static/xstatic/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* FONT AWESOME CORE + * -------------------------- */ +[class^="icon-"], +[class*=" icon-"] { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + text-decoration: inherit; + -webkit-font-smoothing: antialiased; + *margin-right: .3em; +} +[class^="icon-"]:before, +[class*=" icon-"]:before { + text-decoration: inherit; + display: inline-block; + speak: none; +} +/* makes sure icons active on rollover in links */ +a [class^="icon-"], +a [class*=" icon-"] { + display: inline; +} + +/* reglo symbols variants */ +[class^="icon-"].resymbol, +[class*=" icon-"].resymbol { + font-family: Symbols; +} + +/* specific icon classes */ +.icon-archive:before { content: "\f187"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-calendar:before { content: "\f073"; } +.icon-check:before { content: "\f046"; } +.icon-check-empty:before { content: "\f096"; } +.icon-chevron-sign-left:before { content: "\f137"; } +.icon-chevron-sign-right:before { content: "\f138"; } +.icon-comments:before { content: "\f086"; } +.icon-double-angle-left:before { content: "\f100"; } +.icon-download:before { content: "\f01a"; } +.icon-envelope:before { content: "\f0e0"; } +.icon-file:before { content: "\f15b"; } +.icon-globe:before { content: "\f0ac"; } +.icon-headphones:before { content: "\f025"; } +.icon-home:before { content: "\f015"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-microphone:before { content: "\f130"; } +.icon-pause:before { content: "\f04c"; } +.icon-play:before { content: "\f04b"; } +.icon-play-sign:before { content: "\f144"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-question-sign:before { content: "\f059"; } +.icon-remove:before { content: "\f00d"; } +.icon-rss:before { content: "\f09e"; } +.icon-search:before { content: "\f002"; } +.icon-share:before { content: "\f045"; } +.icon-step-backward:before { content: "\f048"; } +.icon-step-forward:before { content: "\f051"; } +.icon-stop:before { content: "\f04d"; } +.icon-trash:before { content: "\f014"; } +.icon-volume-up:before { content: "\f028"; } diff --git a/panikweb/static/css/_grid.scss b/panikweb/static/css/_grid.scss new file mode 100644 index 0000000..ce2f0de --- /dev/null +++ b/panikweb/static/css/_grid.scss @@ -0,0 +1,54 @@ +form.quixote div.grid { + float: left; + box-sizing: border-box; + padding-right: 1em; + clear: none; +} + +@each $i in 1, 2, 3, 4, 6, 12 { + @for $j from 1 through $i { + div.cell.grid-#{$j}-#{$i}, + div.dataview div.grid-#{$j}-#{$i}, + form.quixote div.grid-#{$j}-#{$i} { + clear: none; + &.newline { + clear: both; + } + } + div.grid-#{$j}-#{$i} { + float: left; + box-sizing: border-box; + padding-right: 1em; + width: (100*$j/$i+0%); + @media screen and (max-width: $mobile-limit) { + @if $i == 4 and $j <= 2 { width: 50%; } + @else if $i == 4 and $j > 2 { width: 100%; } + @else if $i == 6 and $j <= 2 { width: (100/3+0%); } + @else if $i == 6 and $j == 3 { width: 50%; } + @else if $i == 6 and $j <= 5 { width: (200/3+0%); } + @else if $i == 6 and $j == 6 { width: 100%; } + @else if $i == 12 and $j <= 4 { width: (100/3+0%); } + @else if $i == 12 and $j <= 7 { width: 50%; } + @else if $i == 12 and $j <= 11 { width: (200/3+0%); } + @else if $i == 12 and $j == 12 { width: 100%; } + } + @media screen and (max-width: $very-small-limit) { + width: 100%; + } + textarea, select, input[type=text], input[type=password], input[type=email] { + width: 100%; + } + } + form div.grid-#{$j}-#{$i} + h3, + form div.grid-#{$j}-#{$i} + h4, + form div.grid-#{$j}-#{$i} + p, + form div.grid-#{$j}-#{$i} + div { + clear: both; + } + } +} + +form div[class*=grid-] span.select2-selection, +form div[class*=grid-] div.select2-container { + width: 100% !important; +} diff --git a/panikweb/static/css/_reset.scss b/panikweb/static/css/_reset.scss new file mode 100644 index 0000000..4cf6899 --- /dev/null +++ b/panikweb/static/css/_reset.scss @@ -0,0 +1,206 @@ +/** + * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) + * http://cssreset.com + */ +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, button, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + /*font: inherit;*/ + color:inherit; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} + +h1, h2, h3, h5, h6 { + font-weight: normal; +} +button{background:none;border:none;} +button:focus::-moz-focus-inner, +button::-moz-focus-inner, +input[type="reset"]::-moz-focus-inner, +input[type="button"]::-moz-focus-inner, +input[type="submit"]::-moz-focus-inner, +input[type="file"] > input[type="button"]::-moz-focus-inner { + border: 0px dotted transparent; +} +/* The following code is taken from Normalize.css, + * available under the MIT License: + * + * Copyright (c) Nicolas Gallagher and Jonathan Neal + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + */ + +// ========================================================================== +// Forms +// ========================================================================== + +// + + +// +// 1. Correct `color` not being inherited in IE 8/9. +// 2. Remove padding so people aren't caught out if they zero out fieldsets. +// + +legend { + border: 0; // 1 + padding: 0; // 2 +} + +// +// 1. Correct font family not being inherited in all browsers. +// 2. Correct font size not being inherited in all browsers. +// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. +// + +button, +input, +select, +textarea { + font-family: inherit; // 1 + font-size: 100%; // 2 + margin: 0; // 3 + border: none; +} + +// +// Address Firefox 4+ setting `line-height` on `input` using `!important` in +// the UA stylesheet. +// + +button, +input { + line-height: normal; +} + +// +// Address inconsistent `text-transform` inheritance for `button` and `select`. +// All other form control elements do not inherit `text-transform` values. +// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. +// Correct `select` style inheritance in Firefox 4+ and Opera. +// + +button, +select { + text-transform: none; +} + +// +// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` +// and `video` controls. +// 2. Correct inability to style clickable `input` types in iOS. +// 3. Improve usability and consistency of cursor style between image-type +// `input` and others. +// + +button, +html input[type="button"], // 1 +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; // 2 + cursor: pointer; // 3 +} + +// +// Re-set default cursor for disabled elements. +// + +button[disabled], +html input[disabled] { + cursor: default; +} + +// +// 1. Address box sizing set to `content-box` in IE 8/9. +// 2. Remove excess padding in IE 8/9. +// + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; // 1 + padding: 0; // 2 +} + +// +// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. +// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome +// (include `-moz` to future-proof). +// + +input[type="search"] { + -webkit-appearance: textfield; // 1 + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; // 2 + box-sizing: content-box; +} + +// +// Remove inner padding and search cancel button in Safari 5 and Chrome +// on OS X. +// + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +// +// Remove inner padding and border in Firefox 4+. +// + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +// +// 1. Remove default vertical scrollbar in IE 8/9. +// 2. Improve readability and alignment in all browsers. +// + +textarea { + overflow: auto; // 1 + vertical-align: top; // 2 +} + diff --git a/panikweb/static/css/_specifics.scss b/panikweb/static/css/_specifics.scss new file mode 100644 index 0000000..cae6371 --- /dev/null +++ b/panikweb/static/css/_specifics.scss @@ -0,0 +1,2123 @@ +/* COLORS */ + +$black: #000000; +$white: #FFFFFF; +$primary: #FF7E83; +$secondary: #0062CB; + +/****************************************************/ +/* FONTS */ + +.resymbol:hover,.control:hover{ opacity:0.5; } +.date, .dateBloc { + font-family: "Reglo"; + text-transform: uppercase; +} +.inline .date, .resume .date{ + text-align: center; +} +.dateBloc{width:4em; + text-align: center;} +.dateBloc{display:inline-block;} +.dateBloc *{line-height: 100%;} +.dateBloc .day {font-size: 1.8em;} +.dateBloc .number {font-size: 1.8em;} +.dateBloc .month {font-size: 0.8em;} +.dateBloc .time {font-size: 1.2em;margin: 0.2em 0;} + +.dateBloc.small{ + font-size: 80%; +} + +.date.smooth { + text-transform: none; + font-size: 100%; + font-family: RegloNormal; +} + +.tabs .ui-tabs-nav { + font-family: "Reglo"; + text-transform: uppercase; +} +.legend{ + font-family: "Reglo"; + font-size:1.2em; + border-bottom:3px solid black; + padding: 0.2em 0 0.2em 0; + margin: 0.2em 0 0.2em 0; +} +#Main .sectionLabel{ + margin-bottom:1em; +} + +.sectionLabel, .label { + text-transform: uppercase; + font-family: "Reglo"; + font-size:1.3em; +} + +.rightPart .right.sectionLabel { + text-transform: none; + border-bottom: 1px solid black; + padding-bottom: 3px; +} + +h5.focus-title { + color: $secondary; +} + +.rightPart #search-form { + text-align: right; + margin-bottom: 2em; +} + +.label.relative{ + background-color:black; + position: absolute; + left:10px; + top:-5px; + color:white; + padding:5px 7px 0px 7px; +} + +/****************************************************/ +/* WRAPPER */ +/****************************************************/ +.wrapper {max-width: 1560px; padding:0 1%;} +.wrapper.text {max-width: 780px; margin:auto;} +.wrapper .rightPart{margin-top:1em;} + +@media screen and (min-width: 760px) { + #player-container.fixed { + position: fixed; + top: 60px; + width: calc(0% + 235px); + } + .wrapper .rightPart{ + margin-top:0; + } + .wrapper.sided .leftPart, + .wrapper.sided .rightPart{ + width:45%; + } + .wrapper.navigation .leftPart{ + width:60%; + } + .wrapper.navigation .rightPart{ + width:35%; + } + .wrapper .leftPart{ + float:left; + } + .wrapper .rightPart{ + float:right; + } + #specialHome { + padding-left: 0; + } + /* + #specialHome .leftPart, + #specialHome .rightPart { + width: 100%; + } + */ + p.intro { + padding-top: 0px; + padding-bottom: 40px; + } +} + + +button.control, button.symbol{background:transparent;border:none;margin:0;padding:0;} +nav.menu{ + width:100%; + text-align: justify; + text-justify: distribute-all-lines; +} +nav.menu li{ + display: inline-block; + margin-right:2em; +} + +button.tag, a.tag{ + font-size:0.9em; + background:white; + font-family: "RegloBold"; + text-transform: uppercase; + display:inline-block; + border: 1px solid #CCC !important; + color:#342E2E; + margin: 0.2em; + padding: 0.3em; + border-radius: 0.7em; + -moz-border-radius: 0.7em; + -webkit-border-radius: 0.7em; +} +button.check, a.check { + font-size:0.9em; + text-transform: none; + display:inline-block; + margin: 0.2em; + padding: 0.3em; +} + +.category{ + font-family: "RegloBold"; + text-transform: uppercase; +} +button.check:before, a.check:before { + display:inline-block; + width:1.5em; +} +.box{ + padding:0.2em 0.5em 0.2em 0.5em; + border-radius: 0.2em; + -moz-border-radius: 0.2em; + -webkit-border-radius: 0.2em; + background:#222; + color:#fff; +} +.ui-tooltip { + border:1px solid white; + position:absolute; + margin:0; + padding: 0.5em; + background:#222; + color: white; + z-index: 9999; + max-width: 50%; + background: white; + color: #222; + border-color: #222; +} +/****************************************************/ +/**** BODY ****/ +/****************************************************/ +body{ + background: white; + color: #333; +} +/****************************************************/ +/**** metaNAV ****/ +/****************************************************/ + +#metaNav { + color: #e8e8e8; + background-color: #3a3a3a; + position:fixed; + z-index:1000; + top:0px; + width:100%; + font-size: 90%; +} +#metaNav ul{ +} +#metaNav ul li{ + float: left; + padding: 0 1em; + white-space: nowrap; + text-overflow: ellipsis; + overflow:hidden; +} + +#metaNav ul li#nav-search { + float: right; +} + +#metaNav ul li a{ + height: 3em; + line-height: 3em; + display:block; +} + +#metaNav ul li#nav-language span { + cursor: pointer; + height: 3em; + line-height: 3em; + display: inline-block; +} + +#metaNav ul li#nav-language span.lang-on { + color: white; +} + +#metaNav ul li a span{ + display:inline-block; +} + +#metaNav ul li a span.nav-icon { +} + +#metaNav a:focus, #metaNav a:hover{ + opacity:0.8; +} +#metaNav ul li.active, #metaNav ul li.active a{ + color: white; +} + +#metaNav ul li.active span.iconLabel { +} + +#metaNav li#nav-search a { + display: inline; +} + +#metaNav form { + display: inline-block; + padding-top: 0.2em; +} + +#metaNav input { + border: 1px solid #ececec; + width: 10em; +} + +.icon-rss { + color: orange; +} + +@media screen and (max-width:760px){ + #bg-title { display: none; } + #metaNav .iconLabel {display:none;} + #metaNav ul li a span.nav-icon { display: inline-block; } + #metaNav ul li { + padding: 0; + } + #metaNav ul li a { + padding: 0 1em; + } + #metaNav form { + display: none; + } + #metaNav ul li#nav-language { + padding: 0.2em 0 0 1em; + } + div#Changing { + margin: 0 5px; + } +} +@media screen and (max-width:400px){ + #metaNav ul li#nav-language { + padding: 0.2em 0 0 1ex; + } + #metaNav ul li a { + padding: 0 0.8em; + } +} + +/****************************************************/ +/**** Commons ****/ +/****************************************************/ + +.audio button {color:$primary !important;} +/****************************************************/ +/**** HEADER ****/ +/****************************************************/ + +/* PANIK LOGO */ +#Commons{ + position: relative; + z-index: 5; +} +#Commons .wrapper{ +} +#mainHeader { + padding-bottom:1em; +} +#mainHeader { + font-size:70%; +} +#mainHeader *{color:black !important;line-height:1em;} +#mainHeader #radioPanik{} + +#Panik img{display:block;margin:auto;max-height:200px;} +#mainHeader h1{ + padding-left:75px; +} +#player-container #player{ + padding:0 0 0 0; + min-width: 240px; +} + +#Changing h1.top a:hover { + opacity: 1.0; +} + +@media screen and (max-width: 760px) { + #All h1.top { + font-size: 60px; + padding: 0; + padding-top: 10px; + text-align: center; + } + #specialHome .leftPart h1.top { + display: none; + } + #specialHome .leftPart h2 { + padding-top: 10px; + text-align: center; + } +} + +@media screen and (min-width: 760px) { + #Commons { + float: left; + width: 20%; + width: -webkit-calc(0% + 240px); + width: -moz-calc(0% + 240px); + width: calc(0% + 240px); + } + #Changing { + position: relative; + float: right; + width: 78%; + width: -webkit-calc(100% - 280px); + width: -moz-calc(100% - 280px); + width: calc(100% - 280px); + } + #All h1.top { + font-size: 120px; + font-family: RegloScale; + text-transform: uppercase; + padding-left: 0; + padding-top: 2rem; + padding-bottom: 0; + } + + #metaNav { + padding-top: 2px; + } + #metaNav .nav-icon { + display: none !important; + } + + ul#ticker { + margin-bottom: 10px; + } + + #News div.mainSub, + #About div.mainSub, + #Emissions div.mainSub { + position: absolute; + top: 50px; + left: 320px; + width: 60%; + width: calc(98% - 320px); + } + + #News div.mainSub ul, + #About div.mainSub ul, + #Emissions div.mainSub ul { + padding: 0; + font-family: Reglo; + font-weight: normal; + } + + #News div.mainSub ul li, + #About div.mainSub ul li, + #Emissions div.mainSub ul li { + } + + #News .news.wrapper { + padding: 0; + } + + #News .news.wrapper li a { + margin-left: 0; + padding-left: 0; + } + + #Nav header.marged, + #Main > .marged { + margin: 0; + } + + #Related .wrapper, + #Main > .wrapper, + #Main > .soundfiles > .wrapper, + #Main > .news > .wrapper, + #Nav > .wrapper { + padding-left: 0; + } + + #All #Nav nav ul { + margin-top: 0; + } + + #Related .padded, + div.program.padded { + padding-top: 0; + padding-left: 0; + } + + div.program.padded { + padding-top: 1.5em; + } + + #fiber-content h2.title { + margin-top: 0; + padding-top: 0; + } + +} + +#backgroundBox { + background: transparent center 40px no-repeat url(../img/Radio_Panik_Logo_2016-01.png); +} + +#All #backgroundBox h1.top { + font-size: 50px; + padding-left: 10px; + width: 200%; +} + +#backgroundBox h1 { + color: $primary !important; +} + +#All h1.top#radiopanik { + padding-top: 0; + color: black !important; + padding-bottom: 30px; + height: 130px; +} + +#All #backgroundBox h1 { + visibility: hidden; +} + + +#specialHome div.rightPart h1, +div.focus { + color: $secondary; +} + +h1.top#frequence { + color: $primary; +} + +/****************************************************/ +/**** SCREEN NAV ****/ +#Nav nav{padding:0.1em;} + +#Nav input{color:#333;} +#Nav ul li button, +#Nav ul li a { + border-width:0 0 2px 0; + border-style: solid; + border-color: transparent; +} + +#Nav .current, +#Nav .active,#Nav .icon-check,#Nav .active *{ + font-weight: normal; +} + +#Nav .selected a, +#Nav ul li.current a, #Nav ul a.active, #Nav button.active { + border-color: #333; +} + +#Nav nav{ + margin:0; +} + +#specialHome h2, +#Nav h2{ + margin:0; + padding:0; +} +#Nav nav ul{ + margin:1em 0 1em 0; +} + +#Nav li { + padding-right: 1em; +} + +#Nav li a{ + display: inline-block; +} +#Nav nav ul.distributed li {padding: 0;} + +#fiber-nav{ + font-size:150%; + border-width:0 0 2px 0;border-style:solid; +} +#fiber-nav li, #fiber-nav li a{ + display:block; +} +#fiber-nav ul{ + padding:0.5em; +} +#fiber-nav li a{ + padding:0.5em; +} +#fiber-nav .selected > a, +#fiber-nav .current { + font-weight:bold; +} + +/****************************************************/ +/**** PLAYER ****/ +/****************************************************/ +/*#Home #player{ float: left; } */ + +#player-container, + #player-container *{border-color:$primary !important;color:$primary !important;} + +#player-container .metas, #player-container img{border-color:#fff;} +#player-container .padded{padding:0.3em;} + +#player-container button,#player-container a{ +} +#player-container .metas{ + float:right; +} +#DirectStreamPanikControler { + display:inline !important; +} +#chatSymbol, +#streamSymbol{ + font-size:3em; + float:left; + margin-right:5px; + position: relative; + z-index: 10; + top: -6px; +} +#CurrentlyPlaying{ + padding:0 0 0 0; +} + +#Player.withPlaylist #player-container #Playlist{ + border-top:2px solid black; +} +#Player.withPlaylist #player-container #Playlist{ + margin-top: 1em; + padding-top: 1em; +} + +#player-container #myPlaylist { + clear: both; + padding: 1em 0 0 0; + height: auto; +} + +#player-container #myPlaylist a { + margin-right: 30px; + white-space: normal; + padding-bottom: 1ex; +} + +#player-container.minimized{ + width:auto; + border-width:0px 2px 2px 0 !important; + border-bottom-right-radius:1em; + -moz-border-bottom-right-radius:1em; + -webkit-border-bottom-right-radius:1em; +} +#player-container.minimized #player{ + padding:0; +} + +/*Playlist*/ + +#Playlist #playlistLabel{ + float:right; + +} +#Playlist .playListControls{ +} +#Playlist .playListControls button{ + margin-right:0.5em; + display:inline-block; +} +#Playlist .playListControls .playPause{ + font-size:3em; + margin-right:5px; + float:left; + position: relative; + top: -8px; +} + +#Playlist .playing .icon-pause{ + -webkit-animation: loading 1s infinite linear; + -moz-animation: loading 1s infinite linear; + -o-animation: loading 1s infinite linear; + animation: loading 1s infinite linear; +} +#Playlist .playlistControls button,#Playlist .playlistControls .button{ + margin:0 0.1em 0 0.1em; +} +#Playlist li{ + clear:right; +} +#Playlist .soundControls button{} + +#player-container #Playlist ol{ + clear:right; + padding:0; + margin-left: 50px; +} +#player-container #Playlist ol li{ + line-height:1.3em; + padding:0; + margin:0; +} +#Playlist ol li .soundControls{ + line-height:1.5em; + height:1.5em; + clear:right; + float:right; +} +#Playlist ol li .title{ + margin-right:70px; + display:block; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +#player .active{ + text-transform:uppercase; + font-weight:bold; +} +/*limit height of playlist*/ +#player #CurrentlyPlaying, + #player-container #Playlist ol{ + opacity:0.9; + padding-top:0.2em; + height:auto; + overflow: hidden; +} + +@media screen and (max-width: 760px) { + #backgroundBox { + background-position: center 30px; + background-size: 130px; + } + #All h1.top#radiopanik { + height: 80px; + } + #Player{ + margin-top:1em; + } + #Player.withPlaylist #player-container #audioPlayer, + #Player.withPlaylist #player-container #audioPlayer, + #Player.withPlaylist #player-container #Playlist{ + float:none !important; + width:auto !important; + border-right:none !important; + max-width:auto !important; + } + + #player.on-chat-page { + display: none; + } + + div.chat-page .rightPart { + font-size: 95%; + margin-top: 4em; + padding-top: 1em; + border-top: 1px solid #777; + } + +} + +/****************************************************/ +/**** #Changing #Footer ... ****/ +/****************************************************/ +#Changing{ + display: flex; + flex-direction: column; + min-height: 97vh; +} + +#Main{ + flex-grow: 1; + color:#333; + position: relative; + z-index: 1; +} +#Main >.wrapper{ + padding-bottom:2em; +} +#Home #Main{ + min-height:0; +} +#Changing a:hover,#Changing button:hover { + opacity:0.6; + text-decoration:none; +} +/* GLOBAL SITE NAV */ +#userLog{ + z-index:2000; + position: fixed; + bottom: 0px; + right: 0px; +} +#userLog .log{ + margin:0.3em; + -moz-box-shadow: 0px 0px 3px #000; + -webkit-box-shadow: 0px 0px 3px #000; + box-shadow: 0px 0px 3px #000; + border-radius:0.5em;-moz-border-radius:0.5em;-webkit-border-radius:0.5em; + text-align:center; + padding: 0.3em; + font-size:0.9em; + color:black; + background-color:$primary; + border: 2px solid black; + background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent); +} +#userLog .log.info{ + background-color:grey; + color:white; +} +#userLog .log.ok{ + background-color:green; + border-color:black; + color:white; +} +#userLog .log.error{ + background-color:$primary; + border-color:yellow; +} +#main {} +#mainLegend{ + width:30%; + text-align:right; + float:right; + padding:1em; +} + +#Footer{ + border-top:2px solid #333; + padding-top: 2em; + padding-bottom: 80px; + position: relative; + z-index: 3; +} + +#Footer ul { +} + +#Footer ul li { + padding-right: 2em; +} + +#Footer a:hover { + opacity:0.6; +} + + +/****************************************************/ +.inline .link{display:block;padding:1em;} +/**** Liste ****/ +/**** EMISSIONS ****/ +#Emission .emission-detail .title{} +/* +*/ +#Emission-tabs-menu .sub{ + margin-bottom:1em; +} +/**** Detail ****/ +.emission-detail .metas{ + line-height:1.5em; + float: left; + width: 49%; + margin-top: 0; +} + +.emission-detail h4.subtitle { + margin-top: 1em; + font-weight: normal; + font-family: 'Reglo'; + text-transform: none; + float: left; +} + +.emission-detail ul.schedule { + margin-top: 0; + margin-bottom: 1em; + } + +.emission-detail ul.schedule .weekdiff { + font-size: 80%; +} + +.emission-detail article { + clear: both; +} + +.emission-detail .logo{ + float:right; + width: 50%; + margin-bottom: 1ex; +} +@media screen and (max-width: 300px) { + .emission-detail .metas { + float: none; + width: auto; + margin: 0; + } + .emission-detail .logo{max-width:100%;} +} +.emission .mainHeader { + overflow: hidden; + margin-bottom:1.5em; +} + +.emission .contacts { + clear: both; +} + +/**** Inline ****/ +.emission.inline, .emission.resume { + padding:1em 0 1em 0; +} + +.emission.inline div.date { + min-height: 3em; + text-align: center; + display:inline-block; + float:left; + margin-right:1em; +} +.emission .archived { + opacity:0.6; +} + +.emission .link .description { + margin: 0px 0 5px 0; + font-family: "RegloMedium"; +} + + +/**** EPISODE ****/ +/**** Detail ****/ + +.episode .tag{ +} +.episode.resume, .episode.inline{ + padding:1em 0.5em 1em; +} +.episode.inline .dateBloc, .episode.resume .dateBloc{ + float:left; +} +.episode.resume img { + border: 2px solid black; +} + +.episode.resume .title{ + margin-bottom:0.5em; +} +.episode.resume .logo{ + float: right; +} +.topik-link .logo, +.episode.inline .logo { + min-height: 50px; + float: left; + margin-right: 1em; +} +.episode.resume .sound{ + float:right; + margin:0 0 0.5em 0.5em; +} +.episode.inline .sound.right{ + text-align:center; + font-size:70%; + position: relative; + z-index: 10; +} +.episode.inline .sound.right button{ + font-size:1.5em; + display:inline; + text-align:center; + padding-bottom:0.05em; +} +.episode.resume .sound.right .icon-download{ + text-align:center; +} +.episode.resume .sound.right .icon-download{ + display:block; +} + +.big.icon-pause, +.big.icon-stop, +.big.icon-share { + display: inline-block; + vertical-align: middle; +} + +.episode.detail .logo.right{ + max-width:50%; +} + +.episode.resume .date .day, .emission-detail .date .day { +} + +.episode.resume .content { + padding-left: 5em; +} +.episode.resume .content .title { +} + +.episode.resume .logo { + margin:0 0 1em; + max-width:20%; +} +.episode.inline .date{ + font-size:80%; +} + +#Emission-tabs-menu .emissions-newsitems { + margin-bottom: 2em; +} + +#Emission-tabs-menu .emissions-newsitems ul.list li { + border: 0; +} + +#Emission-tabs-menu .futur-episodes h5, +#Emission-tabs-menu .recent-episodes h5 { + font-size: 1.2em; +} + +#Emission-tabs-menu #search-form { + margin-bottom: 1em; +} + +div.extra-soundfiles h3 { + margin-top: 1em; + font-size: 2.5em; +} + +div.extra-soundfiles ul li { + position: relative; +} + +div.extra-soundfiles ul li div.audio { + display: inline; + top: 5px; + right: 0; + position: absolute; + font-size: 60%; +} + +div.extra-soundfiles ul strong { + padding-right: 3em; +} + +@media screen and (max-width: 400px) { + .episode .dateBloc{ + width:4em; + font-size:80% + } + + .episode.resume .content { + padding-left: 4em; + } +} + +/****************************************************/ +/**** News ****/ + +#newsRoll { + max-width: 500px; +} + +#newsRoll li { + background: white; +} + +.newsRoll .title{ + background:black; + color:white; + bottom:0px; + opacity:0.9; + width:100%; + text-align: left; + font-family: "RegloBold"; + position: absolute; + left: 0; +} +.newsRoll .title div{ + padding: 1em; +} +.newsRoll a, .newsRoll button img{ + border:3px solid $secondary; +} + +.newsRoll .by3 button { + width: 100%; +} + +.soundfiles .special a, +.news .special a { + position: relative; +} + +.special .labels .item, +.newsRoll .labels .item{ + display:block; + background: $secondary; + color:white; + margin:0.1em; + font-size:0.9em; + padding:0.3em; +} +.newsList .current a{ + opacity:0.5; +} +/****************************************************/ +.list.news li { +} + +.soundfiles ul.custom li a, +.news ul.custom li a { max-width: 98%; } +.news li.item a {padding:1em;} + +.logo img{ + display:block; + border-style:solid; + border-width:3px; +} +ul.newsSpecial{ + border-bottom:3px solid #ccc; +} +@media only screen and (max-width: 970px) { + .columns {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;} +} + + +/****************************************************/ +/**** Home & ****/ +/****************************************************/ + +#Home #Nav .wrapper{ + max-width:auto !important; + width:auto !important; +} + +/* +@media screen and (max-width:800px){ + #Home .newsRoll .logo{ + max-width:100px; + } +} +@media screen and (max-width:600px){ + #Home .newsRoll .logo{ + max-width:50px; + } +} +*/ + +/****************************************************/ +/**** PROGRAM ****/ +/****************************************************/ + +.program.tabs nav ul li{ + display:table-cell; + width:14%; + text-align:center; +} + +.program.tabs nav ul li.week-arrow { + width: 1%; + padding-bottom: 5px; +} + +.program ul .dateBloc { + float:left; + padding-top:1em; +} +.program ul .schedule { + margin-left:5em; +} +.program .nonstop { + text-align:left; +} +.program-week .programDate{ + float:left; + width:3em; +} +.program-week .programCell{ + margin-left:3.5em; +} +.program-week .nonStop .programDate{ + visibility:hidden; +} +.program-week .nonStop .programCell{ + font-size:0.9em; + padding-left:50%; + text-align:right; +} +.program-week a.nonstop{ + font-size:0.9em; + margin:0.1em; +} +.program-week .inline,.program-week .resume{padding:0;} +.program-week .description{} + +.program-week .title { + color: black; + display: inline; +} + +.program-week .smooth { + color: #666; + opacity: 1.0; + font-size: 80%; + padding-bottom: 8px; +} + +.program-week .emission h5, +.program-week .smooth .title { + color: #333; + text-transform: uppercase; +} + +.program-week .description { + color: black; + font-size: 90%; +} + +.program-week .programCell:hover { + opacity: 0.5; +} + +#Changing .program-week .programCell a { + opacity: 1.0; +} + +#Changing .program-week .programCell .smooth a { + opacity: 0.5; +} + +#Changing .program-week .programCell .smooth h5 a { + opacity: 1.0; +} + + +/****************************************************/ +/**** SEARCH ****/ +/****************************************************/ + +.search li.previous-page { + margin-bottom: 2ex; + text-align: left; + margin-left: 0ex; + font-style: italic; +} + +.search li.next-page { + margin-top: 2ex; + text-align: right; + margin-right: 0; + font-style: italic; +} + +.search-filters { + text-align: justify; +} + + +/****************************************************/ +/**** GRILLE ****/ +/****************************************************/ + +#grid #Main {} +#grid th{ + color:#000; +} +#grid .heure { + height:50px !important; +} +#grid .heure.vertical { + padding:1.5em 0; +} +#grid .day { + padding:1em 0 1em 0; +} +#grid .nonstop { +} +#grid .item{ + padding:0.5em 0.2em 0.5em 0.2em; +} +#grid .cell hr { + border:1px dotted #ddd; + margin:0.3em; +} +#grid .time-label{ + margin-top:0.5em; +} + +#grid .highlighted,#grid .highlighted *{ + background:#333 !important; + color:white !important; +} + +#grid .highlighted,#grid .highlighted *{ + background:#333 !important; + color:white !important; +} +#Emissions li.item.normal{ + display:none; +} +#Emissions li.item.hightlighted{ + display:block !important; +} + +#gridNav span.category { + text-transform: none; +} + + +/**** Navigation for static pages ****/ + +#fiber-nav { + font-size: 150%; +} +#fiber-nav li, #fiber-nav li a { + display: block; +} +#fiber-nav ul{ + padding: 0.5em; +} +#fiber-nav li a{ + padding:0.5em; +} + +#fiber-content a { + text-decoration: underline; +} + +#fiber-content .episode a, +#fiber-content ul.list a { + text-decoration: none; +} + +#fiber-content a:hover { + text-decoration: none; +} + +.intro, +.userContent, +#fiber-content, +.content, +.content h5 { + line-height: 120%; +} + +.userContent strong, +#fiber-content strong { + text-transform: none; + font-family: "RegloBold"; + font-style: normal; +} + +.userContent em, +#fiber-content em { + font-family: inherit; + font-style: italic; +} + +/**** SCREEN SIZE ADAPTATIONS ****/ + html #main{ font-size: 70%; } +body { font-size: 18px;} +@media (max-width: 300px){ + body #All{ font-size: 80%; } +} + +@media (min-width: 300px) and (max-width:800px){ + body #All{ font-size: 85%; } +} + +@media (min-width: 700px) and (max-width:1000px){ + body #All{ font-size: 90%; } +} + +@media (min-width: 1000px) { + body #All{ font-size: 100%; } +} + +#subscribe-form { + position: relative; + margin-bottom: 2em; + padding-bottom: 2em; +} + +#Home #subscribe-form { + margin-bottom: 0; +} + +#subscribe-form ul.errorlist { + position: absolute; + bottom: -2em; + text-align: center; + display: block; + width: 100%; + padding: 0; + list-style: none; + color: #800; +} + +#subscribe-form input { + width: 15em; + max-width: none; +} + +#Nav div.search form { + padding: 1em 0; +} + +div.episode.resume div.title { + white-space: normal; +} + +#Home div.program.tabs { + margin: 1em 0; +} + +nav#program li { + display: block; + margin: 0; +} + +#recent-emissions, +#recent-news, +#recent-sounds { + margin-top: 2em; +} + +#recent-emissions h3, +#recent-news h3, +#recent-sounds h3 { + font-size: 140%; +} + +#recent-emissions h3.sectionLabel { + margin-bottom: 0; +} + +.episode.soundfile { + padding: 0; +} + +.soundfile .smooth { + color: #666; + opacity: 1.0; + font-size: 80%; +} + + +.soundfile p.date { + margin: 0; +} + +.frontpage.soundfile .audio { + font-size: 80%; + padding-top: 0.5ex; + padding-bottom: 1ex; +} + +#panikdb { + position: absolute; + top: -20px; + right: 0px; + background: white; + color: #888; + padding: 5px 10px; + border: 1px solid #888; + border-width: 1px 1px 0 1px; + -webkit-transform-origin: bottom right; + -webkit-transform: rotate(270deg); + -moz-transform-origin: bottom right; + -moz-transform: rotate(270deg); + transform-origin: bottom right; + transform: rotate(270deg); +} + +img.logo.right { + margin-bottom: 1em; +} + +.soundfile .special, +.newsitem .special { + margin-bottom: 2em; +} + +.newsitem .special .smooth { + padding-top: 5px; +} + +/* USER CONTENT */ + +div.userContent ul { + margin: 1em 0; +} + +div.userContent h1, +div.userContent h2, +div.userContent h3, +div.userContent h4 { + text-transform: none; + font-family: "Reglo"; + font-weight: normal; +} + +div.userContent h1 { font-size: 2em; } +div.userContent h2 { font-size: 1.8em; } +div.userContent h3 { font-size: 1.5em; } +div.userContent h4 { font-size: 1.5em; } +div.userContent a { text-decoration: underline; } + +div.userContent a.tag { text-decoration: none; } + +@media screen and (max-width: 760px) { + #streamSymbol{ + top: 0; + } + #MainHeader { + margin: 0 auto; + } + #All #backgroundBox h1.top { + width: 94%; + } + + #Player.withoutPlaylist #player-container #audioPlayer{ + margin:auto; + width:100%; + } + #Player.withoutPlaylist #player-container #audioPlayer #Live{ + font-size:150%; + } + + + #player-container { width:100%;left:0;border-width: 2px 0 0 0;border-style:solid;} + #player-container{ + background: $primary; + } + #player-container * {color: white !important; } + #player-container{ + z-index:500; + position:fixed; + width:100% !important; + /*top:2em;*/ + font-size:80%; + bottom:0em; + border-bottom:none; + } + #Player.withPlaylist #player-container #audioPlayer{ + float:left; + width:50%; + border-right:2px solid black; + } + #Player.withPlaylist #player-container #Playlist{ + float:right; + width:49%; + text-align:left; + } + #player-container #myPlaylist { + padding: 0; + } + + #player-container #myPlaylist a { + white-space: nowrap; + } + + #player-container #Playlist ol{ + margin-left: 30px; + } +} + +div.emission-logo { + margin-left: 1em; +} + +div.extra-soundfiles { + clear: both; +} + +h3.episode-subtitle { + font-size: 2.5em; +} + +.waveform { + display: none; + position: relative; +} + +.waveform span { + background: #3A3A3A; + background: rgba(10, 10, 10, 0.8); + display: inline-block; + width: 0.50%; +} + +.waveform span.done { + background: linear-gradient(to top, #3A3A3A 0%, #858585 80%); +} + +.waveform span.done.current + span { + background: $primary; +} + +.waveform i.duration { + position: absolute; + right: 4px; + bottom: 4px; + color: $primary; + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; + font-style: normal; + font-weight: bold; +} + +span.timestamp { + cursor: pointer; + border-bottom: 1px dotted #666; +} + +div.fragment-sound { + position: relative; +} + +div.soundcell div.logo { + vertical-align: top; +} + +div.fragment-sound { +} + +div.extra-soundfiles div.fragment-sound { + margin-top: 5px; +} + +div.extra-soundfiles div.fragment-name { + font-style: italic; + position: relative; + top: 1ex; + max-width: 70%; +} + +div.extra-soundfiles ul li div.fragment-sound div.waveform { +} +div.extra-soundfiles ul li div.fragment-sound div.audio { + bottom: 0; +} + +#fiber-content div.extra-soundfiles strong { + text-transform: uppercase; + +} + +.nonstop-track-title, .nonstop-track-artist { + font-size: 80%; +} + +.soundfile-info { + padding-right: 75px; +} + +#fiber-content div.extra-soundfiles .soundfile-info strong { + padding-right: 0; +} + +#fiber-content div.extra-soundfiles .soundfile-info a { + text-decoration: none; +} + +#fiber-content div.extra-soundfiles { + margin: 1em 0; +} + +div.extra-soundfiles div.logo { + display: inline-block; +} + +div#fiber-content div.extra-soundfiles ul.list { + display: inline-block; + width: 88%; + width: calc(100% - 74px); +} + +div.download-links { + position: absolute; + z-index: 1000; + text-align: right; +} + +div.hidden-download-links { + display: none !important; +} + +div.episode-detail div.sound div.download-links { + display: inline-block; + padding-top: 1ex; + padding-left: 3em; +} + +div.extra-soundfiles div.download-links { + background: white; +} + +h1.top a.dimmed { + opacity: 0.7; +} + +div#agenda div.content-inline { + margin-bottom: 1em; +} + +div.previous-and-next-months { + margin-top: 1em; +} + +div.publication-date.date.smooth { + font-size: 80%; +} + +#All h1.top.fullwidth { + width: 150%; +} + +div.gallery img { + padding: 2px; + background: white; + border: 1px solid #333; +} + +div#dialog-background, +div.gallery div.first { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.9); + z-index: 1000; + text-align: center; +} + +div.gallery div.first img { + padding: 5px; + padding-bottom: 25px; + margin-top: -240px; + margin-left: -320px; + position: absolute; + top: 50%; + left: 50%; + transition: all 0.5s ease; + transform-origin: bottom left; +} + +div.portrait div.gallery div.first img { + margin-top: -320px; + margin-left: -240px; +} + +div.gallery { + border-bottom: 1px solid #ccc; +} + +div.gallery span.gallery-legend { + display: inline-block; + position: absolute; + top: 50%; + margin-top: 250px; + left: 0%; + width: 100%; + color: #000; + z-index: 1000; +} + +div.portrait div.gallery span.gallery-legend { + margin-top: 330px; +} + +div.gallery span.image { + display: inline-block; + cursor: pointer; +} + +@media screen and (max-width: 640px) { + div.portrait div.gallery div.first img, + div.gallery div.first img { + max-width: 80vw; + margin: 0; + max-height: 80vh; + left: 10vw; + top: 10vh; + display: inline-block; + } +} + +ul.tags { + padding-top: 1em; + clear: both; +} + +a.topik-link { + clear: both; + display: block; + margin-top: 1em; +} + +#fiber-content div.topikcellcontent a { + text-decoration: none; + height: 500px; +} + +#fiber-content div.cell.topik-large a { + height: auto; +} + +div.topikcellcontent h5 { + padding-top: 1ex; +} + +div.topik-large div.topikcellcontent a { + width: 100%; + float: none; + display: inline-block; + text-align: left; +} + +div.topik-large div.topikcellcontent img { + width: 100%; + display: block; +} + +div.topik-large div.topikcellcontent a div { + @media screen and (min-width: 760px) { + display: flex; + } + margin-top: 1ex; + h2 { + margin-top: 0; + white-space: nowrap; + margin-right: 1ex; + @media screen and (max-width: 760px) { + padding-bottom: 0; + } + } +} + +div.topikcellcontent a { + margin-bottom: 2em; + display: inline-block; + text-align: left; + width: 50%; + box-sizing: border-box; + padding-right: 2em; + float: left; +} + +div.topikcellcontent img { +} + +div.topikcellcontent h2 { + font-size: 3.5em; +} + +@media only screen and (min-width: 1250px) { + div.topikcellcontent a { + display: inline-block; + text-align: left; + width: 50%; + float: left; + } +} + +.program-week img.smooth { + padding-bottom: 0; +} + +div#dialog-background { + display: flex; +} +div#dialog-embed { + position: relative; + background: white; + width: 50%; + margin: auto; + text-align: left; + padding: 1ex; +} + +div#dialog-embed textarea { + width: 100%; + max-width: none; +} + +div#dialog-embed #close-button { + position: absolute; + right: 1ex; +} + +body#embed { + min-height: auto !important; + margin: 0; + background: white; +} + +body#embed #Main { + background: transparent; +} + +body#embed #Commons, +body#embed #metaNav, +body#embed #Footer, +body#embed #userLog, +body#embed #panikdb, +body#embed #Player { + display: none; +} + +body#embed #Changing { + float: none; + width: auto; +} + +body#embed #Main > .wrapper { + padding: 0; +} + +body#embed .logo { + padding-top: 4px; +} + +body#embed ul.custom { + display: inline-block; + width: calc(100% - 72px); +} + +body#embed ul.custom .soundfile-info { + padding: 1ex; +} + +body#embed span.fragment-title { + font-weight: normal; +} + +table.playlist { + width: 90%; +} + +table.playlist td { + padding: 0.5ex; + text-align: left; +} + +table.playlist td.tracktime { + width: 6ex; + text-align: center; +} + +p.playlist-disclaimer { + margin-top: 2em; + max-width: 60ex; + font-style: italic; +} + + +#main-topiks #fiber-nav li ul { + padding-top: 0; + padding-left: 2em; +} +#main-topiks #fiber-nav li ul li { + padding-left: 0; + font-size: 80%; +} + +#main-topiks #fiber-nav li ul li a { + padding-left: 0; +} + +div.commands { + display: flex; + width: 90vw; +} + +@media screen and (min-width:760px){ + div.commands { + width: calc(90vw - 240px); + } +} + +input#msg { + flex-grow: 1; +} + +div.chat-area { + max-width: 60em; +} + +#chat { + margin-top: 1ex; +} + +#chat div.msg { + position: relative; + margin-bottom: 1ex; + transition: opacity 1s ease; +} + +#chat div.msg.new { + opacity: 0; +} + +#chat div.msg.msg-out span.content { + font-size: 90%; + color: #444; +} + +#chat span.from { + display: inline-block; + width: 10rem; + overflow: hidden; + text-overflow: ellipsis; + color: #888; + position: absolute; +} +#chat span.content { + display: inline-block; + padding-left: 11rem; +} + +#chat div.msg.info span.content { + padding-left: 1rem; + font-style: italic; + color: #666; +} + +@media screen and (max-width: 760px) { + #chat span.from { + display: block; + position: static; + width: auto; + } + #chat span.content { + display: block; + padding-left: 2rem; + } +} + +h1.top > span.chat.with-logo { + position: relative; + left: 140px; + display: inline-block; + max-width: calc(100% - 140px); +} + +div.top-logo { + position: absolute; + top: 30px; +} + +div.top-logo img { + border: 2px solid black; +} + +@media screen and (max-width:760px){ + div.top-logo { + display: none; + } + h1.top > span.chat.with-logo { + position: static; + max-width: none; + } + div.topikcellcontent a { + width: auto; + } + #fiber-content div.topikcell a { + height: auto; + } +} + +div#CurrentlyChatting { + cursor: pointer; + margin-top: 1em; +} + +div.description-emission-chat { + margin-bottom: 2em; +} + +div.chatPart h3 { + padding-top: 0; +} + +div#chat.moderation .msg-in span.from { + cursor: pointer; +} + +div#chat.moderation .msg-in span.from:hover::after { + padding-left: 1ex; + font-family: FontAwesome; + content: "\f056"; + font-size: 80%; +} + +div.programCell a.playlist { + font-size: 80%; +} + +#bg-title { + display: none; + color: lighten($primary, 20); + font-family: 'Reglo'; + text-transform: uppercase; + line-height: 100%; + font-size: 250px; + font-size: 25vh; + position: absolute; + left: -260px; + top: 48vh; + z-index: 0; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: default; +} + +.rightPart .menucell { + ul { + list-style: none; + padding: 0; + li { + padding-bottom: 1rem; + } + } +} + +div#loading-page { + position: fixed; + top: 0; + left: 0; + right: 0; + height: 5px; + background: $secondary; + z-index: 1100; + animation-name: load_animation; + animation-duration: 6000ms; + animation-timing-function: ease-out; + transition: opacity 200ms linear; + &.fade { + opacity: 0; + } +} + +@keyframes load_animation { + 0% { right: 100%; } + 100% { right: 0%; } +} + +.episode-auto-selection-cell.hide-emission-titles { + .emission-title, .soundfile-info .sep { + display: none; + } +} diff --git a/panikweb/static/css/_type.scss b/panikweb/static/css/_type.scss new file mode 100644 index 0000000..5a4e581 --- /dev/null +++ b/panikweb/static/css/_type.scss @@ -0,0 +1,133 @@ +@font-face { + font-family: 'RegloNormal'; + src: url('../reglo/RE01.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RegloMedium'; + src: url('../reglo/RE02-Medium.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RegloBold'; + src: url('../reglo/RE03-Bold.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RE04'; + src: url('../reglo/RE04-Bold.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RE05'; + src: url('../reglo/RE05-Bold.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RegloSymbol'; + src: url('../reglo/RE06.otf'); + font-weight: normal; + font-style: normal; + line-height: 0 !important; +} + +@font-face { + font-family: 'Reglo'; + src: url('../reglo/Reglo-Bold.otf'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Symbols'; + src: url('../reglo/RESYMBOL-resized.otf'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'SymbolsResized'; + src: url('../reglo/RESYMBOL-resized.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'RegloScale'; + src: url('../reglo/RegloScaleBold.otf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Montserrat'; + src: url('../fonts/Montserrat-Regular.ttf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Montserrat'; + src: url('../fonts/Montserrat-Bold.ttf'); + font-weight: bold; + font-style: normal; +} + +[class^="icon-"], +[class*=" icon-"]{ + /*font-size:1.3em;*/ +} +.resymbol{ + vertical-align: middle; + display: inline-block; + font-family: 'Symbols'; +} +.resymbol.big, .icons.big{ + font-size:2em; +} +.resymbol.huge, .icons.huge{ + font-size:3em; +} +.info:before,.warning:before,.error:before{ + font-family: FontAwesome; + display:inline-block; + margin-right:0.2em; +} +.info:before { + content: "\f05a"; +} +.warning:before { + content: "\f071"; +} +.error:before { + content: "\f056 "; +} +.checked:before { + content: "\f056 "; +} + +.icon-communautaire:before { + content: "▲"; /* ▴ */ +} +.icon-musique:before { + content: "△"; /* ▵ */ +} +.icon-creation:before { + content: "○"; /* ○ */ +} +.icon-agenda-culturel:before { + content: "●"; /* ● */ +} +.icon-infodebats:before { + content: "■"; /* ■ */ + /*content: "□ "; □ */ +} + diff --git a/panikweb/static/css/style.scss b/panikweb/static/css/style.scss new file mode 100644 index 0000000..e54f583 --- /dev/null +++ b/panikweb/static/css/style.scss @@ -0,0 +1,8 @@ +$very-small-limit: 400px; +$mobile-limit: 760px; + +@import 'reset'; +@import 'type'; +@import 'general'; +@import 'grid'; +@import 'specifics'; diff --git a/panikweb/static/fonts/Montserrat-Bold.ttf b/panikweb/static/fonts/Montserrat-Bold.ttf new file mode 100644 index 0000000..ae33a45 Binary files /dev/null and b/panikweb/static/fonts/Montserrat-Bold.ttf differ diff --git a/panikweb/static/fonts/Montserrat-Regular.ttf b/panikweb/static/fonts/Montserrat-Regular.ttf new file mode 100644 index 0000000..5b4b5af Binary files /dev/null and b/panikweb/static/fonts/Montserrat-Regular.ttf differ diff --git a/panikweb/static/img/LogoPanik.jpg b/panikweb/static/img/LogoPanik.jpg new file mode 100644 index 0000000..ff4bc8d Binary files /dev/null and b/panikweb/static/img/LogoPanik.jpg differ diff --git a/panikweb/static/img/Radio_Panik_Logo_2016-01.png b/panikweb/static/img/Radio_Panik_Logo_2016-01.png new file mode 100644 index 0000000..3bcd0ec Binary files /dev/null and b/panikweb/static/img/Radio_Panik_Logo_2016-01.png differ diff --git a/panikweb/static/img/actu.png b/panikweb/static/img/actu.png new file mode 100644 index 0000000..76e39e2 Binary files /dev/null and b/panikweb/static/img/actu.png differ diff --git a/panikweb/static/img/defaultLogo.png b/panikweb/static/img/defaultLogo.png new file mode 100644 index 0000000..5e5d18d Binary files /dev/null and b/panikweb/static/img/defaultLogo.png differ diff --git a/panikweb/static/img/emission.png b/panikweb/static/img/emission.png new file mode 100644 index 0000000..b71efb2 Binary files /dev/null and b/panikweb/static/img/emission.png differ diff --git a/panikweb/static/img/episode.png b/panikweb/static/img/episode.png new file mode 100644 index 0000000..7ec7cad Binary files /dev/null and b/panikweb/static/img/episode.png differ diff --git a/panikweb/static/img/favicon-16.png b/panikweb/static/img/favicon-16.png new file mode 100644 index 0000000..30ef6a2 Binary files /dev/null and b/panikweb/static/img/favicon-16.png differ diff --git a/panikweb/static/img/favicon-32.png b/panikweb/static/img/favicon-32.png new file mode 100644 index 0000000..9bdbcff Binary files /dev/null and b/panikweb/static/img/favicon-32.png differ diff --git a/panikweb/static/img/favicon-48.png b/panikweb/static/img/favicon-48.png new file mode 100644 index 0000000..3c294b0 Binary files /dev/null and b/panikweb/static/img/favicon-48.png differ diff --git a/panikweb/static/img/favicon.png b/panikweb/static/img/favicon.png new file mode 100644 index 0000000..64aa09e Binary files /dev/null and b/panikweb/static/img/favicon.png differ diff --git a/panikweb/static/img/logo-2016.png b/panikweb/static/img/logo-2016.png new file mode 100644 index 0000000..b7c90da Binary files /dev/null and b/panikweb/static/img/logo-2016.png differ diff --git a/panikweb/static/img/logo-panik-500-invert.png b/panikweb/static/img/logo-panik-500-invert.png new file mode 100644 index 0000000..64ff785 Binary files /dev/null and b/panikweb/static/img/logo-panik-500-invert.png differ diff --git a/panikweb/static/img/logo-panik-500.png b/panikweb/static/img/logo-panik-500.png new file mode 100644 index 0000000..0aca001 Binary files /dev/null and b/panikweb/static/img/logo-panik-500.png differ diff --git a/panikweb/static/img/logo-panik.png b/panikweb/static/img/logo-panik.png new file mode 100644 index 0000000..90fd8ac Binary files /dev/null and b/panikweb/static/img/logo-panik.png differ diff --git a/panikweb/static/img/logo.jpg b/panikweb/static/img/logo.jpg new file mode 100644 index 0000000..7ec2a3d Binary files /dev/null and b/panikweb/static/img/logo.jpg differ diff --git a/panikweb/static/img/logoPanik.png b/panikweb/static/img/logoPanik.png new file mode 100644 index 0000000..57169b0 Binary files /dev/null and b/panikweb/static/img/logoPanik.png differ diff --git a/panikweb/static/img/logoPanikBW.png b/panikweb/static/img/logoPanikBW.png new file mode 100644 index 0000000..7820f3c Binary files /dev/null and b/panikweb/static/img/logoPanikBW.png differ diff --git a/panikweb/static/img/sound.png b/panikweb/static/img/sound.png new file mode 100644 index 0000000..f3ec86e Binary files /dev/null and b/panikweb/static/img/sound.png differ diff --git a/panikweb/static/js/audioPlayer.js b/panikweb/static/js/audioPlayer.js new file mode 100644 index 0000000..3f039c3 --- /dev/null +++ b/panikweb/static/js/audioPlayer.js @@ -0,0 +1,293 @@ +(function($) { + var thePlaylist; + $.widget( "panik.playlist", { + /* + sound = { + source :{ + ogg:"oggURL", + mp3:"mp3URL" + }, + emission: "episode.slug", + episode: "episode.slug", + id:"" + } + */ + options: { + playlist: [], + html5audioOptions:{controls:true,preload:"none"}, + classes: "", + itemClasses: "", + controlContainer: $('
'), + playlistContainer: $('
    '), + onLoad: function(){}, + onAdd: function(){}, + onPlay: function(){}, + onUpdate: function(){}, + }, + _create: function() { + // Initialization logic here + thePlaylist = this; + this.isActive = false; + this.isLastAdd = false; + this.controlButtons = [] + this.debugContainer = $('
    ').hide();
    +			this.controlContainer = this.options.controlContainer;
    +			this.playlistContainer = this.options.playlistContainer;
    +			this.element.addClass(this.options.classes);	
    +			this.element.append(this.controlContainer);	
    +			this.element.append(this.playlistContainer);
    +			this.element.append(this.debugContainer);
    +			this.playlist = this.options.playlist;
    +			this.buildPlaylistControls();
    +			this.loadPlaylist();
    +			this._update();
    +			this.options.onLoad(this);
    +		},
    +
    +		_setOption: function( key, value ) {
    +			this.options[ key ] = value;
    +			this._update();
    +		},
    +		_update: function() {	
    +			this.playlist = [];	
    +			this.playlistContainer.find('audio').each(function(){
    +				thePlaylist.playlist.push(thePlaylist.jsonifyAudio($(this)));
    +			});
    +			this.debugContainer.text(
    +		 		JSON.stringify(this.playlist, null, '\t')
    +			);
    +			this.savePlaylist();
    +			this.options.onUpdate(this);
    +			return this.playlist;
    +		},
    +		_reset: function() {	
    +			this.isActive =false;
    +			this.stopSounds();
    +			this.playlistContainer.find('*').remove();
    +			this._update();
    +		},
    +		savePlaylist: function(){
    +			var JSONPlaylist = JSON.stringify(this.playlist, null, '\t');
    +			if (localStorage !== null && localStorage !== undefined) {
    +				localStorage['playlist'] = JSON.stringify(this.playlist, null, '\t');
    +			}
    +		},
    +		loadPlaylist: function(){
    +			if (localStorage !== null && localStorage !== undefined) {
    +				this.playlist = localStorage['playlist']?JSON.parse(localStorage['playlist']):this.playlist;
    +			}
    +			$.each(this.playlist,function(k,v){
    +				thePlaylist.playlistContainer.append(thePlaylist._htmlifyJsonSound(v));
    +			});
    +			return this.playlist;
    +		},
    +		// Transform HTML5 
+ + + +
+
+ +{% else %} + +

+Ce chat n'est pour le moment pas ouvert. +

+ +{% endif %} + + + + +
+

Quelques règles de bonne conduite quand même.

+

+ Ici comme ailleurs on est des grandes personnes, on évite les + propos injurieux, sexistes, homophobes, racistes, etc. +

+

+ On garde la violence pour l'état. +

+

+ En cas de problème, n'hésitez pas à contacter le conseil + d'administration de la radio, ca-panik@radiopanik.org. +

+
+ + + +{% endblock %} +{% block links %} +{% endblock %} + diff --git a/panikweb/templates/combo/cells/alimentation/episode_auto_selection.html b/panikweb/templates/combo/cells/alimentation/episode_auto_selection.html new file mode 100644 index 0000000..d66216c --- /dev/null +++ b/panikweb/templates/combo/cells/alimentation/episode_auto_selection.html @@ -0,0 +1,34 @@ +{% load paniktags thumbnail staticfiles %} +{% if title and episodes %}

{{title}}

{% endif %} +{% for episode in episodes %} +
+ +
+ {% if episode.main_sound %} +
{% audio sound=episode.main_sound %}
+ {% endif %} + + {% if episode.text %} +
+ {{ episode.text|safe|striptags|truncatewords:35 }} +
+ {% endif %} +
+
+{% endfor %} diff --git a/panikweb/templates/combo/cells/topik-large/link-cell.html b/panikweb/templates/combo/cells/topik-large/link-cell.html new file mode 100644 index 0000000..482ace7 --- /dev/null +++ b/panikweb/templates/combo/cells/topik-large/link-cell.html @@ -0,0 +1,18 @@ +{% load thumbnail %} + diff --git a/panikweb/templates/combo/cells/topik/link-cell.html b/panikweb/templates/combo/cells/topik/link-cell.html new file mode 100644 index 0000000..886a490 --- /dev/null +++ b/panikweb/templates/combo/cells/topik/link-cell.html @@ -0,0 +1,18 @@ +{% load thumbnail %} + diff --git a/panikweb/templates/combo/gallerycell.html b/panikweb/templates/combo/gallerycell.html new file mode 100644 index 0000000..49451a9 --- /dev/null +++ b/panikweb/templates/combo/gallerycell.html @@ -0,0 +1,28 @@ +{% load thumbnail %} +{% if cell.title %}

{{ cell.title }}

{% endif %} + diff --git a/panikweb/templates/combo/page_template_about.html b/panikweb/templates/combo/page_template_about.html new file mode 100644 index 0000000..40c46a6 --- /dev/null +++ b/panikweb/templates/combo/page_template_about.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% load combo %} + +{% block title %}{{ page.title }}{% endblock %} + +{% block toptitle %} +

À propos

+{% endblock %} + +{% block nav %} +
+
+ +
+
+{% endblock %} + +{% block main %} + + + +{% endblock %} diff --git a/panikweb/templates/combo/page_template_full_width.html b/panikweb/templates/combo/page_template_full_width.html new file mode 100644 index 0000000..4b3239f --- /dev/null +++ b/panikweb/templates/combo/page_template_full_width.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% load combo %} + +{% block title %}{{ page.title }}{% endblock %} + +{% block toptitle %} +

{{ page.title }}

+{% endblock %} + +{% block nav %} +
+
+{% endblock %} + +{% block main %} + +
+
+
{% placeholder "content" %}
+
+
+ +{% endblock %} diff --git a/panikweb/templates/combo/page_template_sidebar.html b/panikweb/templates/combo/page_template_sidebar.html new file mode 100644 index 0000000..03ceb98 --- /dev/null +++ b/panikweb/templates/combo/page_template_sidebar.html @@ -0,0 +1,40 @@ +{% extends "base.html" %} +{% load combo %} + +{% block title %}{{ page.title }}{% endblock %} + +{% block toptitle %} +

{{ page.get_parents_and_self.0.title }}

+{% endblock %} + +{% block nav %} +{% endblock %} + +{% block main %} + + + +{% endblock %} diff --git a/panikweb/templates/combo/topik_menu_item.html b/panikweb/templates/combo/topik_menu_item.html new file mode 100644 index 0000000..55a7028 --- /dev/null +++ b/panikweb/templates/combo/topik_menu_item.html @@ -0,0 +1,24 @@ +{% load combo paniktags thumbnail %} +
  • + +
  • diff --git a/panikweb/templates/emissions.html b/panikweb/templates/emissions.html new file mode 100644 index 0000000..21e9d09 --- /dev/null +++ b/panikweb/templates/emissions.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% load paniktags i18n %} +{% block bodyID %}Emissions{% endblock %} +{% block title %}Émissions{% endblock %} +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav with klass="emissions" %} + +{% endblock %} +{% block main %} +
    + +
    +
      + {% for emission in emissions %} +
    • {% emission_resume %}
    • + {% endfor %} +
    +
    +
    +{% endblock %} diff --git a/panikweb/templates/emissions/archives.html b/panikweb/templates/emissions/archives.html new file mode 100644 index 0000000..300a3e2 --- /dev/null +++ b/panikweb/templates/emissions/archives.html @@ -0,0 +1,11 @@ +{% extends "emissions.html" %} +{% load paniktags i18n%} +{% block bodyID %}Emissions{% endblock %} +{% block title %}Archives{% endblock %} +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav with klass="archives" %} + +{% endblock %} diff --git a/panikweb/templates/emissions/detail.html b/panikweb/templates/emissions/detail.html new file mode 100644 index 0000000..36e037c --- /dev/null +++ b/panikweb/templates/emissions/detail.html @@ -0,0 +1,49 @@ +{% load i18n paniktags %} +
    +
    + {% if schedules or emission.subtitle %} +
    + {% if schedules %} +
      + {% for schedule in schedules %} +
    • + {{ schedule.datetime|date:"l G:i" }} + {% if schedule.weeks_string %} + ({{ schedule.weeks_string }}) + {% endif %} + {% if schedule.rerun %} (rediff) {% endif %} +
    • + {% endfor %} +
    + {% endif %} + {% if emission.subtitle %} +

    {{ emission.subtitle }}

    + {% endif %} +
    + {% endif %} + {% if emission.image %} + + {% endif %} + + {% if emission.text %} + {{ emission.text|safe}} + {% endif %} +
    + {% if emission.email or emission.website %} +
    + {% if emission.email %} + + {% endif %} + {% if emission.website %} + + {% endif %} +
    + {% endif %} +
    + diff --git a/panikweb/templates/emissions/emission_detail.html b/panikweb/templates/emissions/emission_detail.html new file mode 100644 index 0000000..226dd17 --- /dev/null +++ b/panikweb/templates/emissions/emission_detail.html @@ -0,0 +1,129 @@ +{% extends "emissions.html" %} +{% load paniktags staticfiles i18n thumbnail %} +{% block bodyID %}Emissions{% endblock %} +{% block title %}{{ emission.title }}{% endblock %} + +{% block head %} + + +{% if emission.image %} + + + +{% else %} + + + +{% endif %} +{% if emission.subtitle %} + + +{% else %} + + +{% endif %} +{% endblock %} + +{% block podcasts-feed %} + +{% endblock %} + +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav %} +{% endblock %} +{% block main %} + +{% endblock %} + +{% block links %} +{% endblock %} + +{% block related %} +{% related_objects object=emission %} +{% endblock %} diff --git a/panikweb/templates/emissions/episode_detail.html b/panikweb/templates/emissions/episode_detail.html new file mode 100644 index 0000000..dc4f362 --- /dev/null +++ b/panikweb/templates/emissions/episode_detail.html @@ -0,0 +1,36 @@ +{% extends "emissions/emission_detail.html" %} +{% load paniktags staticfiles soundfiles %} +{% block title %}{{ episode.title }} - {{ episode.emission.title }} {% endblock %} + +{% block head %} + + +{% if episode.image %} + + + +{% elif episode.emission.image %} + + + +{% else %} + + + +{% endif %} +{% if episode.subtitle %} + + +{% else %} + + +{% endif %} +{% if episode.main_sound %} + + +{% endif %} +{% endblock %} + +{% block related %} +{% related_objects object=episode %} +{% endblock %} diff --git a/panikweb/templates/emissions/episodes.html b/panikweb/templates/emissions/episodes.html new file mode 100644 index 0000000..5bcae80 --- /dev/null +++ b/panikweb/templates/emissions/episodes.html @@ -0,0 +1,49 @@ +{% extends "emissions/emission_detail.html" %} +{% load paniktags %} +{% block nav %} + {% emission_nav klass "episodes" %} +{% endblock %} + +{% block main %} +
    + + {% if search_query and not episodes %} +
    Manque de pot, pas de résultats à cette recherche !
    + {% endif %} + + {% if search_query and episodes or episodes.count <= 24 %} + + {% else %} +
    + {% if episodes %} + {% with episodes as episodes %} + {% regroup episodes by first_diffusion|date:"F Y"|capfirst as month_list %} +
    + {% for month in month_list %} +
    +
    > {{ month.grouper }}
    +
      = 3 %}style="display:none;"{% endif %} + > + {% for episode in month.list %} +
    • {% episode_resume model="inline" date="daytime" %}
    • + {% endfor %} +
    +
    + {% endfor %} +
    + {% endwith %} + {% endif %} +
    + {% endif %} +
    +{% endblock %} diff --git a/panikweb/templates/emissions/nav.html b/panikweb/templates/emissions/nav.html new file mode 100644 index 0000000..e9fd833 --- /dev/null +++ b/panikweb/templates/emissions/nav.html @@ -0,0 +1,56 @@ +{% load i18n %} + +
    +
    + +
    +
    +{% if categories %} +
    + +
    +{% endif %} +{% if emission %} + + +{% endif %} diff --git a/panikweb/templates/emissions/newsitem_detail.html b/panikweb/templates/emissions/newsitem_detail.html new file mode 100644 index 0000000..ed46904 --- /dev/null +++ b/panikweb/templates/emissions/newsitem_detail.html @@ -0,0 +1,99 @@ +{% extends "news.html" %} +{% load i18n staticfiles paniktags %} +{% block title %}{{ newsitem.title }}{% endblock %} + +{% block toptitle %} +

    {% trans 'News' %}

    +{% endblock %} + +{% block head %} + + + + +{% if newsitem.image %} + + + +{% else %} + + + +{% endif %} +{% endblock %} + + +{% block main %} +
    + +
    +{% endblock %} + +{% block related %} +{% related_objects object=newsitem %} +{% endblock %} diff --git a/panikweb/templates/emissions/resume.html b/panikweb/templates/emissions/resume.html new file mode 100644 index 0000000..df832fe --- /dev/null +++ b/panikweb/templates/emissions/resume.html @@ -0,0 +1,39 @@ +{% load thumbnail staticfiles %} +
    + +
    diff --git a/panikweb/templates/emissions/search_result.html b/panikweb/templates/emissions/search_result.html new file mode 100644 index 0000000..f1f343e --- /dev/null +++ b/panikweb/templates/emissions/search_result.html @@ -0,0 +1,6 @@ + + + {{ result.title }} +
    + {% if result.subtitle %}{{ result.subtitle }}{% else %} {% endif %} +
    diff --git a/panikweb/templates/episodes/detail.html b/panikweb/templates/episodes/detail.html new file mode 100644 index 0000000..80d8c69 --- /dev/null +++ b/panikweb/templates/episodes/detail.html @@ -0,0 +1,93 @@ +{% load thumbnail paniktags %} +
    + {% if episode.first_diffusion %} +
    +
    +
    + {{ episode.first_diffusion|date:"D"|slice:":2"}} +
    +
    + {{ episode.first_diffusion|date:"d" }} +
    + {% if date != "daytime" %} +
    + {{ episode.first_diffusion|date:"M y" }} +
    + {% endif %} +
    + {{ episode.first_diffusion|date:"H:i" }} +
    +
    +
    + {% endif %} + {% if diffusions %} +
    +

    {{ episode.title }}

    + {% if episode.subtitle %} +

    {{ episode.subtitle }}

    + {% endif %} + {% if diffusions|length > 1 %} +
    Diffusions
    + {% else %} +
    Diffusion
    + {% endif %} +
      + {% for schedule in diffusions %} +
    • {{ schedule.datetime|date:"l d M Y à H:i" }}
    • + {% endfor %} +
    +
    + {% endif %} + {% if episode.main_sound %} +
    + {% audio sound=episode.main_sound %} +
    + {% endif %} +
    + {% if episode.image %} + {% thumbnail episode.image "640x480" crop="50% 25%" as im %} + + {% endthumbnail %} + {% endif %} + {% if episode.text %} +
    + {{ episode.text|safe}} +
    + {% endif %} +
    +{% block topik %} +{% for topik in topik_pages %} + {% topik topik=topik %} +{% endfor %} +{% endblock %} + +
    + {% if episode.serie or episode.auteur or episode.redif %} +
    + {% if episode.serie %}
    Serie
    {{ serie }}
    {% endif %} + {% if episode.auteur %}
    Auteur
    {{ auteur }}
    {% endif %} + {% if episode.redif %}
    Redifusion
    {{ redif }}
    {% endif %} +
    + {% endif %} + {% if episode.tags.all %} +
      + {% for tag in episode.tags.all %} +
    • {{ tag }}
    • + {% endfor %} +
    + {% endif %} +
    + + {% if soundfiles.count %} +
    +

    Fragments sonores

    +
      + {% for soundfile in soundfiles %} +
    • {{ soundfile.title }} {% audio sound=soundfile %} +
    • + {% endfor %} +
    +
    + {% endif %} + +
    diff --git a/panikweb/templates/episodes/inline.html b/panikweb/templates/episodes/inline.html new file mode 100644 index 0000000..0fa4534 --- /dev/null +++ b/panikweb/templates/episodes/inline.html @@ -0,0 +1,36 @@ +{% load thumbnail paniktags staticfiles %} +
    + +
    + {% if episode.main_sound %} +
    {% audio sound=episode.main_sound %}
    + {% endif %} +
    +
    diffusion le {{ episode.first_diffusion|date:"d/m/Y" }}
    +
    + {{ episode.title }} +
    +
    + {% if episode.subtitle %} +
    + {{ episode.subtitle|truncatewords:20}} +
    + {% elif episode.text %} +
    + {{ episode.text|safe|striptags|truncatewords:20}} +
    + {% endif %} +
    +
    diff --git a/panikweb/templates/episodes/resume.html b/panikweb/templates/episodes/resume.html new file mode 100644 index 0000000..8ddea39 --- /dev/null +++ b/panikweb/templates/episodes/resume.html @@ -0,0 +1,95 @@ +{% load thumbnail paniktags staticfiles %} +
    + {% if date != False %} +
    +
    +
    + {{ episode.first_diffusion|date:"D"|slice:":2"}} +
    +
    + {{ episode.first_diffusion|date:"d" }} +
    + {% if date != "daytime" %} +
    + {{ episode.first_diffusion|date:"M y" }} +
    + {% endif %} +
    + {{ episode.first_diffusion|date:"H:i" }} +
    +
    +
    + {% endif %} + +
    + + {% if episode.main_sound %} +
    {% audio sound=episode.main_sound %}
    + {% endif %} +
    +
    + {{ episode.title }} +
    +
    + {% if class == "standalone" %} +
    + {{ episode.emission.title }} +
    + {% if episode.emission.categories %} + + {% for category in episode.emission.categories.all %} + {% if forloop.counter > 1 %} - {% endif %}{{category}} + {% endfor%} + + {% endif %} + {% endif %} +
    +
    + + {% if model == "inline" %} + + {% else %} + {% if episode.subtitle %} +
    + {{ episode.subtitle|truncatewords:50 }} +
    + {% elif episode.text %} +
    + {{ episode.text|safe|truncatewords:50}} +
    + {% endif %} + {% endif %} +
    +
    diff --git a/panikweb/templates/episodes/search_result.html b/panikweb/templates/episodes/search_result.html new file mode 100644 index 0000000..0fe7561 --- /dev/null +++ b/panikweb/templates/episodes/search_result.html @@ -0,0 +1,6 @@ + + + {{ result.title }} +
    + {{ result.emission_title }} +
    diff --git a/panikweb/templates/feed/newsitem.html b/panikweb/templates/feed/newsitem.html new file mode 100644 index 0000000..3b969ae --- /dev/null +++ b/panikweb/templates/feed/newsitem.html @@ -0,0 +1,10 @@ +{% load paniktags thumbnail %} +{% if obj.image %} +{% thumbnail obj.image "320x240" crop="50% 25%" as im %} + +{% endthumbnail %} +{% endif %} + +{% autoescape off %} +{{ obj.text|set_absolute_urls }} +{% endautoescape %} diff --git a/panikweb/templates/feed/soundfile.html b/panikweb/templates/feed/soundfile.html new file mode 100644 index 0000000..866e6be --- /dev/null +++ b/panikweb/templates/feed/soundfile.html @@ -0,0 +1,14 @@ +{% load paniktags thumbnail %} +{% if obj.fragment %} +{{ obj.title }} +
    +{% endif %} +{% if obj.episode.image %} +{% thumbnail obj.episode.image "320x240" crop="50% 25%" as im %} + +{% endthumbnail %} +{% endif %} + +{% autoescape off %} +{{ obj.episode.text|set_absolute_urls }} +{% endautoescape %} diff --git a/panikweb/templates/grid.html b/panikweb/templates/grid.html new file mode 100644 index 0000000..0ea270b --- /dev/null +++ b/panikweb/templates/grid.html @@ -0,0 +1,79 @@ +{% extends "emissions.html" %} +{% load paniktags i18n %} +{% block bodyID %}Grid{% endblock %} +{% block title %}{% trans 'Grid' %}{% endblock %} +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav with klass="grid" %} +{% endblock %} +{% block main %} + +
    + + + + + {% for weekday in weekdays %} + + {% endfor %} + + + {% for time_header, time_cells in times|zip:grid %} + + + {% for cell in time_cells %} + + {% endfor %} + + + {% endfor %} + +

    {{ weekday }}
    {{ time_header }} 1 %}colspan="{{cell.w}}"{% endif %} + {% if cell.h > 1 %}rowspan="{{cell.h}}"{% endif %}> + {% if cell.time_label %} +
    {{ cell.time_label }}
    + {% endif %} + {% if cell.schedules %} + {% for schedule in cell.sorted_schedules %} + {% if forloop.first == False and cell.schedules|length > 1 %}
    {% endif %} +
    + + + + {{ schedule.emission.title }} + + +
    + {% if schedule.weeks_string or schedule.time_label %} + {% spaceless %} + ( + {% if schedule.time_label %} + {{ schedule.time_label }} + {% if schedule.weeks_string %}, {% endif %} + {% endif %} + {% if schedule.weeks_string %} + {{ schedule.weeks_string }} + {% endif %} + {% if schedule.time_label_extra %} + {{ schedule.time_label_extra }} + {% endif %} + ) + {% endspaceless %} + {% endif %} + +
    + {% endfor %} + {% else %} + + {% if cell.w > 1 and cell.h > 1%}

    la musique en continu

    {% endif %} + {% endif %} +
    {{ time_header }}
    +
    +{% endblock %} + +{% block news %} +{% endblock %} + diff --git a/panikweb/templates/home.html b/panikweb/templates/home.html new file mode 100644 index 0000000..bd97881 --- /dev/null +++ b/panikweb/templates/home.html @@ -0,0 +1,94 @@ +{% extends "base.html" %} +{% load paniktags staticfiles i18n %} +{% block bodyID %}Home{% endblock %} +{% block title %}{% trans 'Home' %}{% endblock %} + +{% block head %} +{{ block.super }} + +{% endblock %} + +{% block main %} + + + +{% endblock %} diff --git a/panikweb/templates/includes/audio.html b/panikweb/templates/includes/audio.html new file mode 100644 index 0000000..673452d --- /dev/null +++ b/panikweb/templates/includes/audio.html @@ -0,0 +1,84 @@ +{% load soundfiles paniktags i18n %} +{% if sound|is_format_available:'mp3' or sound|is_format_available:'ogg' %} +
    + {% if not embed %} + + {% endif %} + + {% if embed %} + + {% endif %} + + + {% if not embed %} + + {% endif %} +
    + {% if display_fragment_name %} +
    + {{ sound.title }} +
    + {% endif %} + +
    +{% else %} + +{% endif%} diff --git a/panikweb/templates/includes/metaNav.html b/panikweb/templates/includes/metaNav.html new file mode 100644 index 0000000..17d503d --- /dev/null +++ b/panikweb/templates/includes/metaNav.html @@ -0,0 +1,40 @@ +{% load i18n %} + diff --git a/panikweb/templates/includes/path.html b/panikweb/templates/includes/path.html new file mode 100644 index 0000000..2087ab6 --- /dev/null +++ b/panikweb/templates/includes/path.html @@ -0,0 +1 @@ +

    Home - Les émissions - {{ emission.title }}

    diff --git a/panikweb/templates/includes/piwik.html b/panikweb/templates/includes/piwik.html new file mode 100644 index 0000000..616f0e5 --- /dev/null +++ b/panikweb/templates/includes/piwik.html @@ -0,0 +1,17 @@ +{% if enabled %} + + + +{% endif %} diff --git a/panikweb/templates/includes/player.html b/panikweb/templates/includes/player.html new file mode 100644 index 0000000..56bfc6d --- /dev/null +++ b/panikweb/templates/includes/player.html @@ -0,0 +1,42 @@ +{% load i18n paniktags %} +
    +
    +
    +
    +
    + + +
    +
    +
    +
    {% trans 'live' %}
    +
    +
    + +
    + + +
    +
    +
    + +
    +
    + +
    diff --git a/panikweb/templates/includes/related.html b/panikweb/templates/includes/related.html new file mode 100644 index 0000000..40eed4b --- /dev/null +++ b/panikweb/templates/includes/related.html @@ -0,0 +1,20 @@ +{% load paniktags %} +
    +
    +

    Suggestions

    + +
      + + {% for result in more_like_this %} + {% if result.title %} +
    • + {% search_result_template result %} +
    • + {% endif %} + {% endfor %} + + +
    + +
    +
    diff --git a/panikweb/templates/includes/topik.html b/panikweb/templates/includes/topik.html new file mode 100644 index 0000000..784f412 --- /dev/null +++ b/panikweb/templates/includes/topik.html @@ -0,0 +1,17 @@ +{% load thumbnail paniktags staticfiles %} + +
    + +
    +
    +
    {{ page.title }}
    +
    +
    +
    +
    +
    +
    diff --git a/panikweb/templates/includes/week-nav.html b/panikweb/templates/includes/week-nav.html new file mode 100644 index 0000000..2e16eab --- /dev/null +++ b/panikweb/templates/includes/week-nav.html @@ -0,0 +1,13 @@ +
    + +
    diff --git a/panikweb/templates/includes/week.html b/panikweb/templates/includes/week.html new file mode 100644 index 0000000..71f925f --- /dev/null +++ b/panikweb/templates/includes/week.html @@ -0,0 +1,26 @@ +{% load paniktags %} +
    + + {% for day in days %} +
    +
      + {% for cell in day.cells %} +
    • +
      {{ cell.datetime|date:"H:i" }}
      +
      + {% if cell.episode %} + {% with cell.episode as episode %}{% episode_resume model="inline" klass="standalone" date=False %}{% endwith %} + {% elif cell.emission %} + {% with cell.emission as emission %}{% emission_resume %}{% endwith %} + {% else %} + {{ cell.label }} - Musique en continu - playlist + {% endif %} +
      +
    • + {% empty %} +
    • Non stop only!
    • + {% endfor %} +
    +
    + {% endfor %} +
    diff --git a/panikweb/templates/listen.html b/panikweb/templates/listen.html new file mode 100644 index 0000000..c7153df --- /dev/null +++ b/panikweb/templates/listen.html @@ -0,0 +1,88 @@ +{% extends "base.html" %} +{% load paniktags staticfiles thumbnail i18n %} +{% block title %}{% trans 'Sounds' %}{% endblock %} +{% block toptitle %} +

    {% trans 'Sounds' %}

    +{% endblock %} +{% block nav %} +{% endblock %} +{% block main %} + +
    + +
    +{% endblock %} diff --git a/panikweb/templates/listen/archives.html b/panikweb/templates/listen/archives.html new file mode 100644 index 0000000..c801890 --- /dev/null +++ b/panikweb/templates/listen/archives.html @@ -0,0 +1,88 @@ +{% extends "listen.html" %} +{% load paniktags i18n %} +{% block title %}Sons - Archives{% endblock %} +{% block nav %} +
    + {% if facets.fields.format %} + + {% endif %} + + {% if facets.fields.tags %} + + {% endif %} +
    + +{% endblock %} + +{% block main %} +
    +
    + {% for category in selected_categories %} + + {% endfor %} + {% for tag in selected_tags %} + + {% endfor %} + {{ form.as_table }} + +
    +
    + +
    + +{% if not page.object_list %} +
    Manque de pot, pas de résultats à cette recherche !
    +{% else %} + +{% if page.has_previous %} + +{% endif %} + + + +{% if page.has_next %} + +{% endif %} + +{% endif %} + +
    + +{% endblock %} diff --git a/panikweb/templates/listen/nav.html b/panikweb/templates/listen/nav.html new file mode 100644 index 0000000..f4de450 --- /dev/null +++ b/panikweb/templates/listen/nav.html @@ -0,0 +1,29 @@ +{% load paniktags %} +
    + +
    +
    + {% if categories and class != "archives" %} + + {% endif %} +
    diff --git a/panikweb/templates/news.html b/panikweb/templates/news.html new file mode 100644 index 0000000..5e3ed5f --- /dev/null +++ b/panikweb/templates/news.html @@ -0,0 +1,79 @@ +{% extends "base.html"%} +{% load paniktags i18n %} +{% block title %}{% trans 'News' %}{% endblock %} +{% block toptitle %} +

    {% trans 'News' %} + / Agenda +

    +{% endblock %} +{% block nav %} + {% news_nav %} +{% endblock %} +{% block main %} + +
    + +
    +{% endblock %} +{% block links %} +
    +
    + +
    +
    + +{% endblock %} diff --git a/panikweb/templates/news/archives.html b/panikweb/templates/news/archives.html new file mode 100644 index 0000000..3c423b2 --- /dev/null +++ b/panikweb/templates/news/archives.html @@ -0,0 +1,102 @@ +{% extends "news.html" %} +{% load paniktags i18n %} +{% block title %}{% trans 'News' %} - Archives{% endblock %} +{% block nav %} +
    + {% if facets.fields.news_categories %} + + {% endif %} + + {% if facets.fields.tags %} + + {% endif %} +
    +{% endblock %} + +{% block main %} + +
    +
    + {% for category in selected_news_categories %} + + {% endfor %} + {% for tag in selected_tags %} + + {% endfor %} + {{ form.as_table }} + +
    +
    + + +
    + +{% if not page.object_list %} +
    Manque de pot, pas de résultats à cette recherche !
    +{% endif %} + +{% if page.has_previous %} + +{% endif %} + +
    + {% if page.object_list %} + {% regroup page.object_list by date|date:"F Y"|capfirst as month_list %} +
    + {% for month in month_list %} +
    +
    > {{ month.grouper }}
    +
      + {% for result in month.list %} +
    • {% with result.object as content %}{% news_inline %}{% endwith %}
    • + {% endfor %} +
    +
    + {% endfor %} +
    + {% endif %} +
    + +{% if page.has_next %} + +{% endif %} + + +
    + +{% endblock %} diff --git a/panikweb/templates/news/inline.html b/panikweb/templates/news/inline.html new file mode 100644 index 0000000..a7eb8ed --- /dev/null +++ b/panikweb/templates/news/inline.html @@ -0,0 +1,40 @@ +{% load thumbnail staticfiles %} +
    + + {% if class == "special" and content.category %} +
    + {{ content.category.title }} +
    + {% endif %} + + +
    +
    {{ content.title }}
    + {% if class == "special" %} +
    + {{ content.text|safe|striptags|truncatewords:75}} +
    + {% endif %} +
    + {% if content.date %} +
    Publiée le {{ content.date|date:"d/m/Y" }}
    + {% endif %} + +
    +
    diff --git a/panikweb/templates/news/nav.html b/panikweb/templates/news/nav.html new file mode 100644 index 0000000..e69de29 diff --git a/panikweb/templates/news/roll.html b/panikweb/templates/news/roll.html new file mode 100644 index 0000000..8f33e2f --- /dev/null +++ b/panikweb/templates/news/roll.html @@ -0,0 +1,40 @@ +{% load thumbnail i18n paniktags %} +
    +
    + +
    +
      + {% for focus in news %} +
    • + +
    • + {% endfor %} +
    +
    +
    +
    diff --git a/panikweb/templates/news/search_result.html b/panikweb/templates/news/search_result.html new file mode 100644 index 0000000..9a05f0d --- /dev/null +++ b/panikweb/templates/news/search_result.html @@ -0,0 +1,7 @@ + + + {{ result.title }} + {% if result.date %} +
    {{ result.date|date:"D d/M"|lower }}
    + {% endif %} +
    diff --git a/panikweb/templates/newsletter/confirmation_email_body.txt b/panikweb/templates/newsletter/confirmation_email_body.txt new file mode 100644 index 0000000..88a2b5b --- /dev/null +++ b/panikweb/templates/newsletter/confirmation_email_body.txt @@ -0,0 +1,7 @@ +Vous venez de demander un abonnement à la newsletter hebdomadaire de +Radio Panik, pour éviter le spam, il est nécessaire de confirmer cette +demande en suivant le lien suivant : + + http://www.radiopanik.org{% url 'newsletter-confirmation' token=token %} + +Merci ! diff --git a/panikweb/templates/newsletter/confirmation_email_subject.txt b/panikweb/templates/newsletter/confirmation_email_subject.txt new file mode 100644 index 0000000..ec0d066 --- /dev/null +++ b/panikweb/templates/newsletter/confirmation_email_subject.txt @@ -0,0 +1 @@ +Abonnement aux actus de Radio Panik, demande de confirmation diff --git a/panikweb/templates/newsletter/done.html b/panikweb/templates/newsletter/done.html new file mode 100644 index 0000000..2c47b34 --- /dev/null +++ b/panikweb/templates/newsletter/done.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}Newsletter{% endblock %} + +{% block main %} +
    +

    + Et voilà, c'est fait. +

    +
    +{% endblock %} + diff --git a/panikweb/templates/newsletter/subscriber_form.html b/panikweb/templates/newsletter/subscriber_form.html new file mode 100644 index 0000000..7bf9da9 --- /dev/null +++ b/panikweb/templates/newsletter/subscriber_form.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}Newsletter{% endblock %} + +{% block main %} +
    +
    +

    + Tous les lundis, l'actualité de Radio Panik. +

    + + {% csrf_token %} + {{ form.as_table }} + +
    +
    +{% endblock %} + diff --git a/panikweb/templates/newsletter/thanks.html b/panikweb/templates/newsletter/thanks.html new file mode 100644 index 0000000..649a0a6 --- /dev/null +++ b/panikweb/templates/newsletter/thanks.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block title %}Newsletter{% endblock %} + +{% block main %} +
    +

    + Un courriel de confirmation vous a été envoyé; suivez l'adresse qui y + est contenue pour valider votre abonnement. +

    +
    +{% endblock %} + diff --git a/panikweb/templates/nonstop_playlist.html b/panikweb/templates/nonstop_playlist.html new file mode 100644 index 0000000..61f0464 --- /dev/null +++ b/panikweb/templates/nonstop_playlist.html @@ -0,0 +1,48 @@ +{% extends "emissions.html" %} +{% load paniktags staticfiles i18n thumbnail %} +{% block bodyID %}Emissions{% endblock %} +{% block title %}{{ emission.title }}{% endblock %} + +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav %} +{% endblock %} +{% block main %} + +{% endblock %} + +{% block links %} +{% endblock %} diff --git a/panikweb/templates/panikdb/base.html b/panikweb/templates/panikdb/base.html new file mode 100644 index 0000000..94d9808 --- /dev/null +++ b/panikweb/templates/panikdb/base.html @@ -0,0 +1 @@ +{% extends "base.html" %} diff --git a/panikweb/templates/panikombo/audio.html b/panikweb/templates/panikombo/audio.html new file mode 100644 index 0000000..62ac48b --- /dev/null +++ b/panikweb/templates/panikombo/audio.html @@ -0,0 +1,27 @@ +{% load paniktags thumbnail staticfiles %} +{% if soundfile %} +
    + + +
    +{% endif %} diff --git a/panikweb/templates/panikombo/episode.html b/panikweb/templates/panikombo/episode.html new file mode 100644 index 0000000..b38ce48 --- /dev/null +++ b/panikweb/templates/panikombo/episode.html @@ -0,0 +1,31 @@ +{% load paniktags thumbnail staticfiles %} +{% if episode %} +
    + + +
    +{% endif %} diff --git a/panikweb/templates/panikombo/episode_auto_selection.html b/panikweb/templates/panikombo/episode_auto_selection.html new file mode 100644 index 0000000..4fe4345 --- /dev/null +++ b/panikweb/templates/panikombo/episode_auto_selection.html @@ -0,0 +1,39 @@ +{% load paniktags thumbnail staticfiles %} +{% if title and episodes %}

    {{title}}

    {% endif %} +{% for episode in episodes %} + +
    + + +
    + +{% endfor %} diff --git a/panikweb/templates/panikombo/newsitem_auto_selection.html b/panikweb/templates/panikombo/newsitem_auto_selection.html new file mode 100644 index 0000000..c732bea --- /dev/null +++ b/panikweb/templates/panikombo/newsitem_auto_selection.html @@ -0,0 +1,7 @@ +{% load paniktags %} +{% if title and newsitems %}

    {{title}}

    {% endif %} + diff --git a/panikweb/templates/panikombo/topik-cell.html b/panikweb/templates/panikombo/topik-cell.html new file mode 100644 index 0000000..d9ffe24 --- /dev/null +++ b/panikweb/templates/panikombo/topik-cell.html @@ -0,0 +1,36 @@ +{% load thumbnail %} +{% if cell.topik %} +
    + + +
    + {% if cell.slug == "large" %} +

    {{cell.topik.page.title}}

    + {% else %} +
    {{cell.topik.page.title}}
    + {% endif %} +
    + {% if cell.slug == "large" %} + {{cell.text|safe}} + {% else %} + {{cell.text|safe|striptags|truncatewords:75}} + {% endif %} +
    +
    +
    +
    +{% endif %} diff --git a/panikweb/templates/party.html b/panikweb/templates/party.html new file mode 100644 index 0000000..1e6083b --- /dev/null +++ b/panikweb/templates/party.html @@ -0,0 +1,93 @@ +{% extends "base.html" %} +{% load thumbnail paniktags %} +{% block bodyID %}Party{% endblock %} +{% block title %}Party{% endblock %} + +{% block extrascripts %} + +{% endblock %} + +{% block main %} + +
    + + + + + +{% endblock %} diff --git a/panikweb/templates/program.html b/panikweb/templates/program.html new file mode 100644 index 0000000..9c84bc5 --- /dev/null +++ b/panikweb/templates/program.html @@ -0,0 +1,26 @@ +{% extends "emissions.html" %} +{% load paniktags i18n %} +{% block bodyID %}Program{% endblock %} +{% block title %}{% trans 'Program' %}{% endblock %} +{% block toptitle %} +

    {% trans 'Program' %}

    +{% endblock %} +{% block nav %} + {% emission_nav with klass="program" %} +{% endblock %} +{% block main %} + +
    +
    + +
    + {% weeknav year=year week=week weekday=0 %} +
    +
    +
    + {% weekview year=year week=week %} +
    +
    +{% endblock %} diff --git a/panikweb/templates/search/search.html b/panikweb/templates/search/search.html new file mode 100644 index 0000000..72475d4 --- /dev/null +++ b/panikweb/templates/search/search.html @@ -0,0 +1,99 @@ +{% extends 'panikdb/base.html' %} +{% load paniktags highlight i18n %} +{% block bodyID %}Search{% endblock %} +{% block title %}Recherche{% endblock %} +{% block nav %} +
    +
    + +
    +
    +
    +
    + {% if query or selected_tags %} + + + {% endif %} +
    +
    +{% endblock %} + + +{% block main %} + {% if query or selected_tags %} +
    +
    + {% if not page.object_list %} +
    Manque de pot, pas de résultats à cette recherche !
    + {% endif %} + {% if page.has_previous %} + + {% endif %} + +
      + + + {% for result in page.object_list %} + {% if result.object.title %} +
    • + {% search_result_template result %} +
    • + {% endif %} + {% endfor %} + + +
    + {% if page.has_next %} + + {% endif %} +
    +
    + {% endif %} +{% endblock %} diff --git a/panikweb/templates/soundfiles/dialog-embed.html b/panikweb/templates/soundfiles/dialog-embed.html new file mode 100644 index 0000000..efa8af2 --- /dev/null +++ b/panikweb/templates/soundfiles/dialog-embed.html @@ -0,0 +1,15 @@ +{% load i18n %} +
    +
    + +

    {% trans 'Embed' %}

    +

    +Copier/coller le code ci-dessous : +

    + + + +

    Preview

    + +
    +
    diff --git a/panikweb/templates/soundfiles/embed.html b/panikweb/templates/soundfiles/embed.html new file mode 100644 index 0000000..449a9d9 --- /dev/null +++ b/panikweb/templates/soundfiles/embed.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} +{% load thumbnail paniktags static %} + +{% block bodyattr %}id="embed"{% endblock %} +{% block title %}{{ episode.emission.title }}{% endblock %} + +{% block main %} + +
    + + +
    +{% endblock %} + diff --git a/panikweb/templates/soundfiles/resume.html b/panikweb/templates/soundfiles/resume.html new file mode 100644 index 0000000..7347e5e --- /dev/null +++ b/panikweb/templates/soundfiles/resume.html @@ -0,0 +1,49 @@ +{% load thumbnail paniktags staticfiles %} +
    + +
    +
    {% audio sound=soundfile %}
    +
    + {% if soundfile.fragment %} +
    + {{ soundfile.title }} +
    + {% endif %} +
    + {{ soundfile.episode.title }} +
    +
    + {% if soundfile.format %} + + {{ soundfile.format.title }} + + {% endif %} +
    + {{ soundfile.episode.emission.title }} +
    +
    +
    + + {% if soundfile.episode.subtitle %} +
    + {{ soundfile.episode.subtitle|truncatewords:20}} +
    + {% endif %} +
    +
    diff --git a/panikweb/templates/tpl-default.html b/panikweb/templates/tpl-default.html new file mode 100644 index 0000000..c96ad21 --- /dev/null +++ b/panikweb/templates/tpl-default.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% load fiber_tags %} + +{% block title %}{{ fiber_page.title }}{% endblock %} + +{% block toptitle %} +

    À propos

    +{% endblock %} + +{% block nav %} +
    + +
    +{% endblock %} + +{% block main %} + + + +{% endblock %} diff --git a/panikweb_templates/static/css/_general.scss b/panikweb_templates/static/css/_general.scss deleted file mode 100644 index 2632afa..0000000 --- a/panikweb_templates/static/css/_general.scss +++ /dev/null @@ -1,497 +0,0 @@ -/******************/ -/*HTML TAG DISPLAYS */ -/******************/ -body { - font-family: "RegloNormal"; - line-height: normal; - text-align: left; - margin:2.8em auto 0 auto; - /*padding: 0px 10px;*/ - clear: both; -} -code,pre{ - display:block; - overflow:auto; - padding:0.5em; - background:black !important; - color:white !important; - font-family:monospace; -} -audio { - display:block; - width: 90%; - margin:0.5em auto 1em auto; -} - -a { - color:inherit; - text-decoration: none; -} -.userContent a:hover { - text-decoration: underline; -} -a.block:hover,nav a:hover{ - text-decoration: none; -} -button, .button{ - margin:0 0 0 0; - padding: 0 0 0 0; - cursor:pointer ; - background:none; -} -img {max-width:100%;} -img.logo{border:2px solid black;} - -header{ - padding:0 0 2em 0; - font-family: 'RegloBold'; -} -h1, h2, h3, h4, h5{ - font-family: 'RegloBold'; - line-height:1em; - padding:0.2em 0 0.2em 0; -} -h1, h2, h3, h4{ - text-transform: uppercase; -} -h1 { font-size: 6em;} -h2 { font-size: 4em;} -h3 { font-size: 3em;} -h4 { font-size: 1.8em;} -h5 { font-size: 1.1em;} - -/*Specific rules for text writen by final users */ -.userContent h1 { font-size: 2em;} -.userContent h2 { font-size: 1.9em;} -h1, h2, h3, h4, .squashed{ - font-family: 'RegloScale'; - } - -nav{ - padding:0em; - font-family: "RegloBold"; - text-transform: uppercase; -} -hr { - height: 0; - margin:0.5em 0 0.5em 0; - padding:0; - border-style:solid; - border-width:2px 0 0 0 ; - border-color:black; -} -table{ - margin:auto; - table-layout:fixed; -} -table,td,tr { - padding:0; - margin:0; - word-wrap: break-word; - text-overflow: ellipsis; - text-align: center; - vertical-align: middle; - border: 1px solid #D0D0D0; - border-collapse:collapse; -} -th { - white-space: nowrap; - text-transform: uppercase; -} -tr{ -} -p { - /*line-height: 1.2;*/ - margin-bottom: 1em; -} -p a { - text-decoration: underline -} - -em { - font-family: "RegloBold"; - font-style: normal; -} -strong{ - text-transform: uppercase;} -blockquote { - padding: 1em; - font-style:italic; -} - -dl{} -dt, dd{ - letter-spacing:1px; - line-height: 150%; -} -dt { - float:left; - font-family: "RegloBold"; - margin-right: 0.3em; -} -dd { - font-family: "RegloNormal"; -} - -dt:after { - content: ":"; -} - -dl.metadata dt { - clear: none; - margin: 0; -} - -dl.metadata dd { - margin-right: 4px; - } - -button {display:inline-block;} -button { - font-family: "RegloBold"; - text-transform: uppercase; -} -ul, ol, dl { - margin: 0; - padding: 0 0 0 2em; -} -nav ul, ul.inline, ul.custom, ul.custom li{ - list-style: none; - margin: 0; - padding: 0; -} -nav ul li, ul.inline li{ - display:inline; -} -ul.list{ - list-style-type:square; /*Not working but why?*/ - list-style-position:inside; -} -ul.list > li{ - padding:0.5em 0 0.5em 0; - border-bottom:1px solid #ccc; -} - -/******************/ -/*USEFULL CLASSES */ -/******************/ - -.sr-only { - position: absolute !important; - width: 1px !important; - height: 1px !important; - padding: 0 !important; - margin: -1px !important; - overflow: hidden !important; - clip: rect(0, 0, 0, 0) !important; - white-space: nowrap !important; - border: 0 !important; -} - -ul.distributed{ - display:table; - width:100%; - text-align:center; - margin:0; - padding:0; - border-collapse:collapse; -} -ul.distributed li{ - display:table-cell; - text-align:center; -} -ul.distributed.by2 li{ - width:50%; -} -ul.distributed.by3 li{ - width:33%; -} -ul.distributed.by4 li{ - width:25%; -} -ul.distributed.by5 li{ - width:20%; -} -ul.distributed.by6 li{ - width:16.6666%; -} -ul.distributed.by7 li{ - width:14.285%; -} - -a.active, button.active{ - font-weight:bold; - text-decoration:none; - border-bottom: 2px solid; -} -.active *{ - font-weight:inherit; -} - -.todo:hover, .todo *:hover{ - text-decoration: line-through; - color:red !important; -} - - -.focusFade { - -webkit-transition-property: color; - -webkit-transition-duration: 0.2s; - -webkit-transition-timing-function: ease; - } - -.extra-margin { - margin-bottom: 16px; -} -.ellipsis{ - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.block {display:block;} -.inBlock{display:inline-block;} -.right{float:right;margin-left:1em;} -.left{float:left;margin-right:1em;} -.userContent .right, .userContent .left{ - margin-bottom:1.5em; -} -img.right, img.left{max-width:50%;} -.smooth{opacity:0.5;} -.hidden{display:none;} -.invisible{visibility:hidden;} -.padded{padding:1.5em;} -.marged{margin:1.5em 0 1.5em 0;} - -.small{ font-size: 80%;} -.big{ font-size: 150%;} -.huge{ font-size: 200%;} - -.absolute{ - position:absolute; -} -.relative{ - position:relative; -} -.nowrap { - white-space: nowrap; -} -.center{ - text-align:center; - margin-left:auto; - margin-right:auto; -} - -.loading{ - -webkit-animation: loading 1s infinite linear; - -moz-animation: loading 1s infinite linear; - -o-animation: loading 1s infinite linear; - animation: loading 1s infinite linear; -} -@-webkit-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} -@-moz-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} -@-o-keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} -@keyframes loading {0%{opacity:1 !important;}50%{opacity:0 !important;}100%{opacity:1 !important;}} - -.spinning { - position:relative; - /* - -webkit-animation: rotation 10s infinite linear; - -moz-animation: rotation 10s infinite linear; - -o-animation: rotation 10s infinite linear; - animation: rotation 10s infinite linear; - */ -} -@-webkit-keyframes rotation { - from {-webkit-transform: rotate(0deg);} - to {-webkit-transform: rotate(359deg);} -} -@-moz-keyframes rotation { - from {-moz-transform: rotate(0deg);} - to {-moz-transform: rotate(359deg);} -} -@-o-keyframes rotation { - from {-o-transform: rotate(0deg);} - to {-o-transform: rotate(359deg);} -} -@keyframes rotation { - from {transform: rotate(0deg);} - to {transform: rotate(359deg);} -} -.vertical { - -webkit-transform: rotate(-90deg); - -moz-transform: rotate(-90deg); - -ms-transform: rotate(-90deg); - -o-transform: rotate(-90deg); - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); -} -.columns{column-gap: 0; -webkit-column-gap: 0; -moz-column-gap: 0;} -.columns.padded{column-gap: 2em; -webkit-column-gap: 2em; -moz-column-gap: 2em;} -.columns li{ - display:inline-block; - width:100%; - column-break-inside: avoid; - -moz-column-break-inside: avoid; - -webkit-column-break-inside: avoid; - break-inside: avoid-column; - -webkit-break-inside: avoid-column; - -moz-break-inside: avoid-column; -} -@media only screen and (min-width: 600px) { - .columns{column-count: 2; -webkit-column-count: 2; -moz-column-count: 2;} -} -.columns.by3{column-count: 3; -webkit-column-count: 3; -moz-column-count: 3;} - -/* And the rest is Eric & Seb, AGPLv3*/ - -label, select, input, button, textarea{ - font-size:inherit; -} -label { - margin-right:1em; - height: 1.2em; - display: inline-block; - text-transform: uppercase; -} - -select { - height: 1.2em; - -webkit-appearance: none; - -moz-appearance: window; -} - -select[multiple], -select[size] { - height: auto; - background-image: inherit; -} - -input[type=date] { - -webkit-appearance: none; - -moz-appearance: window; -} - -select, select option { - height: 1.2em; - text-transform: none; -} - -input, select { - height: 1.2em; - background: #fff; - border: 1px inset #aaa; -} - - -input[type=text], textarea{ - width: 100%; - max-width:10em; - display: inline-block; - border:2px solid black; - border-radius:0.2em; - -moz-border-radius:0.2em; - -webkit-border-radius:0.2em; -} - -input[type=submit] { - text-align: left; - border: none; -} - -/** - * For modern browsers - * 1. The space content is one way to avoid an Opera bug when the - * contenteditable attribute is included anywhere else in the document. - * Otherwise it causes space to appear at the top and bottom of elements - * that are clearfixed. - * 2. The use of `table` rather than `block` is only necessary if using - * `:before` to contain the top-margins of child elements. - */ -.cf:before, .cf:after { - content: " "; /* 1 */ - display: table; /* 2 */ -} - -.cf:after { - clear: both; -} - -/** - * For IE 6/7 only - * Include this rule to trigger hasLayout and contain floats. - */ -.cf { - *zoom: 1; -} - -/* icons */ - -@font-face { - font-family: 'FontAwesome'; - src: url('/static/xstatic/fonts/fontawesome-webfont.eot'); - src: url('/static/xstatic/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('/static/xstatic/fonts/fontawesome-webfont.woff') format('woff'), url('/static/xstatic/fonts/fontawesome-webfont.ttf') format('truetype'), url('/static/xstatic/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg'); - font-weight: normal; - font-style: normal; -} - -/* FONT AWESOME CORE - * -------------------------- */ -[class^="icon-"], -[class*=" icon-"] { - font-family: FontAwesome; - font-weight: normal; - font-style: normal; - text-decoration: inherit; - -webkit-font-smoothing: antialiased; - *margin-right: .3em; -} -[class^="icon-"]:before, -[class*=" icon-"]:before { - text-decoration: inherit; - display: inline-block; - speak: none; -} -/* makes sure icons active on rollover in links */ -a [class^="icon-"], -a [class*=" icon-"] { - display: inline; -} - -/* reglo symbols variants */ -[class^="icon-"].resymbol, -[class*=" icon-"].resymbol { - font-family: Symbols; -} - -/* specific icon classes */ -.icon-archive:before { content: "\f187"; } -.icon-bolt:before { content: "\f0e7"; } -.icon-bullhorn:before { content: "\f0a1"; } -.icon-calendar:before { content: "\f073"; } -.icon-check:before { content: "\f046"; } -.icon-check-empty:before { content: "\f096"; } -.icon-chevron-sign-left:before { content: "\f137"; } -.icon-chevron-sign-right:before { content: "\f138"; } -.icon-comments:before { content: "\f086"; } -.icon-double-angle-left:before { content: "\f100"; } -.icon-download:before { content: "\f01a"; } -.icon-envelope:before { content: "\f0e0"; } -.icon-file:before { content: "\f15b"; } -.icon-globe:before { content: "\f0ac"; } -.icon-headphones:before { content: "\f025"; } -.icon-home:before { content: "\f015"; } -.icon-info-sign:before { content: "\f05a"; } -.icon-microphone:before { content: "\f130"; } -.icon-pause:before { content: "\f04c"; } -.icon-play:before { content: "\f04b"; } -.icon-play-sign:before { content: "\f144"; } -.icon-plus-sign:before { content: "\f055"; } -.icon-question-sign:before { content: "\f059"; } -.icon-remove:before { content: "\f00d"; } -.icon-rss:before { content: "\f09e"; } -.icon-search:before { content: "\f002"; } -.icon-share:before { content: "\f045"; } -.icon-step-backward:before { content: "\f048"; } -.icon-step-forward:before { content: "\f051"; } -.icon-stop:before { content: "\f04d"; } -.icon-trash:before { content: "\f014"; } -.icon-volume-up:before { content: "\f028"; } diff --git a/panikweb_templates/static/css/_grid.scss b/panikweb_templates/static/css/_grid.scss deleted file mode 100644 index ce2f0de..0000000 --- a/panikweb_templates/static/css/_grid.scss +++ /dev/null @@ -1,54 +0,0 @@ -form.quixote div.grid { - float: left; - box-sizing: border-box; - padding-right: 1em; - clear: none; -} - -@each $i in 1, 2, 3, 4, 6, 12 { - @for $j from 1 through $i { - div.cell.grid-#{$j}-#{$i}, - div.dataview div.grid-#{$j}-#{$i}, - form.quixote div.grid-#{$j}-#{$i} { - clear: none; - &.newline { - clear: both; - } - } - div.grid-#{$j}-#{$i} { - float: left; - box-sizing: border-box; - padding-right: 1em; - width: (100*$j/$i+0%); - @media screen and (max-width: $mobile-limit) { - @if $i == 4 and $j <= 2 { width: 50%; } - @else if $i == 4 and $j > 2 { width: 100%; } - @else if $i == 6 and $j <= 2 { width: (100/3+0%); } - @else if $i == 6 and $j == 3 { width: 50%; } - @else if $i == 6 and $j <= 5 { width: (200/3+0%); } - @else if $i == 6 and $j == 6 { width: 100%; } - @else if $i == 12 and $j <= 4 { width: (100/3+0%); } - @else if $i == 12 and $j <= 7 { width: 50%; } - @else if $i == 12 and $j <= 11 { width: (200/3+0%); } - @else if $i == 12 and $j == 12 { width: 100%; } - } - @media screen and (max-width: $very-small-limit) { - width: 100%; - } - textarea, select, input[type=text], input[type=password], input[type=email] { - width: 100%; - } - } - form div.grid-#{$j}-#{$i} + h3, - form div.grid-#{$j}-#{$i} + h4, - form div.grid-#{$j}-#{$i} + p, - form div.grid-#{$j}-#{$i} + div { - clear: both; - } - } -} - -form div[class*=grid-] span.select2-selection, -form div[class*=grid-] div.select2-container { - width: 100% !important; -} diff --git a/panikweb_templates/static/css/_reset.scss b/panikweb_templates/static/css/_reset.scss deleted file mode 100644 index 4cf6899..0000000 --- a/panikweb_templates/static/css/_reset.scss +++ /dev/null @@ -1,206 +0,0 @@ -/** - * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) - * http://cssreset.com - */ -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, button, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - /*font: inherit;*/ - color:inherit; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} - -h1, h2, h3, h5, h6 { - font-weight: normal; -} -button{background:none;border:none;} -button:focus::-moz-focus-inner, -button::-moz-focus-inner, -input[type="reset"]::-moz-focus-inner, -input[type="button"]::-moz-focus-inner, -input[type="submit"]::-moz-focus-inner, -input[type="file"] > input[type="button"]::-moz-focus-inner { - border: 0px dotted transparent; -} -/* The following code is taken from Normalize.css, - * available under the MIT License: - * - * Copyright (c) Nicolas Gallagher and Jonathan Neal - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - */ - -// ========================================================================== -// Forms -// ========================================================================== - -// - - -// -// 1. Correct `color` not being inherited in IE 8/9. -// 2. Remove padding so people aren't caught out if they zero out fieldsets. -// - -legend { - border: 0; // 1 - padding: 0; // 2 -} - -// -// 1. Correct font family not being inherited in all browsers. -// 2. Correct font size not being inherited in all browsers. -// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. -// - -button, -input, -select, -textarea { - font-family: inherit; // 1 - font-size: 100%; // 2 - margin: 0; // 3 - border: none; -} - -// -// Address Firefox 4+ setting `line-height` on `input` using `!important` in -// the UA stylesheet. -// - -button, -input { - line-height: normal; -} - -// -// Address inconsistent `text-transform` inheritance for `button` and `select`. -// All other form control elements do not inherit `text-transform` values. -// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. -// Correct `select` style inheritance in Firefox 4+ and Opera. -// - -button, -select { - text-transform: none; -} - -// -// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` -// and `video` controls. -// 2. Correct inability to style clickable `input` types in iOS. -// 3. Improve usability and consistency of cursor style between image-type -// `input` and others. -// - -button, -html input[type="button"], // 1 -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; // 2 - cursor: pointer; // 3 -} - -// -// Re-set default cursor for disabled elements. -// - -button[disabled], -html input[disabled] { - cursor: default; -} - -// -// 1. Address box sizing set to `content-box` in IE 8/9. -// 2. Remove excess padding in IE 8/9. -// - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; // 1 - padding: 0; // 2 -} - -// -// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. -// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome -// (include `-moz` to future-proof). -// - -input[type="search"] { - -webkit-appearance: textfield; // 1 - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; // 2 - box-sizing: content-box; -} - -// -// Remove inner padding and search cancel button in Safari 5 and Chrome -// on OS X. -// - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -// -// Remove inner padding and border in Firefox 4+. -// - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -// -// 1. Remove default vertical scrollbar in IE 8/9. -// 2. Improve readability and alignment in all browsers. -// - -textarea { - overflow: auto; // 1 - vertical-align: top; // 2 -} - diff --git a/panikweb_templates/static/css/_specifics.scss b/panikweb_templates/static/css/_specifics.scss deleted file mode 100644 index cae6371..0000000 --- a/panikweb_templates/static/css/_specifics.scss +++ /dev/null @@ -1,2123 +0,0 @@ -/* COLORS */ - -$black: #000000; -$white: #FFFFFF; -$primary: #FF7E83; -$secondary: #0062CB; - -/****************************************************/ -/* FONTS */ - -.resymbol:hover,.control:hover{ opacity:0.5; } -.date, .dateBloc { - font-family: "Reglo"; - text-transform: uppercase; -} -.inline .date, .resume .date{ - text-align: center; -} -.dateBloc{width:4em; - text-align: center;} -.dateBloc{display:inline-block;} -.dateBloc *{line-height: 100%;} -.dateBloc .day {font-size: 1.8em;} -.dateBloc .number {font-size: 1.8em;} -.dateBloc .month {font-size: 0.8em;} -.dateBloc .time {font-size: 1.2em;margin: 0.2em 0;} - -.dateBloc.small{ - font-size: 80%; -} - -.date.smooth { - text-transform: none; - font-size: 100%; - font-family: RegloNormal; -} - -.tabs .ui-tabs-nav { - font-family: "Reglo"; - text-transform: uppercase; -} -.legend{ - font-family: "Reglo"; - font-size:1.2em; - border-bottom:3px solid black; - padding: 0.2em 0 0.2em 0; - margin: 0.2em 0 0.2em 0; -} -#Main .sectionLabel{ - margin-bottom:1em; -} - -.sectionLabel, .label { - text-transform: uppercase; - font-family: "Reglo"; - font-size:1.3em; -} - -.rightPart .right.sectionLabel { - text-transform: none; - border-bottom: 1px solid black; - padding-bottom: 3px; -} - -h5.focus-title { - color: $secondary; -} - -.rightPart #search-form { - text-align: right; - margin-bottom: 2em; -} - -.label.relative{ - background-color:black; - position: absolute; - left:10px; - top:-5px; - color:white; - padding:5px 7px 0px 7px; -} - -/****************************************************/ -/* WRAPPER */ -/****************************************************/ -.wrapper {max-width: 1560px; padding:0 1%;} -.wrapper.text {max-width: 780px; margin:auto;} -.wrapper .rightPart{margin-top:1em;} - -@media screen and (min-width: 760px) { - #player-container.fixed { - position: fixed; - top: 60px; - width: calc(0% + 235px); - } - .wrapper .rightPart{ - margin-top:0; - } - .wrapper.sided .leftPart, - .wrapper.sided .rightPart{ - width:45%; - } - .wrapper.navigation .leftPart{ - width:60%; - } - .wrapper.navigation .rightPart{ - width:35%; - } - .wrapper .leftPart{ - float:left; - } - .wrapper .rightPart{ - float:right; - } - #specialHome { - padding-left: 0; - } - /* - #specialHome .leftPart, - #specialHome .rightPart { - width: 100%; - } - */ - p.intro { - padding-top: 0px; - padding-bottom: 40px; - } -} - - -button.control, button.symbol{background:transparent;border:none;margin:0;padding:0;} -nav.menu{ - width:100%; - text-align: justify; - text-justify: distribute-all-lines; -} -nav.menu li{ - display: inline-block; - margin-right:2em; -} - -button.tag, a.tag{ - font-size:0.9em; - background:white; - font-family: "RegloBold"; - text-transform: uppercase; - display:inline-block; - border: 1px solid #CCC !important; - color:#342E2E; - margin: 0.2em; - padding: 0.3em; - border-radius: 0.7em; - -moz-border-radius: 0.7em; - -webkit-border-radius: 0.7em; -} -button.check, a.check { - font-size:0.9em; - text-transform: none; - display:inline-block; - margin: 0.2em; - padding: 0.3em; -} - -.category{ - font-family: "RegloBold"; - text-transform: uppercase; -} -button.check:before, a.check:before { - display:inline-block; - width:1.5em; -} -.box{ - padding:0.2em 0.5em 0.2em 0.5em; - border-radius: 0.2em; - -moz-border-radius: 0.2em; - -webkit-border-radius: 0.2em; - background:#222; - color:#fff; -} -.ui-tooltip { - border:1px solid white; - position:absolute; - margin:0; - padding: 0.5em; - background:#222; - color: white; - z-index: 9999; - max-width: 50%; - background: white; - color: #222; - border-color: #222; -} -/****************************************************/ -/**** BODY ****/ -/****************************************************/ -body{ - background: white; - color: #333; -} -/****************************************************/ -/**** metaNAV ****/ -/****************************************************/ - -#metaNav { - color: #e8e8e8; - background-color: #3a3a3a; - position:fixed; - z-index:1000; - top:0px; - width:100%; - font-size: 90%; -} -#metaNav ul{ -} -#metaNav ul li{ - float: left; - padding: 0 1em; - white-space: nowrap; - text-overflow: ellipsis; - overflow:hidden; -} - -#metaNav ul li#nav-search { - float: right; -} - -#metaNav ul li a{ - height: 3em; - line-height: 3em; - display:block; -} - -#metaNav ul li#nav-language span { - cursor: pointer; - height: 3em; - line-height: 3em; - display: inline-block; -} - -#metaNav ul li#nav-language span.lang-on { - color: white; -} - -#metaNav ul li a span{ - display:inline-block; -} - -#metaNav ul li a span.nav-icon { -} - -#metaNav a:focus, #metaNav a:hover{ - opacity:0.8; -} -#metaNav ul li.active, #metaNav ul li.active a{ - color: white; -} - -#metaNav ul li.active span.iconLabel { -} - -#metaNav li#nav-search a { - display: inline; -} - -#metaNav form { - display: inline-block; - padding-top: 0.2em; -} - -#metaNav input { - border: 1px solid #ececec; - width: 10em; -} - -.icon-rss { - color: orange; -} - -@media screen and (max-width:760px){ - #bg-title { display: none; } - #metaNav .iconLabel {display:none;} - #metaNav ul li a span.nav-icon { display: inline-block; } - #metaNav ul li { - padding: 0; - } - #metaNav ul li a { - padding: 0 1em; - } - #metaNav form { - display: none; - } - #metaNav ul li#nav-language { - padding: 0.2em 0 0 1em; - } - div#Changing { - margin: 0 5px; - } -} -@media screen and (max-width:400px){ - #metaNav ul li#nav-language { - padding: 0.2em 0 0 1ex; - } - #metaNav ul li a { - padding: 0 0.8em; - } -} - -/****************************************************/ -/**** Commons ****/ -/****************************************************/ - -.audio button {color:$primary !important;} -/****************************************************/ -/**** HEADER ****/ -/****************************************************/ - -/* PANIK LOGO */ -#Commons{ - position: relative; - z-index: 5; -} -#Commons .wrapper{ -} -#mainHeader { - padding-bottom:1em; -} -#mainHeader { - font-size:70%; -} -#mainHeader *{color:black !important;line-height:1em;} -#mainHeader #radioPanik{} - -#Panik img{display:block;margin:auto;max-height:200px;} -#mainHeader h1{ - padding-left:75px; -} -#player-container #player{ - padding:0 0 0 0; - min-width: 240px; -} - -#Changing h1.top a:hover { - opacity: 1.0; -} - -@media screen and (max-width: 760px) { - #All h1.top { - font-size: 60px; - padding: 0; - padding-top: 10px; - text-align: center; - } - #specialHome .leftPart h1.top { - display: none; - } - #specialHome .leftPart h2 { - padding-top: 10px; - text-align: center; - } -} - -@media screen and (min-width: 760px) { - #Commons { - float: left; - width: 20%; - width: -webkit-calc(0% + 240px); - width: -moz-calc(0% + 240px); - width: calc(0% + 240px); - } - #Changing { - position: relative; - float: right; - width: 78%; - width: -webkit-calc(100% - 280px); - width: -moz-calc(100% - 280px); - width: calc(100% - 280px); - } - #All h1.top { - font-size: 120px; - font-family: RegloScale; - text-transform: uppercase; - padding-left: 0; - padding-top: 2rem; - padding-bottom: 0; - } - - #metaNav { - padding-top: 2px; - } - #metaNav .nav-icon { - display: none !important; - } - - ul#ticker { - margin-bottom: 10px; - } - - #News div.mainSub, - #About div.mainSub, - #Emissions div.mainSub { - position: absolute; - top: 50px; - left: 320px; - width: 60%; - width: calc(98% - 320px); - } - - #News div.mainSub ul, - #About div.mainSub ul, - #Emissions div.mainSub ul { - padding: 0; - font-family: Reglo; - font-weight: normal; - } - - #News div.mainSub ul li, - #About div.mainSub ul li, - #Emissions div.mainSub ul li { - } - - #News .news.wrapper { - padding: 0; - } - - #News .news.wrapper li a { - margin-left: 0; - padding-left: 0; - } - - #Nav header.marged, - #Main > .marged { - margin: 0; - } - - #Related .wrapper, - #Main > .wrapper, - #Main > .soundfiles > .wrapper, - #Main > .news > .wrapper, - #Nav > .wrapper { - padding-left: 0; - } - - #All #Nav nav ul { - margin-top: 0; - } - - #Related .padded, - div.program.padded { - padding-top: 0; - padding-left: 0; - } - - div.program.padded { - padding-top: 1.5em; - } - - #fiber-content h2.title { - margin-top: 0; - padding-top: 0; - } - -} - -#backgroundBox { - background: transparent center 40px no-repeat url(../img/Radio_Panik_Logo_2016-01.png); -} - -#All #backgroundBox h1.top { - font-size: 50px; - padding-left: 10px; - width: 200%; -} - -#backgroundBox h1 { - color: $primary !important; -} - -#All h1.top#radiopanik { - padding-top: 0; - color: black !important; - padding-bottom: 30px; - height: 130px; -} - -#All #backgroundBox h1 { - visibility: hidden; -} - - -#specialHome div.rightPart h1, -div.focus { - color: $secondary; -} - -h1.top#frequence { - color: $primary; -} - -/****************************************************/ -/**** SCREEN NAV ****/ -#Nav nav{padding:0.1em;} - -#Nav input{color:#333;} -#Nav ul li button, -#Nav ul li a { - border-width:0 0 2px 0; - border-style: solid; - border-color: transparent; -} - -#Nav .current, -#Nav .active,#Nav .icon-check,#Nav .active *{ - font-weight: normal; -} - -#Nav .selected a, -#Nav ul li.current a, #Nav ul a.active, #Nav button.active { - border-color: #333; -} - -#Nav nav{ - margin:0; -} - -#specialHome h2, -#Nav h2{ - margin:0; - padding:0; -} -#Nav nav ul{ - margin:1em 0 1em 0; -} - -#Nav li { - padding-right: 1em; -} - -#Nav li a{ - display: inline-block; -} -#Nav nav ul.distributed li {padding: 0;} - -#fiber-nav{ - font-size:150%; - border-width:0 0 2px 0;border-style:solid; -} -#fiber-nav li, #fiber-nav li a{ - display:block; -} -#fiber-nav ul{ - padding:0.5em; -} -#fiber-nav li a{ - padding:0.5em; -} -#fiber-nav .selected > a, -#fiber-nav .current { - font-weight:bold; -} - -/****************************************************/ -/**** PLAYER ****/ -/****************************************************/ -/*#Home #player{ float: left; } */ - -#player-container, - #player-container *{border-color:$primary !important;color:$primary !important;} - -#player-container .metas, #player-container img{border-color:#fff;} -#player-container .padded{padding:0.3em;} - -#player-container button,#player-container a{ -} -#player-container .metas{ - float:right; -} -#DirectStreamPanikControler { - display:inline !important; -} -#chatSymbol, -#streamSymbol{ - font-size:3em; - float:left; - margin-right:5px; - position: relative; - z-index: 10; - top: -6px; -} -#CurrentlyPlaying{ - padding:0 0 0 0; -} - -#Player.withPlaylist #player-container #Playlist{ - border-top:2px solid black; -} -#Player.withPlaylist #player-container #Playlist{ - margin-top: 1em; - padding-top: 1em; -} - -#player-container #myPlaylist { - clear: both; - padding: 1em 0 0 0; - height: auto; -} - -#player-container #myPlaylist a { - margin-right: 30px; - white-space: normal; - padding-bottom: 1ex; -} - -#player-container.minimized{ - width:auto; - border-width:0px 2px 2px 0 !important; - border-bottom-right-radius:1em; - -moz-border-bottom-right-radius:1em; - -webkit-border-bottom-right-radius:1em; -} -#player-container.minimized #player{ - padding:0; -} - -/*Playlist*/ - -#Playlist #playlistLabel{ - float:right; - -} -#Playlist .playListControls{ -} -#Playlist .playListControls button{ - margin-right:0.5em; - display:inline-block; -} -#Playlist .playListControls .playPause{ - font-size:3em; - margin-right:5px; - float:left; - position: relative; - top: -8px; -} - -#Playlist .playing .icon-pause{ - -webkit-animation: loading 1s infinite linear; - -moz-animation: loading 1s infinite linear; - -o-animation: loading 1s infinite linear; - animation: loading 1s infinite linear; -} -#Playlist .playlistControls button,#Playlist .playlistControls .button{ - margin:0 0.1em 0 0.1em; -} -#Playlist li{ - clear:right; -} -#Playlist .soundControls button{} - -#player-container #Playlist ol{ - clear:right; - padding:0; - margin-left: 50px; -} -#player-container #Playlist ol li{ - line-height:1.3em; - padding:0; - margin:0; -} -#Playlist ol li .soundControls{ - line-height:1.5em; - height:1.5em; - clear:right; - float:right; -} -#Playlist ol li .title{ - margin-right:70px; - display:block; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -#player .active{ - text-transform:uppercase; - font-weight:bold; -} -/*limit height of playlist*/ -#player #CurrentlyPlaying, - #player-container #Playlist ol{ - opacity:0.9; - padding-top:0.2em; - height:auto; - overflow: hidden; -} - -@media screen and (max-width: 760px) { - #backgroundBox { - background-position: center 30px; - background-size: 130px; - } - #All h1.top#radiopanik { - height: 80px; - } - #Player{ - margin-top:1em; - } - #Player.withPlaylist #player-container #audioPlayer, - #Player.withPlaylist #player-container #audioPlayer, - #Player.withPlaylist #player-container #Playlist{ - float:none !important; - width:auto !important; - border-right:none !important; - max-width:auto !important; - } - - #player.on-chat-page { - display: none; - } - - div.chat-page .rightPart { - font-size: 95%; - margin-top: 4em; - padding-top: 1em; - border-top: 1px solid #777; - } - -} - -/****************************************************/ -/**** #Changing #Footer ... ****/ -/****************************************************/ -#Changing{ - display: flex; - flex-direction: column; - min-height: 97vh; -} - -#Main{ - flex-grow: 1; - color:#333; - position: relative; - z-index: 1; -} -#Main >.wrapper{ - padding-bottom:2em; -} -#Home #Main{ - min-height:0; -} -#Changing a:hover,#Changing button:hover { - opacity:0.6; - text-decoration:none; -} -/* GLOBAL SITE NAV */ -#userLog{ - z-index:2000; - position: fixed; - bottom: 0px; - right: 0px; -} -#userLog .log{ - margin:0.3em; - -moz-box-shadow: 0px 0px 3px #000; - -webkit-box-shadow: 0px 0px 3px #000; - box-shadow: 0px 0px 3px #000; - border-radius:0.5em;-moz-border-radius:0.5em;-webkit-border-radius:0.5em; - text-align:center; - padding: 0.3em; - font-size:0.9em; - color:black; - background-color:$primary; - border: 2px solid black; - background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.04) 75%, transparent 75%, transparent); -} -#userLog .log.info{ - background-color:grey; - color:white; -} -#userLog .log.ok{ - background-color:green; - border-color:black; - color:white; -} -#userLog .log.error{ - background-color:$primary; - border-color:yellow; -} -#main {} -#mainLegend{ - width:30%; - text-align:right; - float:right; - padding:1em; -} - -#Footer{ - border-top:2px solid #333; - padding-top: 2em; - padding-bottom: 80px; - position: relative; - z-index: 3; -} - -#Footer ul { -} - -#Footer ul li { - padding-right: 2em; -} - -#Footer a:hover { - opacity:0.6; -} - - -/****************************************************/ -.inline .link{display:block;padding:1em;} -/**** Liste ****/ -/**** EMISSIONS ****/ -#Emission .emission-detail .title{} -/* -*/ -#Emission-tabs-menu .sub{ - margin-bottom:1em; -} -/**** Detail ****/ -.emission-detail .metas{ - line-height:1.5em; - float: left; - width: 49%; - margin-top: 0; -} - -.emission-detail h4.subtitle { - margin-top: 1em; - font-weight: normal; - font-family: 'Reglo'; - text-transform: none; - float: left; -} - -.emission-detail ul.schedule { - margin-top: 0; - margin-bottom: 1em; - } - -.emission-detail ul.schedule .weekdiff { - font-size: 80%; -} - -.emission-detail article { - clear: both; -} - -.emission-detail .logo{ - float:right; - width: 50%; - margin-bottom: 1ex; -} -@media screen and (max-width: 300px) { - .emission-detail .metas { - float: none; - width: auto; - margin: 0; - } - .emission-detail .logo{max-width:100%;} -} -.emission .mainHeader { - overflow: hidden; - margin-bottom:1.5em; -} - -.emission .contacts { - clear: both; -} - -/**** Inline ****/ -.emission.inline, .emission.resume { - padding:1em 0 1em 0; -} - -.emission.inline div.date { - min-height: 3em; - text-align: center; - display:inline-block; - float:left; - margin-right:1em; -} -.emission .archived { - opacity:0.6; -} - -.emission .link .description { - margin: 0px 0 5px 0; - font-family: "RegloMedium"; -} - - -/**** EPISODE ****/ -/**** Detail ****/ - -.episode .tag{ -} -.episode.resume, .episode.inline{ - padding:1em 0.5em 1em; -} -.episode.inline .dateBloc, .episode.resume .dateBloc{ - float:left; -} -.episode.resume img { - border: 2px solid black; -} - -.episode.resume .title{ - margin-bottom:0.5em; -} -.episode.resume .logo{ - float: right; -} -.topik-link .logo, -.episode.inline .logo { - min-height: 50px; - float: left; - margin-right: 1em; -} -.episode.resume .sound{ - float:right; - margin:0 0 0.5em 0.5em; -} -.episode.inline .sound.right{ - text-align:center; - font-size:70%; - position: relative; - z-index: 10; -} -.episode.inline .sound.right button{ - font-size:1.5em; - display:inline; - text-align:center; - padding-bottom:0.05em; -} -.episode.resume .sound.right .icon-download{ - text-align:center; -} -.episode.resume .sound.right .icon-download{ - display:block; -} - -.big.icon-pause, -.big.icon-stop, -.big.icon-share { - display: inline-block; - vertical-align: middle; -} - -.episode.detail .logo.right{ - max-width:50%; -} - -.episode.resume .date .day, .emission-detail .date .day { -} - -.episode.resume .content { - padding-left: 5em; -} -.episode.resume .content .title { -} - -.episode.resume .logo { - margin:0 0 1em; - max-width:20%; -} -.episode.inline .date{ - font-size:80%; -} - -#Emission-tabs-menu .emissions-newsitems { - margin-bottom: 2em; -} - -#Emission-tabs-menu .emissions-newsitems ul.list li { - border: 0; -} - -#Emission-tabs-menu .futur-episodes h5, -#Emission-tabs-menu .recent-episodes h5 { - font-size: 1.2em; -} - -#Emission-tabs-menu #search-form { - margin-bottom: 1em; -} - -div.extra-soundfiles h3 { - margin-top: 1em; - font-size: 2.5em; -} - -div.extra-soundfiles ul li { - position: relative; -} - -div.extra-soundfiles ul li div.audio { - display: inline; - top: 5px; - right: 0; - position: absolute; - font-size: 60%; -} - -div.extra-soundfiles ul strong { - padding-right: 3em; -} - -@media screen and (max-width: 400px) { - .episode .dateBloc{ - width:4em; - font-size:80% - } - - .episode.resume .content { - padding-left: 4em; - } -} - -/****************************************************/ -/**** News ****/ - -#newsRoll { - max-width: 500px; -} - -#newsRoll li { - background: white; -} - -.newsRoll .title{ - background:black; - color:white; - bottom:0px; - opacity:0.9; - width:100%; - text-align: left; - font-family: "RegloBold"; - position: absolute; - left: 0; -} -.newsRoll .title div{ - padding: 1em; -} -.newsRoll a, .newsRoll button img{ - border:3px solid $secondary; -} - -.newsRoll .by3 button { - width: 100%; -} - -.soundfiles .special a, -.news .special a { - position: relative; -} - -.special .labels .item, -.newsRoll .labels .item{ - display:block; - background: $secondary; - color:white; - margin:0.1em; - font-size:0.9em; - padding:0.3em; -} -.newsList .current a{ - opacity:0.5; -} -/****************************************************/ -.list.news li { -} - -.soundfiles ul.custom li a, -.news ul.custom li a { max-width: 98%; } -.news li.item a {padding:1em;} - -.logo img{ - display:block; - border-style:solid; - border-width:3px; -} -ul.newsSpecial{ - border-bottom:3px solid #ccc; -} -@media only screen and (max-width: 970px) { - .columns {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;} -} - - -/****************************************************/ -/**** Home & ****/ -/****************************************************/ - -#Home #Nav .wrapper{ - max-width:auto !important; - width:auto !important; -} - -/* -@media screen and (max-width:800px){ - #Home .newsRoll .logo{ - max-width:100px; - } -} -@media screen and (max-width:600px){ - #Home .newsRoll .logo{ - max-width:50px; - } -} -*/ - -/****************************************************/ -/**** PROGRAM ****/ -/****************************************************/ - -.program.tabs nav ul li{ - display:table-cell; - width:14%; - text-align:center; -} - -.program.tabs nav ul li.week-arrow { - width: 1%; - padding-bottom: 5px; -} - -.program ul .dateBloc { - float:left; - padding-top:1em; -} -.program ul .schedule { - margin-left:5em; -} -.program .nonstop { - text-align:left; -} -.program-week .programDate{ - float:left; - width:3em; -} -.program-week .programCell{ - margin-left:3.5em; -} -.program-week .nonStop .programDate{ - visibility:hidden; -} -.program-week .nonStop .programCell{ - font-size:0.9em; - padding-left:50%; - text-align:right; -} -.program-week a.nonstop{ - font-size:0.9em; - margin:0.1em; -} -.program-week .inline,.program-week .resume{padding:0;} -.program-week .description{} - -.program-week .title { - color: black; - display: inline; -} - -.program-week .smooth { - color: #666; - opacity: 1.0; - font-size: 80%; - padding-bottom: 8px; -} - -.program-week .emission h5, -.program-week .smooth .title { - color: #333; - text-transform: uppercase; -} - -.program-week .description { - color: black; - font-size: 90%; -} - -.program-week .programCell:hover { - opacity: 0.5; -} - -#Changing .program-week .programCell a { - opacity: 1.0; -} - -#Changing .program-week .programCell .smooth a { - opacity: 0.5; -} - -#Changing .program-week .programCell .smooth h5 a { - opacity: 1.0; -} - - -/****************************************************/ -/**** SEARCH ****/ -/****************************************************/ - -.search li.previous-page { - margin-bottom: 2ex; - text-align: left; - margin-left: 0ex; - font-style: italic; -} - -.search li.next-page { - margin-top: 2ex; - text-align: right; - margin-right: 0; - font-style: italic; -} - -.search-filters { - text-align: justify; -} - - -/****************************************************/ -/**** GRILLE ****/ -/****************************************************/ - -#grid #Main {} -#grid th{ - color:#000; -} -#grid .heure { - height:50px !important; -} -#grid .heure.vertical { - padding:1.5em 0; -} -#grid .day { - padding:1em 0 1em 0; -} -#grid .nonstop { -} -#grid .item{ - padding:0.5em 0.2em 0.5em 0.2em; -} -#grid .cell hr { - border:1px dotted #ddd; - margin:0.3em; -} -#grid .time-label{ - margin-top:0.5em; -} - -#grid .highlighted,#grid .highlighted *{ - background:#333 !important; - color:white !important; -} - -#grid .highlighted,#grid .highlighted *{ - background:#333 !important; - color:white !important; -} -#Emissions li.item.normal{ - display:none; -} -#Emissions li.item.hightlighted{ - display:block !important; -} - -#gridNav span.category { - text-transform: none; -} - - -/**** Navigation for static pages ****/ - -#fiber-nav { - font-size: 150%; -} -#fiber-nav li, #fiber-nav li a { - display: block; -} -#fiber-nav ul{ - padding: 0.5em; -} -#fiber-nav li a{ - padding:0.5em; -} - -#fiber-content a { - text-decoration: underline; -} - -#fiber-content .episode a, -#fiber-content ul.list a { - text-decoration: none; -} - -#fiber-content a:hover { - text-decoration: none; -} - -.intro, -.userContent, -#fiber-content, -.content, -.content h5 { - line-height: 120%; -} - -.userContent strong, -#fiber-content strong { - text-transform: none; - font-family: "RegloBold"; - font-style: normal; -} - -.userContent em, -#fiber-content em { - font-family: inherit; - font-style: italic; -} - -/**** SCREEN SIZE ADAPTATIONS ****/ - html #main{ font-size: 70%; } -body { font-size: 18px;} -@media (max-width: 300px){ - body #All{ font-size: 80%; } -} - -@media (min-width: 300px) and (max-width:800px){ - body #All{ font-size: 85%; } -} - -@media (min-width: 700px) and (max-width:1000px){ - body #All{ font-size: 90%; } -} - -@media (min-width: 1000px) { - body #All{ font-size: 100%; } -} - -#subscribe-form { - position: relative; - margin-bottom: 2em; - padding-bottom: 2em; -} - -#Home #subscribe-form { - margin-bottom: 0; -} - -#subscribe-form ul.errorlist { - position: absolute; - bottom: -2em; - text-align: center; - display: block; - width: 100%; - padding: 0; - list-style: none; - color: #800; -} - -#subscribe-form input { - width: 15em; - max-width: none; -} - -#Nav div.search form { - padding: 1em 0; -} - -div.episode.resume div.title { - white-space: normal; -} - -#Home div.program.tabs { - margin: 1em 0; -} - -nav#program li { - display: block; - margin: 0; -} - -#recent-emissions, -#recent-news, -#recent-sounds { - margin-top: 2em; -} - -#recent-emissions h3, -#recent-news h3, -#recent-sounds h3 { - font-size: 140%; -} - -#recent-emissions h3.sectionLabel { - margin-bottom: 0; -} - -.episode.soundfile { - padding: 0; -} - -.soundfile .smooth { - color: #666; - opacity: 1.0; - font-size: 80%; -} - - -.soundfile p.date { - margin: 0; -} - -.frontpage.soundfile .audio { - font-size: 80%; - padding-top: 0.5ex; - padding-bottom: 1ex; -} - -#panikdb { - position: absolute; - top: -20px; - right: 0px; - background: white; - color: #888; - padding: 5px 10px; - border: 1px solid #888; - border-width: 1px 1px 0 1px; - -webkit-transform-origin: bottom right; - -webkit-transform: rotate(270deg); - -moz-transform-origin: bottom right; - -moz-transform: rotate(270deg); - transform-origin: bottom right; - transform: rotate(270deg); -} - -img.logo.right { - margin-bottom: 1em; -} - -.soundfile .special, -.newsitem .special { - margin-bottom: 2em; -} - -.newsitem .special .smooth { - padding-top: 5px; -} - -/* USER CONTENT */ - -div.userContent ul { - margin: 1em 0; -} - -div.userContent h1, -div.userContent h2, -div.userContent h3, -div.userContent h4 { - text-transform: none; - font-family: "Reglo"; - font-weight: normal; -} - -div.userContent h1 { font-size: 2em; } -div.userContent h2 { font-size: 1.8em; } -div.userContent h3 { font-size: 1.5em; } -div.userContent h4 { font-size: 1.5em; } -div.userContent a { text-decoration: underline; } - -div.userContent a.tag { text-decoration: none; } - -@media screen and (max-width: 760px) { - #streamSymbol{ - top: 0; - } - #MainHeader { - margin: 0 auto; - } - #All #backgroundBox h1.top { - width: 94%; - } - - #Player.withoutPlaylist #player-container #audioPlayer{ - margin:auto; - width:100%; - } - #Player.withoutPlaylist #player-container #audioPlayer #Live{ - font-size:150%; - } - - - #player-container { width:100%;left:0;border-width: 2px 0 0 0;border-style:solid;} - #player-container{ - background: $primary; - } - #player-container * {color: white !important; } - #player-container{ - z-index:500; - position:fixed; - width:100% !important; - /*top:2em;*/ - font-size:80%; - bottom:0em; - border-bottom:none; - } - #Player.withPlaylist #player-container #audioPlayer{ - float:left; - width:50%; - border-right:2px solid black; - } - #Player.withPlaylist #player-container #Playlist{ - float:right; - width:49%; - text-align:left; - } - #player-container #myPlaylist { - padding: 0; - } - - #player-container #myPlaylist a { - white-space: nowrap; - } - - #player-container #Playlist ol{ - margin-left: 30px; - } -} - -div.emission-logo { - margin-left: 1em; -} - -div.extra-soundfiles { - clear: both; -} - -h3.episode-subtitle { - font-size: 2.5em; -} - -.waveform { - display: none; - position: relative; -} - -.waveform span { - background: #3A3A3A; - background: rgba(10, 10, 10, 0.8); - display: inline-block; - width: 0.50%; -} - -.waveform span.done { - background: linear-gradient(to top, #3A3A3A 0%, #858585 80%); -} - -.waveform span.done.current + span { - background: $primary; -} - -.waveform i.duration { - position: absolute; - right: 4px; - bottom: 4px; - color: $primary; - text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; - font-style: normal; - font-weight: bold; -} - -span.timestamp { - cursor: pointer; - border-bottom: 1px dotted #666; -} - -div.fragment-sound { - position: relative; -} - -div.soundcell div.logo { - vertical-align: top; -} - -div.fragment-sound { -} - -div.extra-soundfiles div.fragment-sound { - margin-top: 5px; -} - -div.extra-soundfiles div.fragment-name { - font-style: italic; - position: relative; - top: 1ex; - max-width: 70%; -} - -div.extra-soundfiles ul li div.fragment-sound div.waveform { -} -div.extra-soundfiles ul li div.fragment-sound div.audio { - bottom: 0; -} - -#fiber-content div.extra-soundfiles strong { - text-transform: uppercase; - -} - -.nonstop-track-title, .nonstop-track-artist { - font-size: 80%; -} - -.soundfile-info { - padding-right: 75px; -} - -#fiber-content div.extra-soundfiles .soundfile-info strong { - padding-right: 0; -} - -#fiber-content div.extra-soundfiles .soundfile-info a { - text-decoration: none; -} - -#fiber-content div.extra-soundfiles { - margin: 1em 0; -} - -div.extra-soundfiles div.logo { - display: inline-block; -} - -div#fiber-content div.extra-soundfiles ul.list { - display: inline-block; - width: 88%; - width: calc(100% - 74px); -} - -div.download-links { - position: absolute; - z-index: 1000; - text-align: right; -} - -div.hidden-download-links { - display: none !important; -} - -div.episode-detail div.sound div.download-links { - display: inline-block; - padding-top: 1ex; - padding-left: 3em; -} - -div.extra-soundfiles div.download-links { - background: white; -} - -h1.top a.dimmed { - opacity: 0.7; -} - -div#agenda div.content-inline { - margin-bottom: 1em; -} - -div.previous-and-next-months { - margin-top: 1em; -} - -div.publication-date.date.smooth { - font-size: 80%; -} - -#All h1.top.fullwidth { - width: 150%; -} - -div.gallery img { - padding: 2px; - background: white; - border: 1px solid #333; -} - -div#dialog-background, -div.gallery div.first { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.9); - z-index: 1000; - text-align: center; -} - -div.gallery div.first img { - padding: 5px; - padding-bottom: 25px; - margin-top: -240px; - margin-left: -320px; - position: absolute; - top: 50%; - left: 50%; - transition: all 0.5s ease; - transform-origin: bottom left; -} - -div.portrait div.gallery div.first img { - margin-top: -320px; - margin-left: -240px; -} - -div.gallery { - border-bottom: 1px solid #ccc; -} - -div.gallery span.gallery-legend { - display: inline-block; - position: absolute; - top: 50%; - margin-top: 250px; - left: 0%; - width: 100%; - color: #000; - z-index: 1000; -} - -div.portrait div.gallery span.gallery-legend { - margin-top: 330px; -} - -div.gallery span.image { - display: inline-block; - cursor: pointer; -} - -@media screen and (max-width: 640px) { - div.portrait div.gallery div.first img, - div.gallery div.first img { - max-width: 80vw; - margin: 0; - max-height: 80vh; - left: 10vw; - top: 10vh; - display: inline-block; - } -} - -ul.tags { - padding-top: 1em; - clear: both; -} - -a.topik-link { - clear: both; - display: block; - margin-top: 1em; -} - -#fiber-content div.topikcellcontent a { - text-decoration: none; - height: 500px; -} - -#fiber-content div.cell.topik-large a { - height: auto; -} - -div.topikcellcontent h5 { - padding-top: 1ex; -} - -div.topik-large div.topikcellcontent a { - width: 100%; - float: none; - display: inline-block; - text-align: left; -} - -div.topik-large div.topikcellcontent img { - width: 100%; - display: block; -} - -div.topik-large div.topikcellcontent a div { - @media screen and (min-width: 760px) { - display: flex; - } - margin-top: 1ex; - h2 { - margin-top: 0; - white-space: nowrap; - margin-right: 1ex; - @media screen and (max-width: 760px) { - padding-bottom: 0; - } - } -} - -div.topikcellcontent a { - margin-bottom: 2em; - display: inline-block; - text-align: left; - width: 50%; - box-sizing: border-box; - padding-right: 2em; - float: left; -} - -div.topikcellcontent img { -} - -div.topikcellcontent h2 { - font-size: 3.5em; -} - -@media only screen and (min-width: 1250px) { - div.topikcellcontent a { - display: inline-block; - text-align: left; - width: 50%; - float: left; - } -} - -.program-week img.smooth { - padding-bottom: 0; -} - -div#dialog-background { - display: flex; -} -div#dialog-embed { - position: relative; - background: white; - width: 50%; - margin: auto; - text-align: left; - padding: 1ex; -} - -div#dialog-embed textarea { - width: 100%; - max-width: none; -} - -div#dialog-embed #close-button { - position: absolute; - right: 1ex; -} - -body#embed { - min-height: auto !important; - margin: 0; - background: white; -} - -body#embed #Main { - background: transparent; -} - -body#embed #Commons, -body#embed #metaNav, -body#embed #Footer, -body#embed #userLog, -body#embed #panikdb, -body#embed #Player { - display: none; -} - -body#embed #Changing { - float: none; - width: auto; -} - -body#embed #Main > .wrapper { - padding: 0; -} - -body#embed .logo { - padding-top: 4px; -} - -body#embed ul.custom { - display: inline-block; - width: calc(100% - 72px); -} - -body#embed ul.custom .soundfile-info { - padding: 1ex; -} - -body#embed span.fragment-title { - font-weight: normal; -} - -table.playlist { - width: 90%; -} - -table.playlist td { - padding: 0.5ex; - text-align: left; -} - -table.playlist td.tracktime { - width: 6ex; - text-align: center; -} - -p.playlist-disclaimer { - margin-top: 2em; - max-width: 60ex; - font-style: italic; -} - - -#main-topiks #fiber-nav li ul { - padding-top: 0; - padding-left: 2em; -} -#main-topiks #fiber-nav li ul li { - padding-left: 0; - font-size: 80%; -} - -#main-topiks #fiber-nav li ul li a { - padding-left: 0; -} - -div.commands { - display: flex; - width: 90vw; -} - -@media screen and (min-width:760px){ - div.commands { - width: calc(90vw - 240px); - } -} - -input#msg { - flex-grow: 1; -} - -div.chat-area { - max-width: 60em; -} - -#chat { - margin-top: 1ex; -} - -#chat div.msg { - position: relative; - margin-bottom: 1ex; - transition: opacity 1s ease; -} - -#chat div.msg.new { - opacity: 0; -} - -#chat div.msg.msg-out span.content { - font-size: 90%; - color: #444; -} - -#chat span.from { - display: inline-block; - width: 10rem; - overflow: hidden; - text-overflow: ellipsis; - color: #888; - position: absolute; -} -#chat span.content { - display: inline-block; - padding-left: 11rem; -} - -#chat div.msg.info span.content { - padding-left: 1rem; - font-style: italic; - color: #666; -} - -@media screen and (max-width: 760px) { - #chat span.from { - display: block; - position: static; - width: auto; - } - #chat span.content { - display: block; - padding-left: 2rem; - } -} - -h1.top > span.chat.with-logo { - position: relative; - left: 140px; - display: inline-block; - max-width: calc(100% - 140px); -} - -div.top-logo { - position: absolute; - top: 30px; -} - -div.top-logo img { - border: 2px solid black; -} - -@media screen and (max-width:760px){ - div.top-logo { - display: none; - } - h1.top > span.chat.with-logo { - position: static; - max-width: none; - } - div.topikcellcontent a { - width: auto; - } - #fiber-content div.topikcell a { - height: auto; - } -} - -div#CurrentlyChatting { - cursor: pointer; - margin-top: 1em; -} - -div.description-emission-chat { - margin-bottom: 2em; -} - -div.chatPart h3 { - padding-top: 0; -} - -div#chat.moderation .msg-in span.from { - cursor: pointer; -} - -div#chat.moderation .msg-in span.from:hover::after { - padding-left: 1ex; - font-family: FontAwesome; - content: "\f056"; - font-size: 80%; -} - -div.programCell a.playlist { - font-size: 80%; -} - -#bg-title { - display: none; - color: lighten($primary, 20); - font-family: 'Reglo'; - text-transform: uppercase; - line-height: 100%; - font-size: 250px; - font-size: 25vh; - position: absolute; - left: -260px; - top: 48vh; - z-index: 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: default; -} - -.rightPart .menucell { - ul { - list-style: none; - padding: 0; - li { - padding-bottom: 1rem; - } - } -} - -div#loading-page { - position: fixed; - top: 0; - left: 0; - right: 0; - height: 5px; - background: $secondary; - z-index: 1100; - animation-name: load_animation; - animation-duration: 6000ms; - animation-timing-function: ease-out; - transition: opacity 200ms linear; - &.fade { - opacity: 0; - } -} - -@keyframes load_animation { - 0% { right: 100%; } - 100% { right: 0%; } -} - -.episode-auto-selection-cell.hide-emission-titles { - .emission-title, .soundfile-info .sep { - display: none; - } -} diff --git a/panikweb_templates/static/css/_type.scss b/panikweb_templates/static/css/_type.scss deleted file mode 100644 index 5a4e581..0000000 --- a/panikweb_templates/static/css/_type.scss +++ /dev/null @@ -1,133 +0,0 @@ -@font-face { - font-family: 'RegloNormal'; - src: url('../reglo/RE01.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RegloMedium'; - src: url('../reglo/RE02-Medium.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RegloBold'; - src: url('../reglo/RE03-Bold.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RE04'; - src: url('../reglo/RE04-Bold.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RE05'; - src: url('../reglo/RE05-Bold.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RegloSymbol'; - src: url('../reglo/RE06.otf'); - font-weight: normal; - font-style: normal; - line-height: 0 !important; -} - -@font-face { - font-family: 'Reglo'; - src: url('../reglo/Reglo-Bold.otf'); - font-weight: normal; - font-style: normal; -} -@font-face { - font-family: 'Symbols'; - src: url('../reglo/RESYMBOL-resized.otf'); - font-weight: normal; - font-style: normal; -} -@font-face { - font-family: 'SymbolsResized'; - src: url('../reglo/RESYMBOL-resized.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'RegloScale'; - src: url('../reglo/RegloScaleBold.otf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: url('../fonts/Montserrat-Regular.ttf'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: url('../fonts/Montserrat-Bold.ttf'); - font-weight: bold; - font-style: normal; -} - -[class^="icon-"], -[class*=" icon-"]{ - /*font-size:1.3em;*/ -} -.resymbol{ - vertical-align: middle; - display: inline-block; - font-family: 'Symbols'; -} -.resymbol.big, .icons.big{ - font-size:2em; -} -.resymbol.huge, .icons.huge{ - font-size:3em; -} -.info:before,.warning:before,.error:before{ - font-family: FontAwesome; - display:inline-block; - margin-right:0.2em; -} -.info:before { - content: "\f05a"; -} -.warning:before { - content: "\f071"; -} -.error:before { - content: "\f056 "; -} -.checked:before { - content: "\f056 "; -} - -.icon-communautaire:before { - content: "▲"; /* ▴ */ -} -.icon-musique:before { - content: "△"; /* ▵ */ -} -.icon-creation:before { - content: "○"; /* ○ */ -} -.icon-agenda-culturel:before { - content: "●"; /* ● */ -} -.icon-infodebats:before { - content: "■"; /* ■ */ - /*content: "□ "; □ */ -} - diff --git a/panikweb_templates/static/css/style.scss b/panikweb_templates/static/css/style.scss deleted file mode 100644 index e54f583..0000000 --- a/panikweb_templates/static/css/style.scss +++ /dev/null @@ -1,8 +0,0 @@ -$very-small-limit: 400px; -$mobile-limit: 760px; - -@import 'reset'; -@import 'type'; -@import 'general'; -@import 'grid'; -@import 'specifics'; diff --git a/panikweb_templates/static/fonts/Montserrat-Bold.ttf b/panikweb_templates/static/fonts/Montserrat-Bold.ttf deleted file mode 100644 index ae33a45..0000000 Binary files a/panikweb_templates/static/fonts/Montserrat-Bold.ttf and /dev/null differ diff --git a/panikweb_templates/static/fonts/Montserrat-Regular.ttf b/panikweb_templates/static/fonts/Montserrat-Regular.ttf deleted file mode 100644 index 5b4b5af..0000000 Binary files a/panikweb_templates/static/fonts/Montserrat-Regular.ttf and /dev/null differ diff --git a/panikweb_templates/static/img/LogoPanik.jpg b/panikweb_templates/static/img/LogoPanik.jpg deleted file mode 100644 index ff4bc8d..0000000 Binary files a/panikweb_templates/static/img/LogoPanik.jpg and /dev/null differ diff --git a/panikweb_templates/static/img/Radio_Panik_Logo_2016-01.png b/panikweb_templates/static/img/Radio_Panik_Logo_2016-01.png deleted file mode 100644 index 3bcd0ec..0000000 Binary files a/panikweb_templates/static/img/Radio_Panik_Logo_2016-01.png and /dev/null differ diff --git a/panikweb_templates/static/img/actu.png b/panikweb_templates/static/img/actu.png deleted file mode 100644 index 76e39e2..0000000 Binary files a/panikweb_templates/static/img/actu.png and /dev/null differ diff --git a/panikweb_templates/static/img/defaultLogo.png b/panikweb_templates/static/img/defaultLogo.png deleted file mode 100644 index 5e5d18d..0000000 Binary files a/panikweb_templates/static/img/defaultLogo.png and /dev/null differ diff --git a/panikweb_templates/static/img/emission.png b/panikweb_templates/static/img/emission.png deleted file mode 100644 index b71efb2..0000000 Binary files a/panikweb_templates/static/img/emission.png and /dev/null differ diff --git a/panikweb_templates/static/img/episode.png b/panikweb_templates/static/img/episode.png deleted file mode 100644 index 7ec7cad..0000000 Binary files a/panikweb_templates/static/img/episode.png and /dev/null differ diff --git a/panikweb_templates/static/img/favicon-16.png b/panikweb_templates/static/img/favicon-16.png deleted file mode 100644 index 30ef6a2..0000000 Binary files a/panikweb_templates/static/img/favicon-16.png and /dev/null differ diff --git a/panikweb_templates/static/img/favicon-32.png b/panikweb_templates/static/img/favicon-32.png deleted file mode 100644 index 9bdbcff..0000000 Binary files a/panikweb_templates/static/img/favicon-32.png and /dev/null differ diff --git a/panikweb_templates/static/img/favicon-48.png b/panikweb_templates/static/img/favicon-48.png deleted file mode 100644 index 3c294b0..0000000 Binary files a/panikweb_templates/static/img/favicon-48.png and /dev/null differ diff --git a/panikweb_templates/static/img/favicon.png b/panikweb_templates/static/img/favicon.png deleted file mode 100644 index 64aa09e..0000000 Binary files a/panikweb_templates/static/img/favicon.png and /dev/null differ diff --git a/panikweb_templates/static/img/logo-2016.png b/panikweb_templates/static/img/logo-2016.png deleted file mode 100644 index b7c90da..0000000 Binary files a/panikweb_templates/static/img/logo-2016.png and /dev/null differ diff --git a/panikweb_templates/static/img/logo-panik-500-invert.png b/panikweb_templates/static/img/logo-panik-500-invert.png deleted file mode 100644 index 64ff785..0000000 Binary files a/panikweb_templates/static/img/logo-panik-500-invert.png and /dev/null differ diff --git a/panikweb_templates/static/img/logo-panik-500.png b/panikweb_templates/static/img/logo-panik-500.png deleted file mode 100644 index 0aca001..0000000 Binary files a/panikweb_templates/static/img/logo-panik-500.png and /dev/null differ diff --git a/panikweb_templates/static/img/logo-panik.png b/panikweb_templates/static/img/logo-panik.png deleted file mode 100644 index 90fd8ac..0000000 Binary files a/panikweb_templates/static/img/logo-panik.png and /dev/null differ diff --git a/panikweb_templates/static/img/logo.jpg b/panikweb_templates/static/img/logo.jpg deleted file mode 100644 index 7ec2a3d..0000000 Binary files a/panikweb_templates/static/img/logo.jpg and /dev/null differ diff --git a/panikweb_templates/static/img/logoPanik.png b/panikweb_templates/static/img/logoPanik.png deleted file mode 100644 index 57169b0..0000000 Binary files a/panikweb_templates/static/img/logoPanik.png and /dev/null differ diff --git a/panikweb_templates/static/img/logoPanikBW.png b/panikweb_templates/static/img/logoPanikBW.png deleted file mode 100644 index 7820f3c..0000000 Binary files a/panikweb_templates/static/img/logoPanikBW.png and /dev/null differ diff --git a/panikweb_templates/static/img/sound.png b/panikweb_templates/static/img/sound.png deleted file mode 100644 index f3ec86e..0000000 Binary files a/panikweb_templates/static/img/sound.png and /dev/null differ diff --git a/panikweb_templates/static/js/audioPlayer.js b/panikweb_templates/static/js/audioPlayer.js deleted file mode 100644 index 3f039c3..0000000 --- a/panikweb_templates/static/js/audioPlayer.js +++ /dev/null @@ -1,293 +0,0 @@ -(function($) { - var thePlaylist; - $.widget( "panik.playlist", { - /* - sound = { - source :{ - ogg:"oggURL", - mp3:"mp3URL" - }, - emission: "episode.slug", - episode: "episode.slug", - id:"" - } - */ - options: { - playlist: [], - html5audioOptions:{controls:true,preload:"none"}, - classes: "", - itemClasses: "", - controlContainer: $('
    '), - playlistContainer: $('
      '), - onLoad: function(){}, - onAdd: function(){}, - onPlay: function(){}, - onUpdate: function(){}, - }, - _create: function() { - // Initialization logic here - thePlaylist = this; - this.isActive = false; - this.isLastAdd = false; - this.controlButtons = [] - this.debugContainer = $('
      ').hide();
      -			this.controlContainer = this.options.controlContainer;
      -			this.playlistContainer = this.options.playlistContainer;
      -			this.element.addClass(this.options.classes);	
      -			this.element.append(this.controlContainer);	
      -			this.element.append(this.playlistContainer);
      -			this.element.append(this.debugContainer);
      -			this.playlist = this.options.playlist;
      -			this.buildPlaylistControls();
      -			this.loadPlaylist();
      -			this._update();
      -			this.options.onLoad(this);
      -		},
      -
      -		_setOption: function( key, value ) {
      -			this.options[ key ] = value;
      -			this._update();
      -		},
      -		_update: function() {	
      -			this.playlist = [];	
      -			this.playlistContainer.find('audio').each(function(){
      -				thePlaylist.playlist.push(thePlaylist.jsonifyAudio($(this)));
      -			});
      -			this.debugContainer.text(
      -		 		JSON.stringify(this.playlist, null, '\t')
      -			);
      -			this.savePlaylist();
      -			this.options.onUpdate(this);
      -			return this.playlist;
      -		},
      -		_reset: function() {	
      -			this.isActive =false;
      -			this.stopSounds();
      -			this.playlistContainer.find('*').remove();
      -			this._update();
      -		},
      -		savePlaylist: function(){
      -			var JSONPlaylist = JSON.stringify(this.playlist, null, '\t');
      -			if (localStorage !== null && localStorage !== undefined) {
      -				localStorage['playlist'] = JSON.stringify(this.playlist, null, '\t');
      -			}
      -		},
      -		loadPlaylist: function(){
      -			if (localStorage !== null && localStorage !== undefined) {
      -				this.playlist = localStorage['playlist']?JSON.parse(localStorage['playlist']):this.playlist;
      -			}
      -			$.each(this.playlist,function(k,v){
      -				thePlaylist.playlistContainer.append(thePlaylist._htmlifyJsonSound(v));
      -			});
      -			return this.playlist;
      -		},
      -		// Transform HTML5 
    - - - -
    -
    -
    -{% else %} - -

    -Ce chat n'est pour le moment pas ouvert. -

    - -{% endif %} - - - - -
    -

    Quelques règles de bonne conduite quand même.

    -

    - Ici comme ailleurs on est des grandes personnes, on évite les - propos injurieux, sexistes, homophobes, racistes, etc. -

    -

    - On garde la violence pour l'état. -

    -

    - En cas de problème, n'hésitez pas à contacter le conseil - d'administration de la radio, ca-panik@radiopanik.org. -

    -
    - - - -{% endblock %} -{% block links %} -{% endblock %} - diff --git a/panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html b/panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html deleted file mode 100644 index d66216c..0000000 --- a/panikweb_templates/templates/combo/cells/alimentation/episode_auto_selection.html +++ /dev/null @@ -1,34 +0,0 @@ -{% load paniktags thumbnail staticfiles %} -{% if title and episodes %}

    {{title}}

    {% endif %} -{% for episode in episodes %} -
    - -
    - {% if episode.main_sound %} -
    {% audio sound=episode.main_sound %}
    - {% endif %} - - {% if episode.text %} -
    - {{ episode.text|safe|striptags|truncatewords:35 }} -
    - {% endif %} -
    -
    -{% endfor %} diff --git a/panikweb_templates/templates/combo/cells/topik-large/link-cell.html b/panikweb_templates/templates/combo/cells/topik-large/link-cell.html deleted file mode 100644 index 482ace7..0000000 --- a/panikweb_templates/templates/combo/cells/topik-large/link-cell.html +++ /dev/null @@ -1,18 +0,0 @@ -{% load thumbnail %} - diff --git a/panikweb_templates/templates/combo/cells/topik/link-cell.html b/panikweb_templates/templates/combo/cells/topik/link-cell.html deleted file mode 100644 index 886a490..0000000 --- a/panikweb_templates/templates/combo/cells/topik/link-cell.html +++ /dev/null @@ -1,18 +0,0 @@ -{% load thumbnail %} - diff --git a/panikweb_templates/templates/combo/gallerycell.html b/panikweb_templates/templates/combo/gallerycell.html deleted file mode 100644 index 49451a9..0000000 --- a/panikweb_templates/templates/combo/gallerycell.html +++ /dev/null @@ -1,28 +0,0 @@ -{% load thumbnail %} -{% if cell.title %}

    {{ cell.title }}

    {% endif %} - diff --git a/panikweb_templates/templates/combo/page_template_about.html b/panikweb_templates/templates/combo/page_template_about.html deleted file mode 100644 index 40c46a6..0000000 --- a/panikweb_templates/templates/combo/page_template_about.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "base.html" %} -{% load combo %} - -{% block title %}{{ page.title }}{% endblock %} - -{% block toptitle %} -

    À propos

    -{% endblock %} - -{% block nav %} -
    -
    - -
    -
    -{% endblock %} - -{% block main %} - - - -{% endblock %} diff --git a/panikweb_templates/templates/combo/page_template_full_width.html b/panikweb_templates/templates/combo/page_template_full_width.html deleted file mode 100644 index 4b3239f..0000000 --- a/panikweb_templates/templates/combo/page_template_full_width.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "base.html" %} -{% load combo %} - -{% block title %}{{ page.title }}{% endblock %} - -{% block toptitle %} -

    {{ page.title }}

    -{% endblock %} - -{% block nav %} -
    -
    -{% endblock %} - -{% block main %} - -
    -
    -
    {% placeholder "content" %}
    -
    -
    - -{% endblock %} diff --git a/panikweb_templates/templates/combo/page_template_sidebar.html b/panikweb_templates/templates/combo/page_template_sidebar.html deleted file mode 100644 index 03ceb98..0000000 --- a/panikweb_templates/templates/combo/page_template_sidebar.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "base.html" %} -{% load combo %} - -{% block title %}{{ page.title }}{% endblock %} - -{% block toptitle %} -

    {{ page.get_parents_and_self.0.title }}

    -{% endblock %} - -{% block nav %} -{% endblock %} - -{% block main %} - - - -{% endblock %} diff --git a/panikweb_templates/templates/combo/topik_menu_item.html b/panikweb_templates/templates/combo/topik_menu_item.html deleted file mode 100644 index 55a7028..0000000 --- a/panikweb_templates/templates/combo/topik_menu_item.html +++ /dev/null @@ -1,24 +0,0 @@ -{% load combo paniktags thumbnail %} -
  • - -
  • diff --git a/panikweb_templates/templates/emissions.html b/panikweb_templates/templates/emissions.html deleted file mode 100644 index 21e9d09..0000000 --- a/panikweb_templates/templates/emissions.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base.html" %} -{% load paniktags i18n %} -{% block bodyID %}Emissions{% endblock %} -{% block title %}Émissions{% endblock %} -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav with klass="emissions" %} - -{% endblock %} -{% block main %} -
    - -
    -
      - {% for emission in emissions %} -
    • {% emission_resume %}
    • - {% endfor %} -
    -
    -
    -{% endblock %} diff --git a/panikweb_templates/templates/emissions/archives.html b/panikweb_templates/templates/emissions/archives.html deleted file mode 100644 index 300a3e2..0000000 --- a/panikweb_templates/templates/emissions/archives.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "emissions.html" %} -{% load paniktags i18n%} -{% block bodyID %}Emissions{% endblock %} -{% block title %}Archives{% endblock %} -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav with klass="archives" %} - -{% endblock %} diff --git a/panikweb_templates/templates/emissions/detail.html b/panikweb_templates/templates/emissions/detail.html deleted file mode 100644 index 36e037c..0000000 --- a/panikweb_templates/templates/emissions/detail.html +++ /dev/null @@ -1,49 +0,0 @@ -{% load i18n paniktags %} -
    -
    - {% if schedules or emission.subtitle %} -
    - {% if schedules %} -
      - {% for schedule in schedules %} -
    • - {{ schedule.datetime|date:"l G:i" }} - {% if schedule.weeks_string %} - ({{ schedule.weeks_string }}) - {% endif %} - {% if schedule.rerun %} (rediff) {% endif %} -
    • - {% endfor %} -
    - {% endif %} - {% if emission.subtitle %} -

    {{ emission.subtitle }}

    - {% endif %} -
    - {% endif %} - {% if emission.image %} - - {% endif %} - - {% if emission.text %} - {{ emission.text|safe}} - {% endif %} -
    - {% if emission.email or emission.website %} -
    - {% if emission.email %} - - {% endif %} - {% if emission.website %} - - {% endif %} -
    - {% endif %} -
    - diff --git a/panikweb_templates/templates/emissions/emission_detail.html b/panikweb_templates/templates/emissions/emission_detail.html deleted file mode 100644 index 226dd17..0000000 --- a/panikweb_templates/templates/emissions/emission_detail.html +++ /dev/null @@ -1,129 +0,0 @@ -{% extends "emissions.html" %} -{% load paniktags staticfiles i18n thumbnail %} -{% block bodyID %}Emissions{% endblock %} -{% block title %}{{ emission.title }}{% endblock %} - -{% block head %} - - -{% if emission.image %} - - - -{% else %} - - - -{% endif %} -{% if emission.subtitle %} - - -{% else %} - - -{% endif %} -{% endblock %} - -{% block podcasts-feed %} - -{% endblock %} - -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav %} -{% endblock %} -{% block main %} - -{% endblock %} - -{% block links %} -{% endblock %} - -{% block related %} -{% related_objects object=emission %} -{% endblock %} diff --git a/panikweb_templates/templates/emissions/episode_detail.html b/panikweb_templates/templates/emissions/episode_detail.html deleted file mode 100644 index dc4f362..0000000 --- a/panikweb_templates/templates/emissions/episode_detail.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "emissions/emission_detail.html" %} -{% load paniktags staticfiles soundfiles %} -{% block title %}{{ episode.title }} - {{ episode.emission.title }} {% endblock %} - -{% block head %} - - -{% if episode.image %} - - - -{% elif episode.emission.image %} - - - -{% else %} - - - -{% endif %} -{% if episode.subtitle %} - - -{% else %} - - -{% endif %} -{% if episode.main_sound %} - - -{% endif %} -{% endblock %} - -{% block related %} -{% related_objects object=episode %} -{% endblock %} diff --git a/panikweb_templates/templates/emissions/episodes.html b/panikweb_templates/templates/emissions/episodes.html deleted file mode 100644 index 5bcae80..0000000 --- a/panikweb_templates/templates/emissions/episodes.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "emissions/emission_detail.html" %} -{% load paniktags %} -{% block nav %} - {% emission_nav klass "episodes" %} -{% endblock %} - -{% block main %} -
    - - {% if search_query and not episodes %} -
    Manque de pot, pas de résultats à cette recherche !
    - {% endif %} - - {% if search_query and episodes or episodes.count <= 24 %} - - {% else %} -
    - {% if episodes %} - {% with episodes as episodes %} - {% regroup episodes by first_diffusion|date:"F Y"|capfirst as month_list %} -
    - {% for month in month_list %} -
    -
    > {{ month.grouper }}
    -
      = 3 %}style="display:none;"{% endif %} - > - {% for episode in month.list %} -
    • {% episode_resume model="inline" date="daytime" %}
    • - {% endfor %} -
    -
    - {% endfor %} -
    - {% endwith %} - {% endif %} -
    - {% endif %} -
    -{% endblock %} diff --git a/panikweb_templates/templates/emissions/nav.html b/panikweb_templates/templates/emissions/nav.html deleted file mode 100644 index e9fd833..0000000 --- a/panikweb_templates/templates/emissions/nav.html +++ /dev/null @@ -1,56 +0,0 @@ -{% load i18n %} - -
    -
    - -
    -
    -{% if categories %} -
    - -
    -{% endif %} -{% if emission %} - - -{% endif %} diff --git a/panikweb_templates/templates/emissions/newsitem_detail.html b/panikweb_templates/templates/emissions/newsitem_detail.html deleted file mode 100644 index ed46904..0000000 --- a/panikweb_templates/templates/emissions/newsitem_detail.html +++ /dev/null @@ -1,99 +0,0 @@ -{% extends "news.html" %} -{% load i18n staticfiles paniktags %} -{% block title %}{{ newsitem.title }}{% endblock %} - -{% block toptitle %} -

    {% trans 'News' %}

    -{% endblock %} - -{% block head %} - - - - -{% if newsitem.image %} - - - -{% else %} - - - -{% endif %} -{% endblock %} - - -{% block main %} -
    - -
    -{% endblock %} - -{% block related %} -{% related_objects object=newsitem %} -{% endblock %} diff --git a/panikweb_templates/templates/emissions/resume.html b/panikweb_templates/templates/emissions/resume.html deleted file mode 100644 index df832fe..0000000 --- a/panikweb_templates/templates/emissions/resume.html +++ /dev/null @@ -1,39 +0,0 @@ -{% load thumbnail staticfiles %} -
    - -
    diff --git a/panikweb_templates/templates/emissions/search_result.html b/panikweb_templates/templates/emissions/search_result.html deleted file mode 100644 index f1f343e..0000000 --- a/panikweb_templates/templates/emissions/search_result.html +++ /dev/null @@ -1,6 +0,0 @@ - - - {{ result.title }} -
    - {% if result.subtitle %}{{ result.subtitle }}{% else %} {% endif %} -
    diff --git a/panikweb_templates/templates/episodes/detail.html b/panikweb_templates/templates/episodes/detail.html deleted file mode 100644 index 80d8c69..0000000 --- a/panikweb_templates/templates/episodes/detail.html +++ /dev/null @@ -1,93 +0,0 @@ -{% load thumbnail paniktags %} -
    - {% if episode.first_diffusion %} -
    -
    -
    - {{ episode.first_diffusion|date:"D"|slice:":2"}} -
    -
    - {{ episode.first_diffusion|date:"d" }} -
    - {% if date != "daytime" %} -
    - {{ episode.first_diffusion|date:"M y" }} -
    - {% endif %} -
    - {{ episode.first_diffusion|date:"H:i" }} -
    -
    -
    - {% endif %} - {% if diffusions %} -
    -

    {{ episode.title }}

    - {% if episode.subtitle %} -

    {{ episode.subtitle }}

    - {% endif %} - {% if diffusions|length > 1 %} -
    Diffusions
    - {% else %} -
    Diffusion
    - {% endif %} -
      - {% for schedule in diffusions %} -
    • {{ schedule.datetime|date:"l d M Y à H:i" }}
    • - {% endfor %} -
    -
    - {% endif %} - {% if episode.main_sound %} -
    - {% audio sound=episode.main_sound %} -
    - {% endif %} -
    - {% if episode.image %} - {% thumbnail episode.image "640x480" crop="50% 25%" as im %} - - {% endthumbnail %} - {% endif %} - {% if episode.text %} -
    - {{ episode.text|safe}} -
    - {% endif %} -
    -{% block topik %} -{% for topik in topik_pages %} - {% topik topik=topik %} -{% endfor %} -{% endblock %} - -
    - {% if episode.serie or episode.auteur or episode.redif %} -
    - {% if episode.serie %}
    Serie
    {{ serie }}
    {% endif %} - {% if episode.auteur %}
    Auteur
    {{ auteur }}
    {% endif %} - {% if episode.redif %}
    Redifusion
    {{ redif }}
    {% endif %} -
    - {% endif %} - {% if episode.tags.all %} -
      - {% for tag in episode.tags.all %} -
    • {{ tag }}
    • - {% endfor %} -
    - {% endif %} -
    - - {% if soundfiles.count %} -
    -

    Fragments sonores

    -
      - {% for soundfile in soundfiles %} -
    • {{ soundfile.title }} {% audio sound=soundfile %} -
    • - {% endfor %} -
    -
    - {% endif %} - -
    diff --git a/panikweb_templates/templates/episodes/inline.html b/panikweb_templates/templates/episodes/inline.html deleted file mode 100644 index 0fa4534..0000000 --- a/panikweb_templates/templates/episodes/inline.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load thumbnail paniktags staticfiles %} -
    - -
    - {% if episode.main_sound %} -
    {% audio sound=episode.main_sound %}
    - {% endif %} -
    -
    diffusion le {{ episode.first_diffusion|date:"d/m/Y" }}
    -
    - {{ episode.title }} -
    -
    - {% if episode.subtitle %} -
    - {{ episode.subtitle|truncatewords:20}} -
    - {% elif episode.text %} -
    - {{ episode.text|safe|striptags|truncatewords:20}} -
    - {% endif %} -
    -
    diff --git a/panikweb_templates/templates/episodes/resume.html b/panikweb_templates/templates/episodes/resume.html deleted file mode 100644 index 8ddea39..0000000 --- a/panikweb_templates/templates/episodes/resume.html +++ /dev/null @@ -1,95 +0,0 @@ -{% load thumbnail paniktags staticfiles %} -
    - {% if date != False %} -
    -
    -
    - {{ episode.first_diffusion|date:"D"|slice:":2"}} -
    -
    - {{ episode.first_diffusion|date:"d" }} -
    - {% if date != "daytime" %} -
    - {{ episode.first_diffusion|date:"M y" }} -
    - {% endif %} -
    - {{ episode.first_diffusion|date:"H:i" }} -
    -
    -
    - {% endif %} - -
    - - {% if episode.main_sound %} -
    {% audio sound=episode.main_sound %}
    - {% endif %} -
    -
    - {{ episode.title }} -
    -
    - {% if class == "standalone" %} -
    - {{ episode.emission.title }} -
    - {% if episode.emission.categories %} - - {% for category in episode.emission.categories.all %} - {% if forloop.counter > 1 %} - {% endif %}{{category}} - {% endfor%} - - {% endif %} - {% endif %} -
    -
    - - {% if model == "inline" %} - - {% else %} - {% if episode.subtitle %} -
    - {{ episode.subtitle|truncatewords:50 }} -
    - {% elif episode.text %} -
    - {{ episode.text|safe|truncatewords:50}} -
    - {% endif %} - {% endif %} -
    -
    diff --git a/panikweb_templates/templates/episodes/search_result.html b/panikweb_templates/templates/episodes/search_result.html deleted file mode 100644 index 0fe7561..0000000 --- a/panikweb_templates/templates/episodes/search_result.html +++ /dev/null @@ -1,6 +0,0 @@ - - - {{ result.title }} -
    - {{ result.emission_title }} -
    diff --git a/panikweb_templates/templates/feed/newsitem.html b/panikweb_templates/templates/feed/newsitem.html deleted file mode 100644 index 3b969ae..0000000 --- a/panikweb_templates/templates/feed/newsitem.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load paniktags thumbnail %} -{% if obj.image %} -{% thumbnail obj.image "320x240" crop="50% 25%" as im %} - -{% endthumbnail %} -{% endif %} - -{% autoescape off %} -{{ obj.text|set_absolute_urls }} -{% endautoescape %} diff --git a/panikweb_templates/templates/feed/soundfile.html b/panikweb_templates/templates/feed/soundfile.html deleted file mode 100644 index 866e6be..0000000 --- a/panikweb_templates/templates/feed/soundfile.html +++ /dev/null @@ -1,14 +0,0 @@ -{% load paniktags thumbnail %} -{% if obj.fragment %} -{{ obj.title }} -
    -{% endif %} -{% if obj.episode.image %} -{% thumbnail obj.episode.image "320x240" crop="50% 25%" as im %} - -{% endthumbnail %} -{% endif %} - -{% autoescape off %} -{{ obj.episode.text|set_absolute_urls }} -{% endautoescape %} diff --git a/panikweb_templates/templates/grid.html b/panikweb_templates/templates/grid.html deleted file mode 100644 index 0ea270b..0000000 --- a/panikweb_templates/templates/grid.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "emissions.html" %} -{% load paniktags i18n %} -{% block bodyID %}Grid{% endblock %} -{% block title %}{% trans 'Grid' %}{% endblock %} -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav with klass="grid" %} -{% endblock %} -{% block main %} - -
    - - - - - {% for weekday in weekdays %} - - {% endfor %} - - - {% for time_header, time_cells in times|zip:grid %} - - - {% for cell in time_cells %} - - {% endfor %} - - - {% endfor %} - -

    {{ weekday }}
    {{ time_header }} 1 %}colspan="{{cell.w}}"{% endif %} - {% if cell.h > 1 %}rowspan="{{cell.h}}"{% endif %}> - {% if cell.time_label %} -
    {{ cell.time_label }}
    - {% endif %} - {% if cell.schedules %} - {% for schedule in cell.sorted_schedules %} - {% if forloop.first == False and cell.schedules|length > 1 %}
    {% endif %} -
    - - - - {{ schedule.emission.title }} - - -
    - {% if schedule.weeks_string or schedule.time_label %} - {% spaceless %} - ( - {% if schedule.time_label %} - {{ schedule.time_label }} - {% if schedule.weeks_string %}, {% endif %} - {% endif %} - {% if schedule.weeks_string %} - {{ schedule.weeks_string }} - {% endif %} - {% if schedule.time_label_extra %} - {{ schedule.time_label_extra }} - {% endif %} - ) - {% endspaceless %} - {% endif %} - -
    - {% endfor %} - {% else %} - - {% if cell.w > 1 and cell.h > 1%}

    la musique en continu

    {% endif %} - {% endif %} -
    {{ time_header }}
    -
    -{% endblock %} - -{% block news %} -{% endblock %} - diff --git a/panikweb_templates/templates/home.html b/panikweb_templates/templates/home.html deleted file mode 100644 index bd97881..0000000 --- a/panikweb_templates/templates/home.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends "base.html" %} -{% load paniktags staticfiles i18n %} -{% block bodyID %}Home{% endblock %} -{% block title %}{% trans 'Home' %}{% endblock %} - -{% block head %} -{{ block.super }} - -{% endblock %} - -{% block main %} - - - -{% endblock %} diff --git a/panikweb_templates/templates/includes/audio.html b/panikweb_templates/templates/includes/audio.html deleted file mode 100644 index 673452d..0000000 --- a/panikweb_templates/templates/includes/audio.html +++ /dev/null @@ -1,84 +0,0 @@ -{% load soundfiles paniktags i18n %} -{% if sound|is_format_available:'mp3' or sound|is_format_available:'ogg' %} -
    - {% if not embed %} - - {% endif %} - - {% if embed %} - - {% endif %} - - - {% if not embed %} - - {% endif %} -
    - {% if display_fragment_name %} -
    - {{ sound.title }} -
    - {% endif %} - -
    -{% else %} - -{% endif%} diff --git a/panikweb_templates/templates/includes/metaNav.html b/panikweb_templates/templates/includes/metaNav.html deleted file mode 100644 index 17d503d..0000000 --- a/panikweb_templates/templates/includes/metaNav.html +++ /dev/null @@ -1,40 +0,0 @@ -{% load i18n %} - diff --git a/panikweb_templates/templates/includes/path.html b/panikweb_templates/templates/includes/path.html deleted file mode 100644 index 2087ab6..0000000 --- a/panikweb_templates/templates/includes/path.html +++ /dev/null @@ -1 +0,0 @@ -

    Home - Les émissions - {{ emission.title }}

    diff --git a/panikweb_templates/templates/includes/piwik.html b/panikweb_templates/templates/includes/piwik.html deleted file mode 100644 index 616f0e5..0000000 --- a/panikweb_templates/templates/includes/piwik.html +++ /dev/null @@ -1,17 +0,0 @@ -{% if enabled %} - - - -{% endif %} diff --git a/panikweb_templates/templates/includes/player.html b/panikweb_templates/templates/includes/player.html deleted file mode 100644 index 56bfc6d..0000000 --- a/panikweb_templates/templates/includes/player.html +++ /dev/null @@ -1,42 +0,0 @@ -{% load i18n paniktags %} -
    -
    -
    -
    -
    - - -
    -
    -
    -
    {% trans 'live' %}
    -
    -
    - -
    - - -
    -
    -
    - -
    -
    - -
    diff --git a/panikweb_templates/templates/includes/related.html b/panikweb_templates/templates/includes/related.html deleted file mode 100644 index 40eed4b..0000000 --- a/panikweb_templates/templates/includes/related.html +++ /dev/null @@ -1,20 +0,0 @@ -{% load paniktags %} -
    -
    -

    Suggestions

    - -
      - - {% for result in more_like_this %} - {% if result.title %} -
    • - {% search_result_template result %} -
    • - {% endif %} - {% endfor %} - - -
    - -
    -
    diff --git a/panikweb_templates/templates/includes/topik.html b/panikweb_templates/templates/includes/topik.html deleted file mode 100644 index 784f412..0000000 --- a/panikweb_templates/templates/includes/topik.html +++ /dev/null @@ -1,17 +0,0 @@ -{% load thumbnail paniktags staticfiles %} - -
    - -
    -
    -
    {{ page.title }}
    -
    -
    -
    -
    -
    -
    diff --git a/panikweb_templates/templates/includes/week-nav.html b/panikweb_templates/templates/includes/week-nav.html deleted file mode 100644 index 2e16eab..0000000 --- a/panikweb_templates/templates/includes/week-nav.html +++ /dev/null @@ -1,13 +0,0 @@ -
    - -
    diff --git a/panikweb_templates/templates/includes/week.html b/panikweb_templates/templates/includes/week.html deleted file mode 100644 index 71f925f..0000000 --- a/panikweb_templates/templates/includes/week.html +++ /dev/null @@ -1,26 +0,0 @@ -{% load paniktags %} -
    - - {% for day in days %} -
    -
      - {% for cell in day.cells %} -
    • -
      {{ cell.datetime|date:"H:i" }}
      -
      - {% if cell.episode %} - {% with cell.episode as episode %}{% episode_resume model="inline" klass="standalone" date=False %}{% endwith %} - {% elif cell.emission %} - {% with cell.emission as emission %}{% emission_resume %}{% endwith %} - {% else %} - {{ cell.label }} - Musique en continu - playlist - {% endif %} -
      -
    • - {% empty %} -
    • Non stop only!
    • - {% endfor %} -
    -
    - {% endfor %} -
    diff --git a/panikweb_templates/templates/listen.html b/panikweb_templates/templates/listen.html deleted file mode 100644 index c7153df..0000000 --- a/panikweb_templates/templates/listen.html +++ /dev/null @@ -1,88 +0,0 @@ -{% extends "base.html" %} -{% load paniktags staticfiles thumbnail i18n %} -{% block title %}{% trans 'Sounds' %}{% endblock %} -{% block toptitle %} -

    {% trans 'Sounds' %}

    -{% endblock %} -{% block nav %} -{% endblock %} -{% block main %} - -
    - -
    -{% endblock %} diff --git a/panikweb_templates/templates/listen/archives.html b/panikweb_templates/templates/listen/archives.html deleted file mode 100644 index c801890..0000000 --- a/panikweb_templates/templates/listen/archives.html +++ /dev/null @@ -1,88 +0,0 @@ -{% extends "listen.html" %} -{% load paniktags i18n %} -{% block title %}Sons - Archives{% endblock %} -{% block nav %} -
    - {% if facets.fields.format %} - - {% endif %} - - {% if facets.fields.tags %} - - {% endif %} -
    - -{% endblock %} - -{% block main %} -
    -
    - {% for category in selected_categories %} - - {% endfor %} - {% for tag in selected_tags %} - - {% endfor %} - {{ form.as_table }} - -
    -
    - -
    - -{% if not page.object_list %} -
    Manque de pot, pas de résultats à cette recherche !
    -{% else %} - -{% if page.has_previous %} - -{% endif %} - - - -{% if page.has_next %} - -{% endif %} - -{% endif %} - -
    - -{% endblock %} diff --git a/panikweb_templates/templates/listen/nav.html b/panikweb_templates/templates/listen/nav.html deleted file mode 100644 index f4de450..0000000 --- a/panikweb_templates/templates/listen/nav.html +++ /dev/null @@ -1,29 +0,0 @@ -{% load paniktags %} -
    - -
    -
    - {% if categories and class != "archives" %} - - {% endif %} -
    diff --git a/panikweb_templates/templates/news.html b/panikweb_templates/templates/news.html deleted file mode 100644 index 5e3ed5f..0000000 --- a/panikweb_templates/templates/news.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "base.html"%} -{% load paniktags i18n %} -{% block title %}{% trans 'News' %}{% endblock %} -{% block toptitle %} -

    {% trans 'News' %} - / Agenda -

    -{% endblock %} -{% block nav %} - {% news_nav %} -{% endblock %} -{% block main %} - -
    - -
    -{% endblock %} -{% block links %} -
    -
    - -
    -
    - -{% endblock %} diff --git a/panikweb_templates/templates/news/archives.html b/panikweb_templates/templates/news/archives.html deleted file mode 100644 index 3c423b2..0000000 --- a/panikweb_templates/templates/news/archives.html +++ /dev/null @@ -1,102 +0,0 @@ -{% extends "news.html" %} -{% load paniktags i18n %} -{% block title %}{% trans 'News' %} - Archives{% endblock %} -{% block nav %} -
    - {% if facets.fields.news_categories %} - - {% endif %} - - {% if facets.fields.tags %} - - {% endif %} -
    -{% endblock %} - -{% block main %} - -
    -
    - {% for category in selected_news_categories %} - - {% endfor %} - {% for tag in selected_tags %} - - {% endfor %} - {{ form.as_table }} - -
    -
    - - -
    - -{% if not page.object_list %} -
    Manque de pot, pas de résultats à cette recherche !
    -{% endif %} - -{% if page.has_previous %} - -{% endif %} - -
    - {% if page.object_list %} - {% regroup page.object_list by date|date:"F Y"|capfirst as month_list %} -
    - {% for month in month_list %} -
    -
    > {{ month.grouper }}
    -
      - {% for result in month.list %} -
    • {% with result.object as content %}{% news_inline %}{% endwith %}
    • - {% endfor %} -
    -
    - {% endfor %} -
    - {% endif %} -
    - -{% if page.has_next %} - -{% endif %} - - -
    - -{% endblock %} diff --git a/panikweb_templates/templates/news/inline.html b/panikweb_templates/templates/news/inline.html deleted file mode 100644 index a7eb8ed..0000000 --- a/panikweb_templates/templates/news/inline.html +++ /dev/null @@ -1,40 +0,0 @@ -{% load thumbnail staticfiles %} -
    - - {% if class == "special" and content.category %} -
    - {{ content.category.title }} -
    - {% endif %} - - -
    -
    {{ content.title }}
    - {% if class == "special" %} -
    - {{ content.text|safe|striptags|truncatewords:75}} -
    - {% endif %} -
    - {% if content.date %} -
    Publiée le {{ content.date|date:"d/m/Y" }}
    - {% endif %} - -
    -
    diff --git a/panikweb_templates/templates/news/nav.html b/panikweb_templates/templates/news/nav.html deleted file mode 100644 index e69de29..0000000 diff --git a/panikweb_templates/templates/news/roll.html b/panikweb_templates/templates/news/roll.html deleted file mode 100644 index 8f33e2f..0000000 --- a/panikweb_templates/templates/news/roll.html +++ /dev/null @@ -1,40 +0,0 @@ -{% load thumbnail i18n paniktags %} -
    -
    - -
    -
      - {% for focus in news %} -
    • - -
    • - {% endfor %} -
    -
    -
    -
    diff --git a/panikweb_templates/templates/news/search_result.html b/panikweb_templates/templates/news/search_result.html deleted file mode 100644 index 9a05f0d..0000000 --- a/panikweb_templates/templates/news/search_result.html +++ /dev/null @@ -1,7 +0,0 @@ - - - {{ result.title }} - {% if result.date %} -
    {{ result.date|date:"D d/M"|lower }}
    - {% endif %} -
    diff --git a/panikweb_templates/templates/newsletter/confirmation_email_body.txt b/panikweb_templates/templates/newsletter/confirmation_email_body.txt deleted file mode 100644 index 88a2b5b..0000000 --- a/panikweb_templates/templates/newsletter/confirmation_email_body.txt +++ /dev/null @@ -1,7 +0,0 @@ -Vous venez de demander un abonnement à la newsletter hebdomadaire de -Radio Panik, pour éviter le spam, il est nécessaire de confirmer cette -demande en suivant le lien suivant : - - http://www.radiopanik.org{% url 'newsletter-confirmation' token=token %} - -Merci ! diff --git a/panikweb_templates/templates/newsletter/confirmation_email_subject.txt b/panikweb_templates/templates/newsletter/confirmation_email_subject.txt deleted file mode 100644 index ec0d066..0000000 --- a/panikweb_templates/templates/newsletter/confirmation_email_subject.txt +++ /dev/null @@ -1 +0,0 @@ -Abonnement aux actus de Radio Panik, demande de confirmation diff --git a/panikweb_templates/templates/newsletter/done.html b/panikweb_templates/templates/newsletter/done.html deleted file mode 100644 index 2c47b34..0000000 --- a/panikweb_templates/templates/newsletter/done.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Newsletter{% endblock %} - -{% block main %} -
    -

    - Et voilà, c'est fait. -

    -
    -{% endblock %} - diff --git a/panikweb_templates/templates/newsletter/subscriber_form.html b/panikweb_templates/templates/newsletter/subscriber_form.html deleted file mode 100644 index 7bf9da9..0000000 --- a/panikweb_templates/templates/newsletter/subscriber_form.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Newsletter{% endblock %} - -{% block main %} -
    -
    -

    - Tous les lundis, l'actualité de Radio Panik. -

    - - {% csrf_token %} - {{ form.as_table }} - -
    -
    -{% endblock %} - diff --git a/panikweb_templates/templates/newsletter/thanks.html b/panikweb_templates/templates/newsletter/thanks.html deleted file mode 100644 index 649a0a6..0000000 --- a/panikweb_templates/templates/newsletter/thanks.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Newsletter{% endblock %} - -{% block main %} -
    -

    - Un courriel de confirmation vous a été envoyé; suivez l'adresse qui y - est contenue pour valider votre abonnement. -

    -
    -{% endblock %} - diff --git a/panikweb_templates/templates/nonstop_playlist.html b/panikweb_templates/templates/nonstop_playlist.html deleted file mode 100644 index 61f0464..0000000 --- a/panikweb_templates/templates/nonstop_playlist.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "emissions.html" %} -{% load paniktags staticfiles i18n thumbnail %} -{% block bodyID %}Emissions{% endblock %} -{% block title %}{{ emission.title }}{% endblock %} - -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav %} -{% endblock %} -{% block main %} - -{% endblock %} - -{% block links %} -{% endblock %} diff --git a/panikweb_templates/templates/panikdb/base.html b/panikweb_templates/templates/panikdb/base.html deleted file mode 100644 index 94d9808..0000000 --- a/panikweb_templates/templates/panikdb/base.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "base.html" %} diff --git a/panikweb_templates/templates/panikombo/audio.html b/panikweb_templates/templates/panikombo/audio.html deleted file mode 100644 index 62ac48b..0000000 --- a/panikweb_templates/templates/panikombo/audio.html +++ /dev/null @@ -1,27 +0,0 @@ -{% load paniktags thumbnail staticfiles %} -{% if soundfile %} -
    - - -
    -{% endif %} diff --git a/panikweb_templates/templates/panikombo/episode.html b/panikweb_templates/templates/panikombo/episode.html deleted file mode 100644 index b38ce48..0000000 --- a/panikweb_templates/templates/panikombo/episode.html +++ /dev/null @@ -1,31 +0,0 @@ -{% load paniktags thumbnail staticfiles %} -{% if episode %} -
    - - -
    -{% endif %} diff --git a/panikweb_templates/templates/panikombo/episode_auto_selection.html b/panikweb_templates/templates/panikombo/episode_auto_selection.html deleted file mode 100644 index 4fe4345..0000000 --- a/panikweb_templates/templates/panikombo/episode_auto_selection.html +++ /dev/null @@ -1,39 +0,0 @@ -{% load paniktags thumbnail staticfiles %} -{% if title and episodes %}

    {{title}}

    {% endif %} -{% for episode in episodes %} - -
    - - -
    - -{% endfor %} diff --git a/panikweb_templates/templates/panikombo/newsitem_auto_selection.html b/panikweb_templates/templates/panikombo/newsitem_auto_selection.html deleted file mode 100644 index c732bea..0000000 --- a/panikweb_templates/templates/panikombo/newsitem_auto_selection.html +++ /dev/null @@ -1,7 +0,0 @@ -{% load paniktags %} -{% if title and newsitems %}

    {{title}}

    {% endif %} - diff --git a/panikweb_templates/templates/panikombo/topik-cell.html b/panikweb_templates/templates/panikombo/topik-cell.html deleted file mode 100644 index d9ffe24..0000000 --- a/panikweb_templates/templates/panikombo/topik-cell.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load thumbnail %} -{% if cell.topik %} -
    - - -
    - {% if cell.slug == "large" %} -

    {{cell.topik.page.title}}

    - {% else %} -
    {{cell.topik.page.title}}
    - {% endif %} -
    - {% if cell.slug == "large" %} - {{cell.text|safe}} - {% else %} - {{cell.text|safe|striptags|truncatewords:75}} - {% endif %} -
    -
    -
    -
    -{% endif %} diff --git a/panikweb_templates/templates/party.html b/panikweb_templates/templates/party.html deleted file mode 100644 index 1e6083b..0000000 --- a/panikweb_templates/templates/party.html +++ /dev/null @@ -1,93 +0,0 @@ -{% extends "base.html" %} -{% load thumbnail paniktags %} -{% block bodyID %}Party{% endblock %} -{% block title %}Party{% endblock %} - -{% block extrascripts %} - -{% endblock %} - -{% block main %} - -
    - - - - - -{% endblock %} diff --git a/panikweb_templates/templates/program.html b/panikweb_templates/templates/program.html deleted file mode 100644 index 9c84bc5..0000000 --- a/panikweb_templates/templates/program.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "emissions.html" %} -{% load paniktags i18n %} -{% block bodyID %}Program{% endblock %} -{% block title %}{% trans 'Program' %}{% endblock %} -{% block toptitle %} -

    {% trans 'Program' %}

    -{% endblock %} -{% block nav %} - {% emission_nav with klass="program" %} -{% endblock %} -{% block main %} - -
    -
    - -
    - {% weeknav year=year week=week weekday=0 %} -
    -
    -
    - {% weekview year=year week=week %} -
    -
    -{% endblock %} diff --git a/panikweb_templates/templates/search/search.html b/panikweb_templates/templates/search/search.html deleted file mode 100644 index 72475d4..0000000 --- a/panikweb_templates/templates/search/search.html +++ /dev/null @@ -1,99 +0,0 @@ -{% extends 'panikdb/base.html' %} -{% load paniktags highlight i18n %} -{% block bodyID %}Search{% endblock %} -{% block title %}Recherche{% endblock %} -{% block nav %} -
    -
    - -
    -
    -
    -
    - {% if query or selected_tags %} - - - {% endif %} -
    -
    -{% endblock %} - - -{% block main %} - {% if query or selected_tags %} -
    -
    - {% if not page.object_list %} -
    Manque de pot, pas de résultats à cette recherche !
    - {% endif %} - {% if page.has_previous %} - - {% endif %} - -
      - - - {% for result in page.object_list %} - {% if result.object.title %} -
    • - {% search_result_template result %} -
    • - {% endif %} - {% endfor %} - - -
    - {% if page.has_next %} - - {% endif %} -
    -
    - {% endif %} -{% endblock %} diff --git a/panikweb_templates/templates/soundfiles/dialog-embed.html b/panikweb_templates/templates/soundfiles/dialog-embed.html deleted file mode 100644 index efa8af2..0000000 --- a/panikweb_templates/templates/soundfiles/dialog-embed.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load i18n %} -
    -
    - -

    {% trans 'Embed' %}

    -

    -Copier/coller le code ci-dessous : -

    - - - -

    Preview

    - -
    -
    diff --git a/panikweb_templates/templates/soundfiles/embed.html b/panikweb_templates/templates/soundfiles/embed.html deleted file mode 100644 index 449a9d9..0000000 --- a/panikweb_templates/templates/soundfiles/embed.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base.html" %} -{% load thumbnail paniktags static %} - -{% block bodyattr %}id="embed"{% endblock %} -{% block title %}{{ episode.emission.title }}{% endblock %} - -{% block main %} - -
    - - -
    -{% endblock %} - diff --git a/panikweb_templates/templates/soundfiles/resume.html b/panikweb_templates/templates/soundfiles/resume.html deleted file mode 100644 index 7347e5e..0000000 --- a/panikweb_templates/templates/soundfiles/resume.html +++ /dev/null @@ -1,49 +0,0 @@ -{% load thumbnail paniktags staticfiles %} -
    - -
    -
    {% audio sound=soundfile %}
    -
    - {% if soundfile.fragment %} -
    - {{ soundfile.title }} -
    - {% endif %} -
    - {{ soundfile.episode.title }} -
    -
    - {% if soundfile.format %} - - {{ soundfile.format.title }} - - {% endif %} -
    - {{ soundfile.episode.emission.title }} -
    -
    -
    - - {% if soundfile.episode.subtitle %} -
    - {{ soundfile.episode.subtitle|truncatewords:20}} -
    - {% endif %} -
    -
    diff --git a/panikweb_templates/templates/tpl-default.html b/panikweb_templates/templates/tpl-default.html deleted file mode 100644 index c96ad21..0000000 --- a/panikweb_templates/templates/tpl-default.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "base.html" %} -{% load fiber_tags %} - -{% block title %}{{ fiber_page.title }}{% endblock %} - -{% block toptitle %} -

    À propos

    -{% endblock %} - -{% block nav %} -
    - -
    -{% endblock %} - -{% block main %} - - - -{% endblock %}