# HG changeset patch # User František Kučera # Date 1268162790 -3600 # Node ID e019dbc42723f342661faa1d8157792330d2b716 # Parent 7162ed62c9ab470447591a58e2743ea2121ef1df Přidán rámeček s fotkami (bxSlider) + vlastní značky (tagfile). diff -r 7162ed62c9ab -r e019dbc42723 .hgignore --- a/.hgignore Sun Mar 07 21:19:35 2010 +0100 +++ b/.hgignore Tue Mar 09 20:26:30 2010 +0100 @@ -18,3 +18,4 @@ java/nekurak.net-lib/build/* java/nekurak.net-lib/nbproject/private +java/nekurak.net-web/lib/* diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp --- a/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp Sun Mar 07 21:19:35 2010 +0100 +++ b/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp Tue Mar 09 20:26:30 2010 +0100 @@ -3,26 +3,48 @@ xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:fn="http://java.sun.com/jsp/jstl/functions" + xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" version="2.0">

:

+ +
-

-

-

- :
-   -
- -

- -

-
+ + + +
+

+

+

+ :
+   +
+ +

+ +

+
+
+ + +
+ +
+ + +
+ +
+
+ +
+ diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/WEB-INF/tags/nekurak/fotkyPodniku.tag --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/fotkyPodniku.tag Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,21 @@ + + + + + +
+

demo

+

demo

+

demo

+

žádné další fotografie

+
+ + + +
\ No newline at end of file diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/WEB-INF/tags/nekurak/hlasovani.tag --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/hlasovani.tag Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,12 @@ + + + + + +

TODO: tady bude graf a hlasování.

+ +
\ No newline at end of file diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/grafika/fotkaPodnikuVzorova.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/grafika/fotkaPodnikuVzorova.png Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,1 @@ +../../lib/grafika/fotkaPodnikuVzorova.png \ No newline at end of file diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/grafika/fotkaPodnikuZadne.png Binary file java/nekurak.net-web/web/grafika/fotkaPodnikuZadne.png has changed diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/grafika/fotkyPodnikuDalsi.png Binary file java/nekurak.net-web/web/grafika/fotkyPodnikuDalsi.png has changed diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/grafika/fotkyPodnikuPredchozi.png Binary file java/nekurak.net-web/web/grafika/fotkyPodnikuPredchozi.png has changed diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/index.jsp --- a/java/nekurak.net-web/web/index.jsp Sun Mar 07 21:19:35 2010 +0100 +++ b/java/nekurak.net-web/web/index.jsp Tue Mar 09 20:26:30 2010 +0100 @@ -35,6 +35,8 @@ <fmt:message key="nazev"/> + + diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/js/fotkyPodniku.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/js/fotkyPodniku.js Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,12 @@ +var fotkyPodniku = {}; + +fotkyPodniku.aktivuj = function (id) { + $("#fotkyPodniku" + id).bxSlider({ + mode: "slide", + speed: 250, + controls: true, + next_text: "→", + prev_text: "←", + wrapper_class: "fotkyPodniku" + }); +}; diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/js/jquery.bxSlider.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/js/jquery.bxSlider.js Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,1 @@ +../../lib/js/jquery.bxSlider.js \ No newline at end of file diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/js/jquery.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/nekurak.net-web/web/js/jquery.js Tue Mar 09 20:26:30 2010 +0100 @@ -0,0 +1,1 @@ +../../lib/js/jquery-1.4.2.min.js \ No newline at end of file diff -r 7162ed62c9ab -r e019dbc42723 java/nekurak.net-web/web/styl.css --- a/java/nekurak.net-web/web/styl.css Sun Mar 07 21:19:35 2010 +0100 +++ b/java/nekurak.net-web/web/styl.css Tue Mar 09 20:26:30 2010 +0100 @@ -145,3 +145,41 @@ .registraceKontrolaUdaju { color: gray; } + +.podnik .adresa { + float: left; + width: 500px; +} +.podnik .hlasovani { + float: left; + width: 280px; + height: 280px; +} + +.podnik .fotky { + float: left; + width: 200px; + height: 280px; +} + +.podnik { + clear: both; +} + +.cistic { + clear: both; +} + +.slider_prev { + background-image: url('grafika/fotkyPodnikuPredchozi.png'); + width: 32px; + height: 32px; + text-indent: 1000px; +} + +.slider_next { + background-image: url('grafika/fotkyPodnikuDalsi.png'); + width: 32px; + height: 32px; + text-indent: 1000px; +}