summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-20 11:39:20 +0100
committerAndrew Dolgov <[email protected]>2005-12-20 11:39:20 +0100
commita9b0bfd5e01ca33f05a18ccc528c730d896732b6 (patch)
tree540fc658f13a36a511c85245d450c3091d1d978c
parent746b249f9515dd2fa55a99f292e25fa6be69029b (diff)
update close.svg; add hideParentElement() function
-rw-r--r--backend.php5
-rw-r--r--functions.js4
-rw-r--r--images/close.pngbin260 -> 455 bytes
-rw-r--r--images/close.svg47
-rw-r--r--tt-rss.css5
5 files changed, 47 insertions, 14 deletions
diff --git a/backend.php b/backend.php
index 09972cbce..cf9c5d860 100644
--- a/backend.php
+++ b/backend.php
@@ -1774,7 +1774,10 @@
if (db_num_rows($result) > 0) {
print "<div class=\"warning\">";
-
+
+// print"<img class=\"closeButton\"
+// onclick=\"javascript:hideParentElement(this);\" src=\"images/close.png\">";
+
print "<a href=\"javascript:showBlockElement('feedUpdateErrors')\">
<b>Feeds with update errors</b> (click to expand)</a>";
diff --git a/functions.js b/functions.js
index e27beac28..ca51b1acd 100644
--- a/functions.js
+++ b/functions.js
@@ -741,4 +741,6 @@ function showBlockElement(id) {
}
}
-
+function hideParentElement(e) {
+ e.parentNode.style.display = "none";
+}
diff --git a/images/close.png b/images/close.png
index 046c4a7e2..2304ebf42 100644
--- a/images/close.png
+++ b/images/close.png
Binary files differ
diff --git a/images/close.svg b/images/close.svg
index 88685edd4..344e51beb 100644
--- a/images/close.svg
+++ b/images/close.svg
@@ -12,10 +12,10 @@
height="12.800000pt"
id="svg2"
sodipodi:version="0.32"
- inkscape:version="0.42.2"
- sodipodi:docbase="/naboo/home/fox/public_html/testbox/tt-rss/images"
+ inkscape:version="0.43"
+ sodipodi:docbase="/home/fox/public_html/testbox/tt-rss/images"
sodipodi:docname="close.svg"
- inkscape:export-filename="/naboo/home/fox/public_html/testbox/tt-rss/images/close.png"
+ inkscape:export-filename="close.png"
inkscape:export-xdpi="81.168785"
inkscape:export-ydpi="81.168785">
<defs
@@ -27,7 +27,7 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="44.800000"
+ inkscape:zoom="44.8"
inkscape:cx="10.272172"
inkscape:cy="7.9274987"
inkscape:document-units="px"
@@ -55,7 +55,7 @@
id="layer1">
<path
sodipodi:type="arc"
- style="opacity:1.0000000;fill:none;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#000000;stroke-width:2.7248328;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000"
+ style="opacity:1.0000000;fill:none;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#000000;stroke-width:2.7248328;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:0.25624999"
id="path1312"
sodipodi:cx="-7.7678571"
sodipodi:cy="3.3214285"
@@ -63,13 +63,36 @@
sodipodi:ry="18.276009"
d="M 10.508152 3.3214285 A 18.276009 18.276009 0 1 1 -26.043866,3.3214285 A 18.276009 18.276009 0 1 1 10.508152 3.3214285 z"
transform="matrix(0.366995,0.000000,0.000000,0.366995,10.85076,6.781052)" />
+ <rect
+ style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect2184"
+ width="5"
+ height="4"
+ x="5"
+ y="5"
+ rx="10.42449"
+ ry="4" />
+ <rect
+ style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect2186"
+ width="2"
+ height="1.8973215"
+ x="4"
+ y="4.5044641"
+ rx="10.42449"
+ ry="1.8973215" />
+ <rect
+ style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect2188"
+ width="1"
+ height="2"
+ x="6"
+ y="3"
+ rx="10.42449"
+ ry="1.8973215" />
<path
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.5000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;stroke-miterlimit:4.0000000;stroke-dasharray:none"
- d="M 5.0000000,11.000000 C 11.000000,5.0000000 11.000000,5.0000000 11.000000,5.0000000"
- id="path1417" />
- <path
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.5000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
- d="M 11.000000,11.000000 C 5.0000004,5.0000000 5.0000004,5.0000000 5.0000004,5.0000000"
- id="path2146" />
+ style="fill:#000000;fill-opacity:0.5875;fill-rule:evenodd;stroke:none;stroke-width:0.25pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 10.12132,4.4644661 L 11.535534,5.8786797 L 9.4142136,8 L 11.535534,10.12132 L 10.12132,11.535534 L 8,9.4142136 L 5.8786797,11.535534 L 4.4644661,10.12132 L 6.5857864,8 L 4.4644661,5.8786797 L 5.8786797,4.4644661 L 8,6.5857864 L 10.12132,4.4644661 L 10.12132,4.4644661 z "
+ id="path2190" />
</g>
</svg>
diff --git a/tt-rss.css b/tt-rss.css
index 7ae71d946..ecee33c26 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -904,3 +904,8 @@ div.cdmContent {
a.warning {
color : #f04040;
}
+
+img.closeButton {
+ border-width : 0px;
+ float : right;
+}