8 changed files with 232 additions and 21 deletions
-
38content/argumenti.md
-
2content/index.md
-
21content/pridruzi.md
-
2content/zgodovina.md
-
BINfavicon.ico
-
116plugins/PicoVideoEmbed.php
-
39themes/vihor/css/style.css
-
35themes/vihor/js/script.js
@ -0,0 +1,38 @@ |
|||
--- |
|||
Title: Argumenti proti pozidavi |
|||
Order: 2 |
|||
--- |
|||
|
|||
## 1. Bivša stališča MOL: |
|||
· Pobuda ni skladna z urbanističnim kriterijem ohranjanja bivalne kakovosti v obstoječih soseskah. |
|||
|
|||
· Območje predstavlja zeleno površino strnjenega naselja. Te površine imajo pomembno socialno in ekološko funkcijo, omogočajo ureditev prostorov druženja in izboljšujejo mikroklimatske pogoje. |
|||
|
|||
· Zgoščevanje soseske z gradnjo novih objektov na odprtih zelenih površinah ni le nesprejemljivo, ampak nevzdržno. |
|||
|
|||
. Povprečje gostote poseljenosti na km2 je po zadnjih podatkih za Ljubljano iz leta 2019 1.065,4 občanov/km2. Znotraj Šišenske soseske 6 je že sedaj skoraj štiri krat višja gostota prebivalstva, in sicer le-ta znaša več kot 4.100 prebivalcev/km2. (vir: MOL) |
|||
|
|||
## 2. Argumenti stroke: |
|||
· Soseska ŠS-6 predstavlja enega kvalitetnejših primerov stanovanjske gradnje v Ljubljani, ki je bila realizirana kot prva zaključena urbanistična enota. |
|||
|
|||
· Načrtovana je bila skladno z urbanističnimi načeli Ravnikarjeve “idealne soseske”. |
|||
|
|||
· Odprte zelene površine in parki soseske ŠS-6 spadajo med lepše primere krajinskega oblikovanja javnih površin v Ljubljani. |
|||
|
|||
· Zelene površine znotraj sosesk izboljšujejo mikroklimatske pogoje. |
|||
|
|||
· Podpora Fakultete za arhitekturo (Uni. Lj.). |
|||
|
|||
## 3. Stališča stanovalcev: |
|||
· Z gradnjo stanovanj bi rešili dolgoletni spor MOL z zasebnim investitorjem; gre za poravnavo na račun stanovalcev v soseski. |
|||
|
|||
· Zgoščevanje soseske z gradnjo novih objektov na odprtih zelenih površinah ni sprejemljivo. |
|||
|
|||
· Pobuda ni skladna z urbanističnim kriterijem ohranjanja bivalne kakovosti v obstoječih soseskah. |
|||
|
|||
· ŠS-6 ima že v obstoječem stanju nadpovprečno visoko gostoto poseljenosti in je v primerjavi s celotno Ljubljano skoraj štirikrat gosteje poseljena. |
|||
|
|||
· Večja gostota poselitve bo negativno vplivala na obremenitev vzporedne infrastrukture (vrtci, šole), ki je že v trenutni situaciji preobremenjena, pričakujemo pa lahko še poslabšanje po zaključku gradenj na drugi strani Celovške (Rastoderjevi stolpnici, Kvartet, …). |
|||
|
|||
· Ustvarjen precedens bi vodil v nadaljnje spremembe OPN in posledične pozidave, ki bi bile v nasprotju z interesi občanov in etažnih lastnikov. |
|||
|
@ -0,0 +1,116 @@ |
|||
<?php |
|||
|
|||
/** |
|||
* PicoVideoEmbed - Responsive peerube, vimeo and youtube embeds in shortcode format |
|||
* |
|||
* @author Jurij Podgoršek <g1smo@git.kompot.si> |
|||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html |
|||
* @version 0.2 |
|||
*/ |
|||
class PicoVideoEmbed extends AbstractPicoPlugin |
|||
{ |
|||
/** |
|||
* API version used by this plugin |
|||
* |
|||
* @var int |
|||
*/ |
|||
const API_VERSION = 3; |
|||
|
|||
/** |
|||
* This plugin depends on ... |
|||
* |
|||
* @see AbstractPicoPlugin::$dependsOn |
|||
* @var string[] |
|||
*/ |
|||
protected $dependsOn = array(); |
|||
|
|||
|
|||
const SHORTCODE = '#\[video .+?\]#i'; |
|||
|
|||
/** |
|||
* Triggered after Pico has prepared the raw file contents for parsing |
|||
* |
|||
* @see Pico::parseFileContent() |
|||
* @see DummyPlugin::onContentParsed() |
|||
* @param string &$content prepared file contents for parsing |
|||
* @return void |
|||
*/ |
|||
public function onContentParsed(&$content) |
|||
{ |
|||
if (stripos($content, '[video') !== false) { |
|||
// Search for Embed shortcodes allover the content
|
|||
preg_match_all(self::SHORTCODE, $content, $matches); |
|||
|
|||
// Make sure we found some shortcodes
|
|||
if (count($matches[0]) > 0) { |
|||
|
|||
// Walk through shortcodes one by one
|
|||
foreach ($matches[0] as $match) { |
|||
|
|||
// First, try youtube
|
|||
// Get youtube like and video ID (Ref:http://stackoverflow.com/questions/3717115/regular-expression-for-youtube-links/3726073#3726073)
|
|||
preg_match(self::YOUTUBE_REGEX, $match, $embed_link); |
|||
if (count($embed_link) > 1) { |
|||
$content = preg_replace(self::SHORTCODE, $this->getYoutubeEmbed($embed_link), $content, 1); |
|||
continue; |
|||
} |
|||
|
|||
// Next, we try vimeo
|
|||
preg_match(self::VIMEO_REGEX, $match, $embed_link); |
|||
if (count($embed_link) > 1) { |
|||
$content = preg_replace(self::SHORTCODE, $this->getVimeoEmbed($embed_link), $content, 1); |
|||
continue; |
|||
} |
|||
|
|||
// Otherwise, it's peertube <3
|
|||
preg_match(self::PEERTUBE_REGEX, $match, $embed_link); |
|||
if (count($embed_link) > 1) { |
|||
$content = preg_replace(self::SHORTCODE, $this->getPeertubeEmbed($embed_link), $content, 1); |
|||
continue; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
const YOUTUBE_REGEX = '#http(?:s)?\:\/\/(?:www\.)?youtu(?:be\.com/watch\?v=|\.be/|be\.com/embed/)([\w\-]+)(&(amp;)?[\w\?=]*)?#s'; |
|||
private function getYoutubeEmbed(array $embed_link) { |
|||
return '<div class="pico-video-embed">' |
|||
. '<iframe id="ytID" width="500" height="480" src="https://www.youtube.com/embed/' . $embed_link[1] . '" frameborder="0" allowfullscreen></iframe>' |
|||
. '</div>'; |
|||
} |
|||
|
|||
const VIMEO_REGEX = '#http(?:s)?\:\/\/(?:www\.)?(?:player\.)?vimeo\.com/(?:video/)?([0-9]+)(-:\?.+)?#s'; |
|||
private function getVimeoEmbed(array $embed_link) { |
|||
return '<div class="pico-video-embed">' |
|||
. '<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://player.vimeo.com/video/' . $embed_link[1] . '?warningTitle=0" frameborder="0" allowfullscreen></iframe>' |
|||
. '</div>'; |
|||
} |
|||
|
|||
const PEERTUBE_REGEX = '#(http(?:s)?)\:\/\/([a-zA-Z0-9](?:(?:[a-zA-Z0-9-]*|(?<!-)\.(?![-.]))*[a-zA-Z0-9]+)?)(?:/videos/embed|/videos/watch|/w)/([0-9a-zA-Z-]+)/?#s'; |
|||
private function getPeertubeEmbed(array $embed_link) { |
|||
return '<div class="pico-video-embed">' |
|||
. '<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="' . $embed_link[1] . '://' . $embed_link[2] . '/videos/embed/' . $embed_link[3] . '?warningTitle=0" frameborder="0" allowfullscreen></iframe>' |
|||
. '</div>'; |
|||
} |
|||
|
|||
/** |
|||
* Triggered after Pico has rendered the page |
|||
* |
|||
* @param string &$output contents which will be sent to the user |
|||
* @return void |
|||
*/ |
|||
public function onPageRendered(&$output) |
|||
{ |
|||
// Add embed css
|
|||
$output = str_replace('</head>', ($this->getStyleHeader() . '</head>'), $output); |
|||
} |
|||
|
|||
private function getStyleHeader() { |
|||
$header = '<style type="text/css">' |
|||
. '.pico-video-embed { position: relative; padding-bottom: 56.25%; border: 0;}' |
|||
. '.pico-video-embed iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;}' |
|||
. '</style>'; |
|||
return $header; |
|||
} |
|||
} |
@ -0,0 +1,35 @@ |
|||
window.addEventListener('DOMContentLoaded', function () { |
|||
document.querySelectorAll('.mlf').forEach(function (el) { |
|||
var m = el.getAttribute('href').split(/_AFNA_/); |
|||
var mail = m[0] + '@' + m[1]; |
|||
el.setAttribute('href', 'mailto:' + mail); |
|||
el.innerHTML = mail; |
|||
}); |
|||
|
|||
/* |
|||
var narocilo = document.getElementById('narocilo'); |
|||
if (narocilo) { |
|||
var e = document.getElementById('id_email'); |
|||
var mail = e.value; |
|||
|
|||
var subUrl = 'https://liste.kompot.si/postorius/lists/ss6.kompot.si/'; |
|||
var xhr = new XMLHttpRequest(); |
|||
xhr.onreadystatechange = function () { |
|||
if (xhr.readyState == 4 && xhr.status == 200) { |
|||
var m = xhr.response.match(/<input type='hidden' name='csrfmiddlewaretoken'\s+value='([a-zA-Z0-9]+)'/); |
|||
console.log('matching', m); |
|||
if (m.length == 2) { |
|||
var csrf = document.createElement('input'); |
|||
csrf.setAttribute('type', 'hidden'); |
|||
csrf.setAttribute('name', 'csrfmiddlewaretoken'); |
|||
csrf.value = m[1]; |
|||
console.log(csrf); |
|||
narocilo.appendChild(csrf); |
|||
} |
|||
} |
|||
} |
|||
xhr.open('GET', subUrl, true); |
|||
xhr.send(); |
|||
} |
|||
*/ |
|||
}); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue