From bcf21b4c79758840349171c331348695ccda3dac Mon Sep 17 00:00:00 2001 From: neri Date: Mon, 10 Jul 2023 22:33:17 +0200 Subject: [PATCH] feat: add icon --- Cargo.lock | 2 +- Cargo.toml | 2 +- datatrash-favicon-inkscape.svg | 72 +++++++++++++++++++++++++++++++++ static/favicon.ico | Bin 0 -> 56358 bytes static/favicon.svg | 45 +++++++++++++++++++++ static/index.css | 7 +++- template/index.html | 8 +++- template/text-view.html | 10 ++++- template/upload-short.html | 10 ++++- template/upload.html | 10 ++++- template/url-view.html | 10 ++++- 11 files changed, 168 insertions(+), 8 deletions(-) create mode 100644 datatrash-favicon-inkscape.svg create mode 100644 static/favicon.ico create mode 100644 static/favicon.svg diff --git a/Cargo.lock b/Cargo.lock index af8de58..cb7b799 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "datatrash" -version = "2.3.6" +version = "2.4.0" dependencies = [ "actix-files", "actix-governor", diff --git a/Cargo.toml b/Cargo.toml index 09c5b7d..55b5b44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datatrash" -version = "2.3.6" +version = "2.4.0" authors = ["neri"] edition = "2021" diff --git a/datatrash-favicon-inkscape.svg b/datatrash-favicon-inkscape.svg new file mode 100644 index 0000000..d4dfa8e --- /dev/null +++ b/datatrash-favicon-inkscape.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..8c42c8ca7a216ae35f4b940d9a0a69c4227121ad GIT binary patch literal 56358 zcmeI53%Fh5orhQML?WriH7XHNA!Wv;7-^l9qG~!iMb)iHqjl?;4#g04P*01Rr-}|u zBW)io2Cd7O7Na>$T?SP(+PKRRiXs}(R7526zH9Gwtn9P**=t|U-s?Q`{h#MO-?!HK zF8}YhzS~}FpL3#UP&70eIW{7k7`;3=iuR78XxzlY@wFqPXuBa%G-Z0>c*-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t*1H;gW<){J>1{J32-_566~Xio{o9vIrrF)!Kh~YHxSE1heXq%#MRO{ zbR>+055hrUAH5dl!_6>q^^#};A-$8&Tiwx!ZW=$xcvm#Ucx1dY8q^c#R1)V>^v_@# z)VnF@pKyF>AcnA`q@G8mYma~iJ{j}Q+ z(bv!+9ZxjzJX&=nY0$7Ui7$^P7>)C;9%L28II6!F@2(KngTj3&#M&A!IE<&874Ajs za|_~0)8qb`9IQg~#9ACL+$>tZZWMLJBJg8)|HQkK@~JCnZeDcgOnmG07rv4U{S$U2 z#iDtwn#@fy&}T-Z;>8&-9$&?gUyQqL!bp!5vJ~Py^Gtl@y);qeYF11W&tAkk<3vm~ z#FI<$eRRUYhH#Q4E{;3CD4`JNXSy`2NyedZ=AGE$cri;MUMRQ_FVt9w7qS=QarXZM D>r;@1 literal 0 HcmV?d00001 diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..3ffdf95 --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + diff --git a/static/index.css b/static/index.css index 3ca9b42..cfe61dd 100644 --- a/static/index.css +++ b/static/index.css @@ -43,6 +43,11 @@ h1 > a:visited { color: var(--fg); } +.icon { + height: 1.2em; + margin-left: 0.1em; +} + a { color: cornflowerblue; } @@ -114,7 +119,7 @@ h1 + textarea { display: none; } -input[type='checkbox'] { +input[type="checkbox"] { margin-top: 0.5em; margin-bottom: 1.5em; } diff --git a/template/index.html b/template/index.html index 5965fec..9f33f1c 100644 --- a/template/index.html +++ b/template/index.html @@ -6,10 +6,16 @@ + +
-

datatrash

+

datatrash


diff --git a/template/text-view.html b/template/text-view.html index c2faea6..9ce626c 100644 --- a/template/text-view.html +++ b/template/text-view.html @@ -5,10 +5,18 @@ + +
-

datatrash

+

+ datatrash +


herunterladen diff --git a/template/upload-short.html b/template/upload-short.html index 1c32a7a..779184d 100644 --- a/template/upload-short.html +++ b/template/upload-short.html @@ -5,10 +5,18 @@ + +
-

datatrash

+

+ datatrash +

link: {link}

shortlink: {shortlink}