From d62a47ffe5702d6dee10023d47add80bb65622da Mon Sep 17 00:00:00 2001 From: bkfox Date: Mon, 1 Aug 2016 23:30:54 +0200 Subject: [PATCH] work on design --- cms/static/cms/css/layout.css | 233 +++++++++++++++++- cms/static/cms/css/theme.css | 23 +- cms/static/cms/images/LICENSE.TXT | 130 ++++++++++ cms/static/cms/images/README.md | 14 ++ cms/static/cms/images/clock.png | Bin 0 -> 1584 bytes cms/static/cms/images/comments.png | Bin 0 -> 701 bytes cms/static/cms/images/facebook.png | Bin 0 -> 545 bytes cms/static/cms/images/feed.png | Bin 0 -> 1484 bytes cms/static/cms/images/grow.png | Bin 0 -> 1620 bytes cms/static/cms/images/home.png | Bin 0 -> 1376 bytes cms/static/cms/images/ic_action_feed.png | Bin 0 -> 1484 bytes cms/static/cms/images/list.png | Bin 0 -> 391 bytes cms/static/cms/images/listen.png | Bin 0 -> 1397 bytes cms/static/cms/images/loading.png | Bin 0 -> 2156 bytes cms/static/cms/images/on_air.png | Bin 0 -> 1955 bytes cms/static/cms/images/pause.png | Bin 0 -> 311 bytes cms/static/cms/images/play.png | Bin 0 -> 2017 bytes cms/static/cms/images/search.png | Bin 0 -> 1348 bytes cms/static/cms/images/share.png | Bin 0 -> 1414 bytes cms/static/cms/js/player.js | 150 +++++++---- cms/static/cms/js/utils.js | 2 +- cms/templates/cms/base_site.html | 6 +- cms/templates/cms/diffusion_page.html | 12 +- cms/templates/cms/publication.html | 3 +- .../cms/sections/section_logs_list.html | 6 +- .../cms/sections/section_player.html | 59 ++--- .../cms/sections/section_search_field.html | 4 +- cms/templates/cms/snippets/comments.html | 15 +- .../cms/snippets/date_list_item.html | 2 + .../cms/snippets/sound_list_item.html | 17 +- .../templates/aircox/controllers/monitor.html | 13 +- 31 files changed, 577 insertions(+), 112 deletions(-) create mode 100644 cms/static/cms/images/LICENSE.TXT create mode 100644 cms/static/cms/images/README.md create mode 100644 cms/static/cms/images/clock.png create mode 100644 cms/static/cms/images/comments.png create mode 100644 cms/static/cms/images/facebook.png create mode 100644 cms/static/cms/images/feed.png create mode 100644 cms/static/cms/images/grow.png create mode 100644 cms/static/cms/images/home.png create mode 100644 cms/static/cms/images/ic_action_feed.png create mode 100644 cms/static/cms/images/list.png create mode 100644 cms/static/cms/images/listen.png create mode 100644 cms/static/cms/images/loading.png create mode 100644 cms/static/cms/images/on_air.png create mode 100644 cms/static/cms/images/pause.png create mode 100644 cms/static/cms/images/play.png create mode 100644 cms/static/cms/images/search.png create mode 100644 cms/static/cms/images/share.png diff --git a/cms/static/cms/css/layout.css b/cms/static/cms/css/layout.css index f26f5cd..952ae33 100644 --- a/cms/static/cms/css/layout.css +++ b/cms/static/cms/css/layout.css @@ -10,8 +10,33 @@ h1, h2, h3, h4, h5 { margin: 0.4em 0em; } +ul { + margin: 0em; +} + + +/** classes **/ +.float_right { + float: right; +} + +.float_left { + float: left; +} + + +.icon { + max-width: 2em; + max-height: 2em; + vertical-align: middle; +} + +.small_icon { + max-height: 1.5em; + vertical-align: middle; +} + -/** classes: flex **/ .flex_row { display: -webkit-flex; display: flex; @@ -33,14 +58,40 @@ h1, h2, h3, h4, h5 { } +/** content: menus **/ +nav.menu { + padding: 0.4em; +} + +.menu.top { + padding: 0.2em; + height: 2.5em; + margin-bottom: 1em; +} + .menu.top * { + vertical-align: middle; + } + + .menu.top > section { + display: inline-block; + } + +.page_left > section, +.page_right > section { + margin-bottom: 1em; +} + + /** content: list & items **/ .list { width: 100%; +} + +ul.list { padding: 0.4em; } .list_item { - width: inherit; margin: 0.4em 0; } @@ -59,6 +110,11 @@ h1, h2, h3, h4, h5 { min-height: 64px; } +.list_item > * { + margin: 0em 0.2em; + vertical-align: middle; +} + /** content: date list **/ .date_list nav { @@ -94,11 +150,182 @@ h1, h2, h3, h4, h5 { .date_list_item h3 { width: 100%; + margin-top: 0em; } -/** content: publication **/ +/** content: comments **/ +.comments form input:not([type=checkbox]), +.comments form textarea { + display: inline-block; + width: 100%; + max-height: 6em; + margin: 0.2em 0em; + padding: 0.2em; +} + +.comments form input[type=checkbox], +.comments form button[type=submit] { + vertical-align:bottom; + margin: 0.2em 0em; + text-align: center; +} + +.comments form button[type=submit] { + float: right; +} + +.comments form #show_more:not(:checked) ~ .extra { + display: none; +} + +.comments label[for="show_more"] { + font-size: 0.8em; +} +.comments ul { + margin-top: 2.5em; +} + +.comment { + list-style: none; + border: 1px #818181 dotted; + margin: 0.4em 0em; +} + + .comment .metadata { + font-size: 0.9em; + } + + .comment time { + float: right; + } + +/** content: player **/ +.player { + width: 20em; +} + + .player:not([seekable]) > .controls { + display: none; + } + + +.player .controls > * { + margin: 0em 0.2em; +} + + .player .controls .single { + display: none; + } + + .player .controls .single + label { + display: inline-block; + font-size: 1em; + padding: 0.1em; + width: 1.5em; + height: 1.0em; + text-align: center; + box-shadow: inset 0em 0em 0.1em #818181; + } + + .player .controls .single:not(:checked) + label { + border-left: 2px #818181 solid; + color: black; + } + + .player .controls .single:checked + label { + border-right: 2px #818181 solid; + } + +.player .on_air a:not([href]), .on_air a[href=""] { + display: none; +} + +.player .playlist .item { + margin: 0em; + padding: 0.2em 0.4em; + height: 1em; + cursor: pointer; +} + + .player .playlist .item:hover { + color: #007EDF; + } + + .player .item > * { + vertical-align: middle; + } + + .player .playlist .item .actions { + display: none; + } + + .player .playlist .item:hover .actions { + display: inline-block; + } + + .player .playlist .item .info { + float: right; + width: 2em; + display: inline-block; + } + + .player .item:not([selected]) .button { + display: none; + } + +.player .item[selected] { + height: auto; + font-size: 1.1em; +} + +.player .button { + display: inline-block; + cursor: pointer; + height: 2.0em; + background: none; + border: none; + font-size: 1.4em; +} + + .player .button > img { + max-height: 2.0em; + } + + .player:not([state]) .button > img:not(.play), + .player[state="paused"] .button > img:not(.play), + .player[state="playing"] .button > img:not(.pause), + .player[state="loading"] .button > img:not(.loading) + { + display: none; + } + + .player[state="loading"] .box .button > img.loading { + animation-duration: 2s; + animation-iteration-count: infinite; + animation-name: rotate; + animation-timing-function: linear; + } + + @keyframes rotate { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } + } + + +/** content: page **/ +main .body ~ section:not(.comments) { + width: calc(50% - 1em); + float: left; +} + + diff --git a/cms/static/cms/css/theme.css b/cms/static/cms/css/theme.css index 7a2db3c..908f500 100644 --- a/cms/static/cms/css/theme.css +++ b/cms/static/cms/css/theme.css @@ -35,7 +35,11 @@ h1:first-letter, h2:first-letter, h3:first-letter { h1 { font-size: 1.4em; } h2 { font-size: 1.2em; } -h3 { font-size: 1.0em; } +h3 { font-size: 0.9em; } + + +h2 * { vertical-align: middle; } + /** info **/ @@ -67,8 +71,23 @@ a:hover { /** page **/ .page > nav { - width: 20em; + width: 16em; overflow: hidden; } +main { + background-color: rgba(255,255,255,0.9); + padding: 1em; + box-shadow: 0em 0em 0.2em black; +} + + main h1 { + margin: 0em; + margin: 0em 0em 0.4em 0em; + } + + main .content img.cover { + width: 100%; + } + diff --git a/cms/static/cms/images/LICENSE.TXT b/cms/static/cms/images/LICENSE.TXT new file mode 100644 index 0000000..075e935 --- /dev/null +++ b/cms/static/cms/images/LICENSE.TXT @@ -0,0 +1,130 @@ +This is a human-readable summary of (and not a substitute for) the license. +http://creativecommons.org/licenses/by-sa/4.0/ + +------ + +Disclaimer + +This license is acceptable for Free Cultural Works. +You are free to: + + Share — copy and redistribute the material in any medium or format + Adapt — remix, transform, and build upon the material + for any purpose, even commercially. + + The licensor cannot revoke these freedoms as long as you follow the license terms. + +Under the following terms: + + Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. + + ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. + + No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. + +------ + +Creative Commons Attribution-ShareAlike 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. + Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + Licensor means the individual(s) or entity(ies) granting rights under this Public License. + Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + License grant. + Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + reproduce and Share the Licensed Material, in whole or in part; and + produce, reproduce, and Share Adapted Material. + Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + Term. The term of this Public License is specified in Section 6(a). + Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + Downstream recipients. + Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. + No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + + Other rights. + Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + Patent and trademark rights are not licensed under this Public License. + To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + Attribution. + + If You Share the Licensed Material (including in modified form), You must: + retain the following if it is supplied by the Licensor with the Licensed Material: + identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + a copyright notice; + a notice that refers to this Public License; + a notice that refers to the disclaimer of warranties; + a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + ShareAlike. + + In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. + You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and + You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + diff --git a/cms/static/cms/images/README.md b/cms/static/cms/images/README.md new file mode 100644 index 0000000..c55e61b --- /dev/null +++ b/cms/static/cms/images/README.md @@ -0,0 +1,14 @@ +# Android Developer Icons +Android Developer Icons is a custom icon set, created by [Opoloo](http://www.opoloo.com/). Included are: +* 250 hand-crafted, pixel-perfect icons in 5 sizes and 14 colors +* an icon font, made from the set +* all sources: .svg, .ai, .eps, .eot, .ttf, .woff + + + +## License +[Attribution-ShareAlike 4.0 International CC BY-SA 4.0] +(http://creativecommons.org/licenses/by-sa/4.0/) + +## More +We‘re always happy to hear from you, whether it’s a question about the icon set or giving us a heads-up where you used our beautiful little icons in a project. If you like, follow us at [Google+](https://plus.google.com/u/0/b/104776915031333350956/+Opoloo/posts), on [Twitter](https://twitter.com/Opoloo), or [shoot us an email](mailto: info@opoloo.com). \ No newline at end of file diff --git a/cms/static/cms/images/clock.png b/cms/static/cms/images/clock.png new file mode 100644 index 0000000000000000000000000000000000000000..5c8dbb0257e3bc908dfee971f691dea22f185397 GIT binary patch literal 1584 zcmV-02G9A4P)fj*es*?tuZZj=qWQ3EO)2$$eSQ6Xr_)&jAYY8rb}xl1mC7757ewSZGZ&b7 zchvm=dH}jgsiy$C&1UnT?c}#@0=TYwP$_kRh>FadOX35-fQULGvfOI5UZu(hr{%zR`- z_cH)DC!HiG5+MBNe06qY??fZUv5^@_Tm&+w)zQW9VjIL+RX7iUxGGQVC78e)4 zBO~nrymTCADJs=n*FB!g<*pME4F-dyR;%@NT&!BHwh#otb!I+fbUpGs@7E;!i6&SH zmdoWcWDH(J+Pz-y#<=HPDK%URt~Z~5+lcP&Xe}4 z1MtCdoTWH}C)%6=`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ln!P zs=U$}&+TLq>^6K0V!C{BaJda+cAeOMV8%)JM9dgW`@|H-$YK5GV4tb_2VhcT@O1Ta JS?83{1ONutH6;K5 literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/facebook.png b/cms/static/cms/images/facebook.png new file mode 100644 index 0000000000000000000000000000000000000000..5841351b085050de8f1be80278ec84b882e9a3e0 GIT binary patch literal 545 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4W5uKIe&h16;9+e!}|Hf-EPF*EZ+l+Y&2`kL|I3zHj?&)#(pcuo!Gs zU(~)VbKbL6lCvACpWmrEH|ydV#xs8|Zp$?-znj6568Y`KnZ$RCF4{2N`+a?*S@zq? z``?$(ert37=qop6g_aLrZ~t4Qq1XAs>(ip`ozDb6+^g?1iS>yzmtu^){#DsGJ@{I$ z+W`p|lgwi;SbcbNgj5#oUbSl8f2+Lj+WlL<9jUHYo|;^!oFLJreDa@|`T>bzom=x$ z(u)tAX`l30*Uy2&v4rJ-nqykr)YP4~a{6m8-K+g>?)Gh-ZXSyVmY_fgo#a;do2phA z!eGT9CECE(;KsUuc|joK3x*7k(5xq{e;9VxB;T2R@8n!ybTW9l`njxgN@xNA$Iaj1 literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/feed.png b/cms/static/cms/images/feed.png new file mode 100644 index 0000000000000000000000000000000000000000..0f1c1e5849a36dcd2e2c3814cb8b73df63d190ea GIT binary patch literal 1484 zcmZ`(c`(}v6#gaSNEH<<>Q1zEv~Joeb^QFYlGGWgvxrdY2#TQD9@*Abur0Q6q$!O| z(_M9StL`hxQY6?mOEFs6Ra#1QQ#7Mx)7hE*Z{N)KzIorgzrOe8%lG&7Qc==X0sue- zhlL0-cK-^5f~-GCIR8>cav30wh>+DqL@Yx#?@7akX2|xZz5)iCv2$eN{!C0rW?*Vu zW_EP?Ss*(*+bSU?DI+F2?W|R5dOUm0MHc|%aX83>m~&?}%!i?m(cFm?j`=;(h#%mX zv5g1&7}0~%4Z}sovBL*#6Ez{V4;;m<;%irp(fN!V5j_vFxM=hQeeTD3^A@>VN4mR1 zwCzsiE?UIKM({>t_X9(6T-{m3b2)Dl zExrTnIYZvYhwng!d286*2m$_+LnLtJOo=~_aKY~w(x9TELMP&_ebQz50eHnBl5WIn zy78mwcYA{yBZU{L%HtPZ=y!I%J4P3Rh-bFG)*K8l+tLVYQy?9E5oA>^5uDKknLzSE zv}MdPI6my{<0FI}m!BtA`(u|RQgwSbZ>V*H_D;_uDn5or>wxi5=wN(%A#i znwpey)VNrv5oc~>!u2m%I6j6!4Rl^kd26X{Q0c%H_SXlkSn@=+%$C?2}EtFRMp>`W5Cuu;_w2R#Qrc6{t1s;14_hNbC-+AsQCUyuXA5 z#q+5pMP8roo?V=%?0=B6{O*Vn#8gP*KdSqkGTXwtx;mY_sR14M76k?1+j(`2*VqEl(#bD%kAW#8%dPl^Q=0?FBIQyeJ<5O*OVJq##q}o!z7$One3><7q~gf?%lA` zv)r+!w?X@Y;fZiO;+rSmv$hnn^TO)0SS-(4I_ng&C5+fR=Uxa1T$-Z$uV;U@htYS- zmKPQlbm)!Ob|B`aOX`)0D(r##=!<#xn0m969Zb^DXlbc?IWY7EZkj8VO8*KFbC@)D zJS(|XMOAf2hguN3NQS1|vVGcA!sO05=xRGROK~ej6MXPqh4f_>n=)$|=V~O@>j1Y7 zkDvA|1o9#B7dtDK>gI&NE(7ZwH->Qu?}a6ff`x$WcY1s&Ji^-`bO+Binq|og;4r>W14z3152r?^ssI20 literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/grow.png b/cms/static/cms/images/grow.png new file mode 100644 index 0000000000000000000000000000000000000000..df0755f52e7f5c14798884a8f6d8b4ccbffff6bd GIT binary patch literal 1620 zcmV-a2CMmrP)4ZN8DhB{O{o$u& z=6)_1l5zUx|Mk5l?U&5v-gD3S?)UD!@4S2OfTXNvXxIe8#)bf469^j{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*8!9NBXixcg1?` Xvt5|=q?WJz8v;I_{>XMj^o{=kjoW&m literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/ic_action_feed.png b/cms/static/cms/images/ic_action_feed.png new file mode 100644 index 0000000000000000000000000000000000000000..0f1c1e5849a36dcd2e2c3814cb8b73df63d190ea GIT binary patch literal 1484 zcmZ`(c`(}v6#gaSNEH<<>Q1zEv~Joeb^QFYlGGWgvxrdY2#TQD9@*Abur0Q6q$!O| z(_M9StL`hxQY6?mOEFs6Ra#1QQ#7Mx)7hE*Z{N)KzIorgzrOe8%lG&7Qc==X0sue- zhlL0-cK-^5f~-GCIR8>cav30wh>+DqL@Yx#?@7akX2|xZz5)iCv2$eN{!C0rW?*Vu zW_EP?Ss*(*+bSU?DI+F2?W|R5dOUm0MHc|%aX83>m~&?}%!i?m(cFm?j`=;(h#%mX zv5g1&7}0~%4Z}sovBL*#6Ez{V4;;m<;%irp(fN!V5j_vFxM=hQeeTD3^A@>VN4mR1 zwCzsiE?UIKM({>t_X9(6T-{m3b2)Dl zExrTnIYZvYhwng!d286*2m$_+LnLtJOo=~_aKY~w(x9TELMP&_ebQz50eHnBl5WIn zy78mwcYA{yBZU{L%HtPZ=y!I%J4P3Rh-bFG)*K8l+tLVYQy?9E5oA>^5uDKknLzSE zv}MdPI6my{<0FI}m!BtA`(u|RQgwSbZ>V*H_D;_uDn5or>wxi5=wN(%A#i znwpey)VNrv5oc~>!u2m%I6j6!4Rl^kd26X{Q0c%H_SXlkSn@=+%$C?2}EtFRMp>`W5Cuu;_w2R#Qrc6{t1s;14_hNbC-+AsQCUyuXA5 z#q+5pMP8roo?V=%?0=B6{O*Vn#8gP*KdSqkGTXwtx;mY_sR14M76k?1+j(`2*VqEl(#bD%kAW#8%dPl^Q=0?FBIQyeJ<5O*OVJq##q}o!z7$One3><7q~gf?%lA` zv)r+!w?X@Y;fZiO;+rSmv$hnn^TO)0SS-(4I_ng&C5+fR=Uxa1T$-Z$uV;U@htYS- zmKPQlbm)!Ob|B`aOX`)0D(r##=!<#xn0m969Zb^DXlbc?IWY7EZkj8VO8*KFbC@)D zJS(|XMOAf2hguN3NQS1|vVGcA!sO05=xRGROK~ej6MXPqh4f_>n=)$|=V~O@>j1Y7 zkDvA|1o9#B7dtDK>gI&NE(7ZwH->Qu?}a6ff`x$WcY1s&Ji^-`bO+Binq|og;4r>W14z3152r?^ssI20 literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/list.png b/cms/static/cms/images/list.png new file mode 100644 index 0000000000000000000000000000000000000000..60f103e13f54df408261532369e25cab9a15e360 GIT binary patch literal 391 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4|K+x>R+_u5U*n@GCKY!-U#apjkJO9|?UipXHXKc=!pSQfOy`k>&{CR(w zAHHX}&X8u7TltND$Ge6P(;rOasApfne1&nI^Q(r(3-|(noTSA-s)BDNb6>NSgX{vn zj$W$=*R2oy{=HAM6y!FjBCJll$N=@lA^s0cT2HTsJ{R!P0|pv{r>mdKI;Vst07^@i AzyJUM literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/listen.png b/cms/static/cms/images/listen.png new file mode 100644 index 0000000000000000000000000000000000000000..1ec7a40a160655c984fb39f5b567f5153df58f92 GIT binary patch literal 1397 zcmV-*1&aEKP)C45Fz_3YWR%K(0DM*xhC zjrEDhk(Bv!IG}fvGG-SLRWDbCc-UjgG zCd;-2Ktzw4@)fD=^}*%=|#Rb*!ti-3uH%c(4EiKOO)?WZf80 zuh*|fX;tkuQBP8B18`k;)PxZLP}Myt*$*mpeA;oRdqT2j5g|O=j6V=zH6q8B(<`#5(DV&?v4Qv(XI3|wyw4SOioVL z0o*j?C6?!T7os#X=eGp_fT|kp1|kwnPfssK$3&Fh7SNDM05?6)`!bo41OOm^0Ep<~ z#-%nV5jjz*R8|4aeG919>$4_|000qPPRUM=0r>-P>eQ(!fFBKb0W&|eHqUk4coT$( zj1Pis?+7)vu0Lyh)~Qq~y@yS1n25;klS{JzPuEdeB-8kth& z0D>S0nfYT8xv^1MB5DZ$z$J6eZmT0}f$8b#MP@!GA}!y?QPp*0fU5R3zE=u`!e6Gn zb!;(o^5n@gMD$&&GObzw5&bKTOiWCysOm8!c6!&Ux3@R$2E)U{{fV96J0Ac51VQkJh@5B^Pd@!&=6#9$y8{3K z%+1YBipVcb!to1HM6?gMJphJb_*)iUtN>6|C8AH8JPh4WMAR4yo^Irwo}ZuJa2nl; ztZj(}K~QsD_oI|Gey{KQulMxyyu-{70su4rl$8&wdxDip<$|hyl5&6WDl?A*fQZ}} z7#KL6a=H;&-xQslo&8x=ziJj|=9w(!|M>b@UHJcKZf@=e0LQUrdQ{bGp67j^W!<@X zTO7E@UzfL~Tyz1O+6G|TfNgC9ux-G$wgK2SU|atI*l^4~ySnD{00000NkvXXu0mjf DY`}u{ literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/loading.png b/cms/static/cms/images/loading.png new file mode 100644 index 0000000000000000000000000000000000000000..7206a3ae398a464b7a40d9a0c4848a422f73df86 GIT binary patch literal 2156 zcmV-y2$T1TP)p$0Ya*fDiBdY&=F4A%vi2ZJGHErPS|=#p2{f;|4AO5s{{8X#j_W5D_nZ zl~NfZ`i)^2%WcOGQUFcUZV*B|Kt%oR`cO(;5<)zg&*!Jx=^vN?u~=+-M@PrE09@yX zKc&{sv%}*P@7ek@Yli6(czc&5CN~ybv=l~I2b@PM}-PLOKGXQ?#h0D9X1Y)t+_DCf1Z6fNd zGgXM_xA}bjuiS!^uIqb<=<@*HUvE=N9WN9L8Ml1i^(7FAMDDd2JWSL4LoS#5ORK>H zfMFPCrIbIlTM|Nu!|8O|^~}CzOF-B49ZIQwBI*Os7mY?AUszZ$0mSOtGV@ENQt8iL z{AV(mbBRRaX(BpQXS!}_Y3ViqFSzmJs{p#LhlLPBN~!%sv|CCE0AS|D@$vChUDxj< zq7Iv`CjcOoN<}l7%)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I{MWGI0}|kS4ddNu9Wkqmov* z1wxc~W|B$9e&1n{=g4(qdw$-`L#mJDh3DP--E+^}x!-rsyFwBlWtg}L#Ene>;wBI` zHU)^AK-}0AAZ`M2V^e^*3B-*}0pcbQHxjKLV03iU&d$#6OeT{lV@xUtf|M~P1)y71 zQveo?F(r~El0|E6NmWY#7F^d|Xf;1+#bGFu$?O5pZ>{Yo`KX9=HWG*AbrG2ff?y^H zf|>K@&)TJ@``0BvI-TB@OeT*57!(m(?_jM2$s5L))A@XUyqNh7Sq_4r=(_IWeG(#)&1SbG5{cB};$q4evje~ZlKmpG zvyrhw_?1fK#PsxZd94QP7D6I2Qt#wR7DdDhf?%enr)PF-Z0t@AeF)%o`1kMd<2(SQ z)9KyT+CF2N3~i#24J|B z;)>*H*L7cAug!*gKsue?-O800d^v%c@Y8Ge(?+2S#h{Q&wKsS%b79}&4E zA~UY*US5vxIL=m*!^W6n0D9KoRq#CTC2lamnzF#*!-qems^3_-{79Bn^`!6n?(%2p zbb5C(nS3JLFq5@SwKk~gHDk!a zb0y&ZX8ko0*#Y2o5Cq@zeg9f5@#-psa=F}dB;R&jcM`a_M-+?2x`hPGuGO(&79YJdwV;3dU}RLG^Aaya3Nc?(YV&b3o2N986F1MHDK>!~EuuD~U8e=+0-U%zgvWQ$0k(rK;j<;5> zl<=%D0N~j$)d2v4AUNUs{@)s&03xu&1_lNmvev!`po8QuJ?>^M#z$*&k=_Cy(%D!tn4hU?b*(n4dXwZORs9pmagtXzU_ZpOtSRssGW@R7eMx+y^11meb~0C5wD8=C^e pO(1S;3J^DexUnff+yvsr{{RhE$4Q9x%)bBt002ovPDHLkV1nG6tNZ`} literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/pause.png b/cms/static/cms/images/pause.png new file mode 100644 index 0000000000000000000000000000000000000000..ddd31af92d4ad524b834fa585180d9634605a9e8 GIT binary patch literal 311 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=EX7WqAsj$Z!;#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QC?&zf1tm z1NVg~m&-=6%T$1hiJjqCce+&TF`%aaxm<2RyLk$))KjU{Lq`(%G(KW@e@#B0IiqC;$T!AI+G@BtWfJ^O*UEN~z<1wnWrZ003{9 z%(=O_*$&FhX7dvKI6_2!-Pzgc%OgN+xj?yGK49jTwdAEMMC73u5M*v5(oQCm{~UDg zjyF-p?hnMA3{|VuT_XBbFPmN-Kt%u2e_2z^&d$Cb1V+oUCMN&@EH5wr0zKjZ5k0c9 zvNEkb6M)A6Kq+P9{+%cmi>x8zmePr)M~ZAE2UnGYS-WXF!Lp?erN%P#mFv1wzs#7N~s$W z&EcynBDw_J4}hNM{bf{qqA)T6{CoNzN4yMuf{4hE1;GjK`XJj^To~za<~|GWIV z5&uswMn-}&0VYjg(l`@f(gY@rGXW+|VAA+69q!dtaJoK-00000NkvXXu0mjf?VP{e literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/search.png b/cms/static/cms/images/search.png new file mode 100644 index 0000000000000000000000000000000000000000..70f3bbc5f226754a23b63898c581a23026009790 GIT binary patch literal 1348 zcmZuxX;71A5Pk!g0Oe3bk$@Otpnw&jawy21NP$z(~Z*2|8kxG2yS!U1H zD2o>U4JB+YGUa2P1Fq`tDIfM6le>Z7$zMc!%`zYUu{F?Rb_imsm`#!^mDEfPtGDba zLF!RNRRO%lixGl`eW%)mrx!{j_K|)E7tXIzQmIQrIaO;F;SX#IImY1sG3EtAM@Of& zf%6qkOnkbFQbW1{KGsV#Xt97%E}n?zzP2ZcubScHCT}9Fs1C!K!FY2t#e&6Soxqp- zNBaddjEeA{`OI-3k$+AHdoK6Bw&WkdtqegBRM9+`&-4dT9APOv&=&eNM@;I(t@Q4a zX+JIyr>~9*wfZ8-JP=~wY&q^uULs8Ai4HL+dT2L_;yppsg2J-$;}ERTO3rjrYhWk0 ztxd99zF^Hy^Z8WpuAl|uPwv=5j2^rU; zm|ZzavAHzfW2!~luseWlH13GwW*#IRgc~yM(|NL3UHuH~gx5`&uFUpKI^6%W&e1Zj zGmPn^cO%_dlOx(_8Yi_Yo42yovs4&-RaamQJ7M4(#k@CiF zk9&Q6y+NP*lf@dQ37{g&^3zKS$~Ga*566xCX7V7lc><{G?A{_m$za0Xkfu+W<=l#b zGUi{yHMjR!0iftJDtwU`E0TDx`Bos^6ukvqO}N{VCN;=U&|sBJ&_!IZ4kjO{qMV6X zdjrPR*2?2;7?*Co#0T-r6mMxx_oKkDY<_9LU*S$mdwZs-y4$*)%lBd4Hmm!u9O-mb zoYAqUSndIAU$g7@u^Er*Zx!G5KQ6U&s$KWcpAGK~XrJ0dCe(PFd}9>(1y^=puNm|$ zT+4UzECLS$8hThl-4q)tJD?%Ri%;YP@bvGiAzF$Da+GQDt6Mxbm!krevj`>$EPHEf zxm)S2(Ch6bA(+Y7p2V#D81u>`@(#!Q#k4}kdBh{FlwEX9CVV&?4#!~o25XLeiZ8Lb2UxOg0kq-zOmpET1c_3}m{PDJi$!|QDZQICaiIb_Pmri1y=7w(l zsmOO*Yjbn+d*k=^mY_3lPUDx}ljQTp*i+zl5L2|aelL6;XNc3lmwOfIf#)lkt0DPs3w;-4gIamWc z-vyICc6Q=oD5cyCV0+wPFR`?-vct064q!K(3$qu{>)P@uLehr5g~t%}<^0?n*Yr2wzI!Ea%z{52AQ8OqY}b&Se*ib^cr*Y2 literal 0 HcmV?d00001 diff --git a/cms/static/cms/images/share.png b/cms/static/cms/images/share.png new file mode 100644 index 0000000000000000000000000000000000000000..3d1778ca61126c19491cd42803850cebbca93d6c GIT binary patch literal 1414 zcmV;11$p|3P)LqeZNN7D0BjquO+NtJ25i$0z_tO~^aHSM zz&8B=Y#XqRW7|MCxUM?@U=I=P7Ln~lG!Nja*81B*q3~NT&qmk}LzzrwSF6=}6~JhR z<_3UM#bWUb)8~i!6-XwNBh38Te+-_8Xh1{`O-xMWOf^CsfY$mIBHDbfI%b~CX0tI9 zjnD>=%jJedB+*SRfT32a^@NE|XalI#YL6(T&~3el>@?8{Z2$lQ{Ye8DGSLZT0NHGI zl!!7x`iRKSCR(A|2aJu4ZE+mu1pvv7?EC6nZNWNSy=cR{1Y&!3r_o2&I~C;&YLkjv$U>h=005lyUqN16FLGasu|DsuoZ zK0f|55xv;HwllLRrHZv$?c>?m**}bp^nh^yV`F361_lOR2e7qMyNED=b0QK4@NkFr zIc7dlE|;$w8CWBX0ssKlb>ASOM}zid<{JP$@_oM?Sa=;US_aeUv@0S(2mcoleHx3! z^7(weX`;Ix7zJQ3`1AF8{bZ-f(KbeBft72i?nRU;gmLgh<^e1Qsc*Gf|Jvn+1)~4} z1e&=49C2OuXeN_+z(j97FeCGRpBe3u~V7w1-UH2IP zNA6Z5B7cfVw8NJ7rc&yIVzKz0k@y;(SZ1DyL?Z7kFE4LXN*xBU zyS+w4zIPnwc&~T+z0mVnAe+s`>h=1QTI-!6vIW33BKoORD*bpz1VAd4$|$7{5Yh1J z{vy%>@MSa_{Uo2yFZX1|fDJtjdY-qbTCMIEk>@&`?-xYmr0@IF8)k?s-3Mf|+0kaR zISJtL_BLj|thGK~EEezF@p+!NX>oBez499EAfn#^T+v#eFBA%amgIJne@n-t(?&2oJ$+q7s@>GCESr~2bV3_|h%ht1-%YJj>a6ekznbWTHUJ``a=Gk_ z$X);cM?@}0qtVl*8lhVTJCRDI9#cvkB%+4^D56_OY5<>?N~N!QdG>t~z-{93cw~5Z zc(l=I++3?W#``LO^&r%9z(&vyz_tO~^aHSMz&8B=Y#XpmKLFbXY|{_GwgKDx1D{wG Uma96zK>z>%07*qoM6N<$g6g%A#{d8T literal 0 HcmV?d00001 diff --git a/cms/static/cms/js/player.js b/cms/static/cms/js/player.js index 854aa67..6e89b68 100644 --- a/cms/static/cms/js/player.js +++ b/cms/static/cms/js/player.js @@ -1,5 +1,4 @@ // TODO -// - multiple sources for an item // - live streams as item; // - add to playlist button // @@ -8,9 +7,9 @@ function duration_str(seconds) { seconds = Math.floor(seconds); var hours = Math.floor(seconds / 3600); - seconds -= hours; + seconds -= hours * 3600; var minutes = Math.floor(seconds / 60); - seconds -= minutes; + seconds -= minutes * 60; var str = hours ? (hours < 10 ? '0' + hours : hours) + ':' : ''; str += (minutes < 10 ? '0' + minutes : minutes) + ':'; @@ -19,18 +18,19 @@ function duration_str(seconds) { } -function Sound(title, detail, stream, duration) { +function Sound(title, detail, duration, streams) { this.title = title; this.detail = detail; - this.stream = stream; this.duration = duration; + this.streams = streams.splice ? streams.sort() : [streams]; } Sound.prototype = { title: '', detail: '', - stream: '', + streams: undefined, duration: undefined, + on_air_url: undefined, item: undefined, @@ -44,26 +44,36 @@ function PlayerPlaylist(player) { this.player = player; this.playlist = player.player.querySelector('.playlist'); this.item_ = player.player.querySelector('.playlist .item'); - this.items = [] + this.sounds = [] } PlayerPlaylist.prototype = { - items: undefined, + sounds: undefined, - find: function(stream) { - return this.items.find(function(stream_) { - return stream_ == stream; + /// Find a sound by its streams, and return it if found + find: function(streams) { + streams = streams.splice ? streams.sort() : streams; + + return this.sounds.find(function(sound) { + // comparing array + if(!sound.streams || sound.streams.length != streams.length) + return false; + + for(var i = 0; i < streams.length; i++) + if(sound.streams[i] != streams[i]) + return false; + return true }); }, add: function(sound, container) { - if(this.find(sound.stream)) - return; + var sound_ = this.find(sound.streams); + if(sound_) + return sound_; var item = this.item_.cloneNode(true); item.removeAttribute('style'); - console.log(sound) item.querySelector('.title').innerHTML = sound.title; if(sound.seekable) item.querySelector('.duration').innerHTML = @@ -79,26 +89,29 @@ PlayerPlaylist.prototype = { 'click', function(event) { self.remove(sound); }, false ); item.addEventListener('click', function(event) { + if(event.target.className.indexOf('action') != -1) + return; self.player.select(sound, true) }, false); (container || this.playlist).appendChild(item); - this.items.push(sound); + this.sounds.push(sound); this.save(); + return sound; }, remove: function(sound) { - var index = this.items.indexOf(sound); + var index = this.sounds.indexOf(sound); if(index != -1) - this.items.splice(index,1); + this.sounds.splice(index,1); this.playlist.removeChild(sound.item); this.save(); }, save: function() { var list = []; - for(var i in this.items) { - var sound = Object.assign({}, this.items[i]) + for(var i in this.sounds) { + var sound = Object.assign({}, this.sounds[i]) delete sound.item; list.push(sound); } @@ -106,10 +119,14 @@ PlayerPlaylist.prototype = { }, load: function() { - var list = []; + var list = this.player.store.get('playlist'); var container = document.createDocumentFragment(); - for(var i in list) - this.add(list[i], container) + for(var i in list) { + var sound = list[i]; + sound = new Sound(sound.title, sound.detail, sound.duration, + sound.streams) + this.add(sound, container) + } this.playlist.appendChild(container); }, } @@ -118,12 +135,12 @@ PlayerPlaylist.prototype = { function Player(id) { this.store = new Store('player'); - // html items + // html sounds this.player = document.getElementById(id); - this.box = this.player.querySelector('.box'); this.audio = this.player.querySelector('audio'); + this.on_air = this.player.querySelector('.on_air'); this.controls = { - duration: this.box.querySelector('.duration'), + duration: this.player.querySelector('.controls .duration'), progress: this.player.querySelector('progress'), single: this.player.querySelector('input.single'), } @@ -151,7 +168,7 @@ Player.prototype = { function update_info() { var controls = self.controls; // progress - if( !self.sound.seekable || + if(!self.sound || !self.sound.seekable || self.audio.duration == Infinity) { controls.duration.innerHTML = ''; controls.progress.value = 0; @@ -161,7 +178,7 @@ Player.prototype = { var pos = self.audio.currentTime; controls.progress.value = pos; controls.progress.max = self.audio.duration; - controls.duration.innerHTML = duration_str(sound.duration); + controls.duration.innerHTML = duration_str(pos); } // audio @@ -174,7 +191,7 @@ Player.prototype = { }, false); this.audio.addEventListener('loadstart', function() { - self.player.setAttribute('state', 'stalled'); + self.player.setAttribute('state', 'loading'); }, false); this.audio.addEventListener('loadeddata', function() { @@ -184,15 +201,11 @@ Player.prototype = { this.audio.addEventListener('timeupdate', update_info, false); this.audio.addEventListener('ended', function() { + self.player.removeAttribute('state'); if(!self.controls.single.checked) self.next(true); }, false); - // buttons - this.box.querySelector('button.play').onclick = function() { - self.play(); - }; - // progress progress = this.controls.progress; progress.addEventListener('click', function(event) { @@ -210,6 +223,39 @@ Player.prototype = { }, false); }, + update_on_air: function(url) { + if(!url) { + // TODO HERE + } + + var self = this; + var req = new XMLHttpRequest(); + req.open('GET', url, true); + req.onreadystatechange = function() { + if(req.readyState != 4 || (req.status != 200 && req.status != 0)) + return; + + var data = JSON.parse(req.responseText) + if(data.type == 'track') { + self.on_air.querySelector('.info').innerHTML = '♫'; + self.on_air.querySelector('.title') = + (data.artist || '') + ' — ' + (data.title); + self.on_air.querySelector('.url').removeAttribute('href'); + } + else { + self.on_air.querySelector('.info').innerHTML = ''; + self.on_air.querySelector('.title').innerHTML = data.title; + self.on_air.querySelector('.url').setAttribute('href', data.url); + } + + if(timeout) + window.setTimeout(function() { + self.update_on_air(url); + }, 60*1000); + }; + req.send(); + }, + play: function() { if(this.audio.paused) this.audio.play(); @@ -227,58 +273,68 @@ Player.prototype = { }, select: function(sound, play = true) { + if(this.sound == sound) { + if(play) + this.play(); + return; + } + if(this.sound) this.unselect(this.sound); this.audio.pause(); - // if stream is a list, use + // streams as var sources = this.audio.querySelectorAll('source'); for(var i = 0; i < sources.length; i++) { this.audio.removeChild(sources[i]); } - sources = sound.stream.splice ? sound.stream : [ sound.stream ]; - for(var i = 0; i < sources.length; i++) { + streams = sound.streams; + for(var i = 0; i < streams.length; i++) { var source = document.createElement('source'); - source.src = sources[i]; + source.src = streams[i]; + source.type = this.__mime_type(source.src); this.audio.appendChild(source); } this.audio.load(); + // attributes this.sound = sound; sound.item.setAttribute('selected', 'true'); - this.box.querySelector('.title').innerHTML = sound.title; + if(sound.seekable) + this.player.setAttribute('seekable', 'true'); + else + this.player.removeAttribute('seekable'); + + // play if(play) this.play(); }, next: function() { - var index = this.playlist.items.indexOf(this.sound); + var index = this.playlist.sounds.indexOf(this.sound); if(index < 0) return; index++; - if(index < this.playlist.items.length) - this.select(this.playlist.items[index], true); + if(index < this.playlist.sounds.length) + this.select(this.playlist.sounds[index], true); }, save: function() { this.store.set('player', { single: this.controls.single.checked, - sound: this.sound && this.sound.stream, + sound: this.sound && this.sound.streams, }); }, load: function() { var data = this.store.get('player'); this.controls.single.checked = data.single; - this.sound = this.playlist.find(data.stream); - }, - - update_on_air: function() { - + if(data.sound) + this.sound = this.playlist.find(data.sound); }, } diff --git a/cms/static/cms/js/utils.js b/cms/static/cms/js/utils.js index a028efb..b5f527e 100644 --- a/cms/static/cms/js/utils.js +++ b/cms/static/cms/js/utils.js @@ -31,7 +31,7 @@ Store.prototype = { set: function(key, data) { key = this.prefix + '.' + key; if(data == undefined) { - localStorage.removeItem(prefix); + localStorage.removeItem(this.prefix); return; } localStorage.setItem(key, JSON.stringify(data)) diff --git a/cms/templates/cms/base_site.html b/cms/templates/cms/base_site.html index 11033f3..664524d 100644 --- a/cms/templates/cms/base_site.html +++ b/cms/templates/cms/base_site.html @@ -31,7 +31,7 @@ {{ page.title }} -
+ @@ -40,7 +40,7 @@
-
diff --git a/cms/templates/cms/diffusion_page.html b/cms/templates/cms/diffusion_page.html index 4b088a4..96a22ab 100644 --- a/cms/templates/cms/diffusion_page.html +++ b/cms/templates/cms/diffusion_page.html @@ -4,7 +4,7 @@ {% block content_extras %} {% with tracks=page.tracks.all %} {% if tracks %} -
+

{% trans "Playlist" %}

    {% for track in tracks %} @@ -14,11 +14,11 @@ {% endfor %}
-
+ {% endif %} {% endwith %} -
+

{% trans "Dates of diffusion" %}

    {% with diffusion=page.diffusion %} @@ -28,16 +28,16 @@ {% endfor %} {% endwith %}
-
+ {% with podcasts=self.get_podcasts %} {% if podcasts %} -
+

{% trans "Podcasts" %}

{% for item in podcasts %} {% include 'cms/snippets/sound_list_item.html' %} {% endfor %} -
+ {% endif %} {% endwith %} diff --git a/cms/templates/cms/publication.html b/cms/templates/cms/publication.html index 5d08cdd..d1aab0b 100644 --- a/cms/templates/cms/publication.html +++ b/cms/templates/cms/publication.html @@ -25,9 +25,10 @@ {% endif %}
{{ page.body|richtext}} - {% block content_extras %}{% endblock %}
+ {% block content_extras %}{% endblock %} +
{% render_sections position="post_content" %}
diff --git a/cms/templates/cms/sections/section_logs_list.html b/cms/templates/cms/sections/section_logs_list.html index c91c132..dc5a166 100644 --- a/cms/templates/cms/sections/section_logs_list.html +++ b/cms/templates/cms/sections/section_logs_list.html @@ -1,8 +1,10 @@ {% extends "cms/sections/section_item.html" %} {% block content %} -{% with item_date_format="H:i" list_css_class="date_list" %} -{% include "cms/snippets/list.html" %} +{% with item_date_format="H:i" list_css_class="date_list" list_no_cover=True %} +{% for item in object_list %} +{% include "cms/snippets/date_list_item.html" %} +{% endfor %} {% endwith %} {% endblock %} diff --git a/cms/templates/cms/sections/section_player.html b/cms/templates/cms/sections/section_player.html index e5feb80..b28def3 100644 --- a/cms/templates/cms/sections/section_player.html +++ b/cms/templates/cms/sections/section_player.html @@ -10,49 +10,50 @@ -
-
- +
+ - +
+ + -

{{ self.live_title }}

- -
-
- - - - -
+ +
+
-
-
-

- -
{% endblock %} diff --git a/cms/templates/cms/sections/section_search_field.html b/cms/templates/cms/sections/section_search_field.html index 00e1797..516f8be 100644 --- a/cms/templates/cms/sections/section_search_field.html +++ b/cms/templates/cms/sections/section_search_field.html @@ -1,9 +1,11 @@ {% extends "cms/sections/section_item.html" %} {% load i18n %} +{% load static %} {% block content %}
- + +
{% endblock %} diff --git a/cms/templates/cms/snippets/comments.html b/cms/templates/cms/snippets/comments.html index 512f0a4..238f870 100644 --- a/cms/templates/cms/snippets/comments.html +++ b/cms/templates/cms/snippets/comments.html @@ -1,6 +1,11 @@ {% load i18n %} +{% load static %} {% load honeypot %} +{% if comment_form or page.comments %} +

{% trans "Comments" %}

+{% endif %} + {% if comment_form %} {% with comment_form as form %} {{ form.non_field_errors }} @@ -30,7 +35,10 @@
-
    +{% endwith %} +{% endif %} + +
      {% for comment in page.comments %}
    -{% endwith %} -{% endif %} - - - diff --git a/cms/templates/cms/snippets/date_list_item.html b/cms/templates/cms/snippets/date_list_item.html index 8762e9f..0e16a30 100644 --- a/cms/templates/cms/snippets/date_list_item.html +++ b/cms/templates/cms/snippets/date_list_item.html @@ -16,6 +16,7 @@ is just a bit different. {% endwith %} {% endif %} + {% if not list_no_cover %} {% if item_big_cover %} {% image item.cover max-640x480 class="cover big" height="" width="" %} {% elif item.cover %} @@ -23,6 +24,7 @@ is just a bit different. {% else %}
    {% endif %} + {% endif %}

    {{ item.title }}

    diff --git a/cms/templates/cms/snippets/sound_list_item.html b/cms/templates/cms/snippets/sound_list_item.html index aba990b..30402fc 100644 --- a/cms/templates/cms/snippets/sound_list_item.html +++ b/cms/templates/cms/snippets/sound_list_item.html @@ -1,13 +1,22 @@ {% load static %} {# TODO: complete archive podcast -> info #} - + -

    {{ item.name }}

    + duration={{ item.duration|date:"H*3600+i*60+s" }}, + streams='{{ item.url }}')));" class="flex_row"> + +

    {{ item.name }}

    + - {{ duration.date|date:'H:i:s' }} + {% if item.duration.hour > 0 %} + {{ item.duration|date:'H:i:s' }} + {% else %} + {{ item.duration|date:'i:s' }} + {% endif %}
    +
    diff --git a/controllers/templates/aircox/controllers/monitor.html b/controllers/templates/aircox/controllers/monitor.html index 084e491..aee33ed 100644 --- a/controllers/templates/aircox/controllers/monitor.html +++ b/controllers/templates/aircox/controllers/monitor.html @@ -49,17 +49,14 @@ section.station {