# HG changeset patch # User František Kučera # Date 1542840733 -3600 # Node ID 070e02fb18f51473eea87585eaf44128a667bba6 # Parent ad2c76125200c5f169a266b715d41969630b7a93 relpipe-web: create web project diff -r ad2c76125200 -r 070e02fb18f5 .hgignore --- a/.hgignore Thu Sep 11 20:30:46 2014 +0200 +++ b/.hgignore Wed Nov 21 23:52:13 2018 +0100 @@ -13,3 +13,5 @@ ^analýza/princip.png$ ^nbproject/private/ ^dokumentace/javadoc/ + +^relpipe-data/.seznam.xml$ diff -r ad2c76125200 -r 070e02fb18f5 build.uživatelské.properties --- a/build.uživatelské.properties Thu Sep 11 20:30:46 2014 +0200 +++ b/build.uživatelské.properties Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,1 @@ +xslt.jar=/home/fiki/lib/java/saxon/saxonb.jar diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/css/styl.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/css/styl.css Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,205 @@ +body { + background-color: #3c3b37; + font-family: sans-serif; + text-align: center; + font-size: 16px; +} + +a img { + border: none; +} + +a:hover { + text-shadow: 1px 1px 1px #eee; +} +a[href^="https://"]:hover { + text-shadow: 1px 1px 1px #6f6; +} +a[href^="http://"]:hover { + text-shadow: 1px 1px 1px #66f; +} + +#tělo { + width: 900px; + text-align: left; + margin: 0 auto; + margin-top: 32px; + margin-bottom: 32px; + background-color: #77bed2; + padding-left: 20px; + padding-right: 20px; + padding-top: 2px; + padding-bottom: 2px; + border-radius: 8px; +} + +#nabídka { + width: 10.3em; + position: relative; + left: -20px; + top: -12px; + background-color: #3c3b37; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + padding-top: 6px; + padding-bottom: 6px; + padding-left: 10px; + list-style-type: none; + float: left; +} + +#nabídka a { + color: white; +} + +#nabídka a:hover { + color: #77bed2; + text-shadow: none; +} + +#text { + min-height: 400px; +} + +#zápatí { + font-size: small; + text-align: center; +} + +pre { + background-color: #ddf; + padding: 6px; + border-radius: 4px; + overflow: auto; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; +} + +.zdroják-ke-stažení { + font-size: 60%; + margin-top: -20px; + padding-right: 0px; + text-align: right; +} +.zdroják-ke-stažení span { + background-color: #ddf; + color: black; + padding: 5px; + border-radius: 0px 0px 4px 4px; + padding-top: 0px; + padding-bottom: 0px; +} + +.zdroják-ke-stažení a { + text-decoration: none +} + +.diagram { + background-color: #ddf; + padding: 6px; + border-radius: 4px; + text-align: center; + max-width: 100%; + overflow: auto; +} + +.diagram .nadpis { + font-size: 60%; + padding: 4px; + margin-top: 6px; + margin-bottom: -6px; + margin-left: -6px; + margin-right: -6px; + background-color: #d0d0f0; + border-radius: 0px 0px 4px 4px; +} + +table { + border-collapse:collapse; + box-shadow: 3px 3px 3px grey; + margin-top: 10px; + margin-bottom: 10px; +} +td, th { + border: 1px solid black; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 6px; + padding-right: 6px; + font-weight: normal; +} +td.číslo { + text-align: right; +} +thead tr { + background: grey; + color:black; +} +tbody tr:hover { + background-color: silver; + color:black; +} + +.rot13 span { + color: gray; + font-family: monospace; +} + +.rot13 a { + margin-left: -5px; + color: green; + text-decoration: none; +} + +.rot13 a:hover { + color: red; +} + +sup, sub { + vertical-align: 0; + position: relative; +} +sup { + bottom: 1ex; +} +sub { + top: 0.8ex; +} + +sup.podČarou-odkaz a { + color: grey; + text-decoration: none; +} + +div.podČarou-poznámky { + font-size: 66%; + border-top: 1px solid grey; + border-bottom: 1px solid grey; + padding-left: 20px; + padding-top: 4px; + padding-bottom: 4px; +} + +div.podČarou-poznámky p { + margin-top: 2px; + margin-bottom: 2px; +} + +div.podČarou-poznámky a.podČarou-odkaz-zpět { + color: black; + text-decoration: none; + margin-right: 4px; +} + + +blockquote { + background-color: #ddf; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 16px; + padding-right: 16px; + border-radius: 4px; +} + diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/grafika/logo.png Binary file relpipe-data/grafika/logo.png has changed diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/index.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/index.xml Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,21 @@ + + + Chovatelská stanice + Úvodní stránka našeho webu. + 10 + + +

+ Vítejte na našich stránkách :-) + Jsme chovatelská stanice zaměřená na chov tučňáků.Jsou to opravdu moc pěkná zvířata. + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mi nisl, tincidunt in viverra vitae, pharetra nec urna. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Integer gravida gravida convallis. Phasellus erat ligula, vestibulum vel commodo ac, fringilla quis lorem. Morbi a massa a ligula tincidunt mattis et et felis. Vivamus a quam nulla, at vulputate nisi. Duis gravida placerat luctus. Phasellus vehicula lobortis arcu vitae hendrerit. Maecenas ut molestie elit. Aliquam erat volutpat. Curabitur sed euismod nisl. Mauris molestie tristique nulla, eu pellentesque sem tincidunt non. +

