From cac81c5c401813e609a9b3345eec91a570071fab Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 10 Nov 2005 20:19:29 +0000 Subject: =?UTF-8?q?aggiunta=20la=20funzionalit=C3=A0=20di=20ricerca,=20e?= =?UTF-8?q?=20"finiti"=20gli=20stili?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/links | 24 +++++++----------------- root/results | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ root/search | 10 ++++++++++ root/style.css | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++- root/tags | 1 + root/toggle_details | 17 +++++++++++++++++ 6 files changed, 140 insertions(+), 18 deletions(-) create mode 100644 root/results create mode 100644 root/search create mode 100644 root/toggle_details (limited to 'root') diff --git a/root/links b/root/links index ee07953..58a5b83 100644 --- a/root/links +++ b/root/links @@ -9,23 +9,7 @@ [% href.js_library() %] - + [% INCLUDE toggle_details %]
@@ -64,6 +48,7 @@
+ [% INCLUDE search local=1 %] diff --git a/root/results b/root/results new file mode 100644 index 0000000..e3cc6d2 --- /dev/null +++ b/root/results @@ -0,0 +1,54 @@ + + + + Search results + + + [% href.js_library() %] + [% INCLUDE toggle_details %] + + + [% INCLUDE search %] + + + diff --git a/root/search b/root/search new file mode 100644 index 0000000..198bc35 --- /dev/null +++ b/root/search @@ -0,0 +1,10 @@ +
+
+

+ + + + +

+
+
\ No newline at end of file diff --git a/root/style.css b/root/style.css index ff8aa36..6fbb706 100644 --- a/root/style.css +++ b/root/style.css @@ -20,6 +20,7 @@ div#all-tags ol { list-style: none; margin:0;padding:0;border:0; + margin-top: 30px; } div#all-tags li { @@ -112,7 +113,7 @@ div#related ul li span.tag.add a div#links { padding:0;border:0;margin:0; - margin-top: 85px; + margin-top: 115px; } div#links h2 { @@ -160,6 +161,11 @@ div#links ol > li div.link.details ul li padding:0;margin:0;border:0; padding-left: 5px; margin-left: 5px; border-left: solid thin black; } +div#links ol > li div.link.descr +{ + background-color: rgb(180,180,180); + border: solid thin black; +} /* add form */ label { @@ -176,4 +182,48 @@ input[type=submit] { border: none; background-color: red; +} + +/* search form */ +div#search, +div#search-local +{ + position: fixed; left:0; + width:100%;height:30px; + background-color: white; + z-index: 2; + margin:0;padding:0;border:0; + border: solid thin black; +} +div#search /* in tags list */ +{ + top:0; +} +div#search-local /* in links list */ +{ + top:80px; +} +div#search p, +div#search-local p +{ + margin:0;padding:0;border:0; +} +div#search input[type=text], +div#search-local input[type=text] +{ + border:none; + border-top: solid thin black; +} + +div#search input[type=submit], +div#search-local input[type=submit] +{ + position: absolute; + top:0;right:0; +} + +/* search results */ +div#links.results +{ + margin-top: 40px; } \ No newline at end of file diff --git a/root/tags b/root/tags index 244ae32..f742ef8 100644 --- a/root/tags +++ b/root/tags @@ -4,6 +4,7 @@ + [% INCLUDE search %]
    [% FOR tag IN tags %] diff --git a/root/toggle_details b/root/toggle_details new file mode 100644 index 0000000..f2095d2 --- /dev/null +++ b/root/toggle_details @@ -0,0 +1,17 @@ + -- cgit v1.2.3