+

Morbi et magna a ligula pulvinar posuere. Pellentesque sit amet sem službyTam se určitě podívejte! sed orci convallis tincidunt sed sed nisl. Aenean id nibh lorem, eget tempor mauris. Duis diam dui, ullamcorper quis iaculis eget, blandit non dolor. Vestibulum pretium lorem aliquet libero tristique vehicula. Quisque sit amet odio risus, sed tincidunt augue. Proin tincidunt eros eu sem sodales sit amet sollicitudin libero vestibulum. Proin sed nunc elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam mollis, nisl ut sodales sodales, quam lacus elementum magna, nec blandit leo enim id odio. Integer risus leo, sagittis vitae vestibulum vitae, elementum eu eros.

+

Fusce eu libero sit amet mauris molestie suscipit. Integer porttitor euismod luctus. Sed elementum quam et quam pharetra tincidunt. Pellentesque vitae augue quis mi blandit dapibus. Vestibulum iaculis magna sit amet nisl tristique at consectetur odio blandit. Proin aliquam lectus ac arcu condimentum tempus. Suspendisse potenti. Suspendisse porttitor euismod accumsan. Sed nibh lacus, laoreet id consequat gravida, eleifend eget lectus. Curabitur accumsan, nisi at elementum aliquam, nisl nulla volutpat lorem, ac elementum metus lacus eget lectus. Praesent odio nulla, porttitor vitae hendrerit vel, ullamcorper in velit. Sed in est ipsum, iaculis accumsan sem. Integer pretium ultrices justo a mattis. Nullam id lacus in lectus bibendum tempor. Nulla non viverra eros. Praesent scelerisque, nisi et placerat convallis, nisi nulla lobortis mauris, eu ultricies est mi ac orci. Suspendisse ullamcorper dapibus interdum. Curabitur ac metus eros, sed venenatis sapien.

+
+ +
+ diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/js/skript.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/js/skript.js Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,67 @@ +/** + * XML Web generátor – program na generování webových stránek + * Copyright © 2012 František Kučera (frantovo.cz) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * XML Web generátor – jmenný prostor + */ +var xwg = { + /** + * Zašifruje/dešifruje obsah elementu pomocí Rot13. + * @param id ID elementu, jehož text chceme změnit. + */ + rot13: function(id) { + var e = document.getElementById(id); + e.textContent = e.textContent.rot13(); + }, + + /** + * Vloží klikatelný odkaz. + * @param id ID span elementu obsahujícího data + */ + odkazNaElektronickouPoštu: function(id) { + var spanČesky = document.getElementById(id); + var spanObsah = document.getElementById(id + "b"); + var česky = spanČesky.innerHTML; + var adresa = česky + .replace(new RegExp(" zavináč ", "g"), "@") + .replace(new RegExp(" tečka ", "g"),"."); + + var odkaz = document.createElement("a"); + odkaz.href = "mailto:" + adresa; + if (spanObsah.innerHTML.length > 0) { + odkaz.innerHTML = spanObsah.innerHTML; + } else { + odkaz.innerHTML = adresa; + } + + spanČesky.parentNode.insertBefore(odkaz, spanČesky); + spanČesky.parentNode.removeChild(spanČesky); + spanObsah.parentNode.removeChild(spanObsah); + }, + +}; + +/** + * Vrací hodnotu textového řetězce zašifrovanou/dešifrovanou algoritmem Rot13 + */ +String.prototype.rot13 = function() { + return this.replace(/[a-zA-Z]/g, function(z) { + return String.fromCharCode((z <= "Z" ? 90 : 122) >= (z = z.charCodeAt(0) + 13) ? z : z - 26); + }); +}; + diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/web.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/web.conf Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,39 @@ + + Chovatelská stanice tučňáků + vše pro tučňáky + + František Kučera + nereknu_nechci_spam@example.com + + + + + + https://frantovo.cz/projekty/xml-web-generator/demo1/ + + + 399a714c-956e-444c-a8f4-afe8f0df802a + + + PokusnyWeb123 + + + css/styl.css + css/syntaxe.css + js/skript.js + + + + + + + diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/záhlaví.inc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/záhlaví.inc Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,10 @@ + + + + + + diff -r ad2c76125200 -r 070e02fb18f5 relpipe-data/zápatí.inc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/zápatí.inc Wed Nov 21 23:52:13 2018 +0100 @@ -0,0 +1,8 @@ + + +

+ Poháněno tučňákem. Vytvořeno pomocí XML Web generátoru. Používá XML, XSLT, Ant a další dobroty. +

+
+
+ diff -r ad2c76125200 -r 070e02fb18f5 vstup --- a/vstup Thu Sep 11 20:30:46 2014 +0200 +++ b/vstup Wed Nov 21 23:52:13 2018 +0100 @@ -1,1 +1,1 @@ -ukázka/ \ No newline at end of file +relpipe-data \ No newline at end of file