From a3c06c906592b5cd82604f62dda8fb743a4c12de Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Thu, 30 Jan 2025 02:14:24 +0000 Subject: [PATCH] Adding initial cut of frontend --- frontend/Dockerfile | 10 + frontend/htdocs/css/main.css | 322 +++++++++++++ frontend/htdocs/css/main.css.bak | 322 +++++++++++++ frontend/htdocs/homepage-01.svg | 188 ++++++++ frontend/htdocs/images/checkmark.png | Bin 0 -> 627 bytes frontend/htdocs/images/icon-avatar.png | Bin 0 -> 2031 bytes frontend/htdocs/images/icon-expand.png | Bin 0 -> 654 bytes frontend/htdocs/images/icon-link.png | Bin 0 -> 850 bytes frontend/htdocs/images/logo.png | Bin 0 -> 10378 bytes frontend/htdocs/images/logo.svg | 61 +++ frontend/htdocs/index.html | 53 +++ frontend/htdocs/js/main.js | 52 +++ frontend/htdocs/result-01.svg | 489 +++++++++++++++++++ frontend/htdocs/result-02.svg | 621 +++++++++++++++++++++++++ frontend/htdocs/search.html | 101 ++++ 15 files changed, 2219 insertions(+) create mode 100644 frontend/Dockerfile create mode 100644 frontend/htdocs/css/main.css create mode 100644 frontend/htdocs/css/main.css.bak create mode 100644 frontend/htdocs/homepage-01.svg create mode 100644 frontend/htdocs/images/checkmark.png create mode 100644 frontend/htdocs/images/icon-avatar.png create mode 100644 frontend/htdocs/images/icon-expand.png create mode 100644 frontend/htdocs/images/icon-link.png create mode 100644 frontend/htdocs/images/logo.png create mode 100644 frontend/htdocs/images/logo.svg create mode 100644 frontend/htdocs/index.html create mode 100644 frontend/htdocs/js/main.js create mode 100644 frontend/htdocs/result-01.svg create mode 100644 frontend/htdocs/result-02.svg create mode 100644 frontend/htdocs/search.html diff --git a/frontend/Dockerfile b/frontend/Dockerfile new file mode 100644 index 0000000..1100e2d --- /dev/null +++ b/frontend/Dockerfile @@ -0,0 +1,10 @@ +# Use a lightweight base image with Lighttpd +FROM nginx:alpine + +# Copy website files to the Lighttpd serving directory +COPY ./htdocs /usr/share/nginx/html/ + +EXPOSE 8080:80 + +# Start Lighttpd +CMD ["nginx", "-g", "daemon off;"] diff --git a/frontend/htdocs/css/main.css b/frontend/htdocs/css/main.css new file mode 100644 index 0000000..819ed4c --- /dev/null +++ b/frontend/htdocs/css/main.css @@ -0,0 +1,322 @@ +* { + margin: 0; + padding: 0; + font-family: sans-serif; + box-sizing: border-box; +} + +.clear { + clear: both; +} + +html, body { + /* To vertically center align */ + display: table; + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +h1, h2, h3, h4, a { + color: #666666; +} + +h1, h2, h3, h4 { + margin: 0 0 10px; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.homepage .center { + text-align: center; + /* To vertically center align */ + display: table-cell; + vertical-align: middle; +} + +.section { + margin: 50px auto; +} + +.searcharea { + border: 1px solid #b3b3b3; + border-radius: 30px; + max-width: 800px; +} + +.searchinput { + width: 75%; + color: #666666; + background: none; + border: none; + font-size: 22px; + float: left; + padding: 10px 25px; + box-sizing: border-box; + outline: none; +} + +.searchsubmit { + float: right; + width: 20%; + background: #333333; + color: #f2f2f2; + border: none; + border-radius: 30px; + padding: 10px 20px; + margin: 2px; + font-size: 18px; + cursor: pointer; +} + +.links.section li { + display: inline-block; + margin: 0 10px; + color: #666666; +} + +.hbmenu { + position: absolute; + top: 0; + right: 0; + background: #ffffff; + /* Remove focus border */ + outline: none; + z-index: 100; +} + +.hbmenu .hbbtn { + display: block; + padding: 15px 20px; + content: "\2630"; + color: #666666; + font-size:24px; + cursor: pointer; +} + +.hbmenu:focus { + pointer-events: none; + height: 100%; + border-left: 1px solid #b3b3b3; + padding: 0; +} + +.hbmenu .menu { + display: none; + z-index: 1000; + pointer-events: auto; +} + +.hbmenu:focus .menu { + display: unset; +} + +.hbmenu .menu li { + display: block; +} + +.hbmenu .menu li a { + display: inline-block; + width: 160px; + padding: 15px 20px; +} + +/* ----- Search result page ----- */ + +.resultpage .navbar { + padding: 10px 10px; +} + +.resultpage .logo { + margin: 20px 0 0 10px; +} + +.resultpage .hbbtn { + margin: 20px 0 0; +} + +.resultpage .logo img { + width: 150px; + float: left; +} + +.resultpage .searcharea { + margin: 20px auto; + max-width: 600px; +} + +.resultpage .resultarea { + margin: 0 auto; + max-width: 600px; + padding: 10px 25px; + color: #666666; +} + +.resultpage .resultinfo { + font-style: italic; + margin: 0 0 10px 0; +} + +.resultarea .result:last-child { + border-bottom: none; +} + +.result { + padding: 30px 0; + border-bottom: 1px solid #d6d6d6; +} + +.result .useravatar { + border-radius: 100px; + border: 3px solid #4d4d4d; + width: 50px; + height: 50px; + float: left; + margin-right: 10px; +} + +.result .useravatar img { + border-radius: 100px; + width: 44px; + height: 44px; +} + +.result .resulttop { + height: 54px; + margin: 0 0 10px 0; +} + +.result .userdata { + width: 70%; + float:left; +} + +.result .userlabel, .result .userident { + display: block; + width: auto; +} + +.result .userlabel { + font-weight: bold; + padding-bottom: 2px; + padding: 2px 0; + color: #4d4d4d; +} + +.result .userident { + padding: 0 0; +} + +.result .actions { + float: right; + padding: 5px 10px; + display: none; +} + +.result:hover .actions { + display: unset; +} + +.result .actions li { + list-style: none; + display: inline-block; + margin: 0 2px; +} + +.result:hover .actions li a { + padding: 2px; + border-radius: 100px; + background: #e6e6e6; + display: inline-block; + width:36px; + height:36px; +} + +.result:hover .actions li a:hover { + background: #cccccc; +} + +.result:hover .actions li img { + width: 18px; + height: 18px; + margin: 7px 0 0 7px; +} + +.pagin { + text-align: center; + margin: 50px 0; +} + +.pagin ul { + list-style: none; +} + +.pagin ul li { + display: inline-block; +} + +.pagin a { + padding: 10px; + display: inline-block; + border-radius: 30px; + min-height: 40px; + min-width: 40px; +} + +.pagin a:hover { + background: #e6e6e6; + /* No underline for pagination links */ + text-decoration: none; +} + +.pagin a.current { + background: #333333; + color: #f2f2f2; +} + +.sidebar { + position: absolute; + top: 100px; + width: 300px; + padding: 20px 30px; +} + +.left.sidebar { + left: 0; +} + +.right.sidebar { + right: 0; +} + +.sidebar .list { + list-style: none; +} + +.sidebar h4, .sidebar h5 { + margin-top: 10px; +} + +.list.checks li a { + /* Create place for checkmark */ + padding-left: 20px; +} + +.list li.current a { + font-weight: bold; +} + +.list.checks li.current { + background: url("../images/checkmark.png") no-repeat; + /* Size of checkmark */ + background-size: 15px; + background-position-y: 5px; +} diff --git a/frontend/htdocs/css/main.css.bak b/frontend/htdocs/css/main.css.bak new file mode 100644 index 0000000..f6b8f40 --- /dev/null +++ b/frontend/htdocs/css/main.css.bak @@ -0,0 +1,322 @@ +* { + margin: 0; + padding: 0; + font-family: sans-serif; + box-sizing: border-box; +} + +.clear { + clear: both; +} + +html, body { + /* To vertically center align */ + display: table; + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +h1, h2, h3, h4, a { + color: #666666; +} + +h1, h2, h3, h4 { + margin: 0 0 10px; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.homepage .center { + text-align: center; + display: table-cell; + vertical-align: middle; +} + +.section { + margin: 50px auto; +} + +.searcharea { + border: 1px solid #b3b3b3; + border-radius: 30px; + max-width: 800px; +} + +.searchinput { + color: #666666; + background: none; + border: none; + font-size: 22px; + float: left; + display: inline-block; + margin-right: 100px; + padding: 10px 25px; + box-sizing: border-box; + outline: none; +} + +.searchsubmit { + display: inline-block; + float: right; + width: 100px; + background: #333333; + color: #f2f2f2; + border: none; + border-radius: 30px; + padding: 10px 20px; + margin: 2px; + font-size: 18px; + cursor: pointer; +} + +.links.section li { + display: inline-block; + margin: 0 10px; + color: #666666; +} + +.hbmenu { + position: absolute; + top: 0; + right: 0; + background: #ffffff; + /* Remove focus border */ + outline: none; + z-index: 100; +} + +.hbmenu .hbbtn { + display: block; + padding: 15px 20px; + content: "\2630"; + color: #666666; + font-size:24px; + cursor: pointer; +} + +.hbmenu:focus { + pointer-events: none; + height: 100%; + border-left: 1px solid #b3b3b3; + padding: 0; +} + +.hbmenu .menu { + display: none; + z-index: 1000; + pointer-events: auto; +} + +.hbmenu:focus .menu { + display: unset; +} + +.hbmenu .menu li { + display: block; +} + +.hbmenu .menu li a { + display: inline-block; + width: 160px; + padding: 15px 20px; +} + +/* Search result page */ +.resultpage .navbar { + padding: 10px 10px; +} + +.resultpage .logo { + margin: 20px 0 0 10px; +} + +.resultpage .hbbtn { + margin: 20px 0 0; +} + +.resultpage .logo img { + width: 150px; + float: left; +} + +.resultpage .searcharea { + margin: 20px auto; + max-width: 600px; +} + +.resultpage .resultarea { + margin: 0 auto; + max-width: 600px; + padding: 10px 25px; + color: #666666; +} + +.resultpage .resultinfo { + font-style: italic; + margin: 0 0 10px 0; +} + +.resultarea .result:last-child { + border-bottom: none; +} + +.result { + padding: 30px 0; + border-bottom: 1px solid #d6d6d6; +} + +.result .useravatar { + border-radius: 100px; + border: 3px solid #4d4d4d; + width: 50px; + height: 50px; + float: left; + margin-right: 10px; +} + +.result .useravatar img { + border-radius: 100px; + width: 44px; + height: 44px; +} + +.result .resulttop { + height: 54px; + margin: 0 0 10px 0; +} + +.result .userdata { + width: 70%; + float:left; +} + +.result .userlabel, .result .userident { + display: block; + width: auto; +} + +.result .userlabel { + font-weight: bold; + padding-bottom: 2px; + padding: 2px 0; + color: #4d4d4d; +} + +.result .userident { + padding: 0 0; +} + +.result .actions { + float: right; + padding: 5px 10px; + display: none; +} + +.result:hover .actions { + display: unset; +} + +.result .actions li { + list-style: none; + display: inline-block; + margin: 0 2px; +} + +.result:hover .actions li a { + padding: 2px; + border-radius: 100px; + background: #e6e6e6; + display: inline-block; + width:36px; + height:36px; +} + +.result:hover .actions li a:hover { + background: #cccccc; +} + +.result:hover .actions li img { + width: 18px; + height: 18px; + margin: 7px 0 0 7px; +} + +.pagin { + text-align: center; + margin: 50px 0; +} + +.pagin ul { + list-style: none; +} + +.pagin ul li { + display: inline-block; +} + +.pagin a { + padding: 10px; + display: inline-block; + border-radius: 30px; + min-height: 40px; + min-width: 40px; +} + +.pagin a:hover { + background: #e6e6e6; + /* No underline for pagination links */ + text-decoration: none; +} + +.pagin a.current { + background: #333333; + color: #f2f2f2; +} + +.sidebar { + position: absolute; + top: 100px; + width: 300px; + padding: 20px 30px; +} + +.left.sidebar { + left: 0; +} + +.right.sidebar { + right: 0; +} + +.sidebar .list { + list-style: none; +} + +.sidebar h4, .sidebar h5 { + margin-top: 10px; +} + +.list.checks li a { + /* place for checkmark */ + padding-left: 20px; +} + +.list li.current a { + font-weight: bold; +} + +.list.checks li.current { + background: url("../images/checkmark.png") no-repeat; + /* size of checkmark */ + background-size: 15px; + background-position-y: 5px; +} diff --git a/frontend/htdocs/homepage-01.svg b/frontend/htdocs/homepage-01.svg new file mode 100644 index 0000000..b0836d8 --- /dev/null +++ b/frontend/htdocs/homepage-01.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + Fedi + logue + + + + + Search + About + How it works + FAQ + Contact + Trending + | + + diff --git a/frontend/htdocs/images/checkmark.png b/frontend/htdocs/images/checkmark.png new file mode 100644 index 0000000000000000000000000000000000000000..77ab650e7a5701975da8a028a45a3afb7438a071 GIT binary patch literal 627 zcmV-(0*w8MP)6J~S;1=#IpuHAli)G!=6SFQVY+D(N#F6kH}jb{%n+v(TI&YMtHok*qt$AS zcp8XON|9^>NQuasQmLeu4k@KJNxlLwy|+m%6A8mmCm;f#?=1__T89AIE<$qC7}H+L z)rDcWAtJ9GWF#VWYwcSAm`tRUx>l)Fyk4*Odl5t_^$@^I2Z;gHt+m_ZMC$NFYb5vL zIR37+F3*c-tsjwmk%Smywx@ejVHmE7$X5Vo0IUG`RBxG+`9 zIO}2nRcr0Xd5|Lz01O6$*!TTz0yaTN-Z#d4m={Term<``dzs|wRB4~&dK5)Fiy$+h zF;*^@ySZHM5`a|z`y#S#jQPAM0yvK$DS{wK=kxgv$&NAR%l{w%@E6n4x69KQ4>kY* N002ovPDHLkV1hqi3m^ah literal 0 HcmV?d00001 diff --git a/frontend/htdocs/images/icon-avatar.png b/frontend/htdocs/images/icon-avatar.png new file mode 100644 index 0000000000000000000000000000000000000000..407fbcd7352ab77fd656ddfeb108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WTwOXvKtgy1Oa%#mwd%({S;;KV|^SiiWqc<-e8=8nb# zb?M8{o`rARxZ!($#%Z9{YO%Dmw0{Ba((Z=?`CC4p|JTi%H_r`XVf%idlp>i-zB4v9 zc5e5(18Yl-M&q)GoP1;hq+YLI+JAf~Lrfbjv zH=i7AXoF#5V&dxD+}!z2=Z+LCBBABw<(v6@erj-`^`BTQc6(uA;X$QT$JO&Aw=F59 zoM<%qNF)*|4KBR?5{*X7hG9HU3p zKhDn8%#_RJV%co=-L0*yQ#rg%)7+Sxoc!qM=xEo?Twb;h52sS8zvgnePn?$IL@7l) z9{)!&nLMwQs=8^@bvNxk=iBr1^N&wYPk;9`Jg0SCZzU3m@6FH8f6}d3@cAzQo12>- z&gb)23WdUlPP(^ub{xDPi^ZNDA0L0ubNgN{zOk|Km141YDWA`~+Qr=~BO@bsP1Afi zkx2a7uaCZ@Q@3v2`f9mcex+C}&h-0DOVczA!$?OWkyoatr+?L}zrN;=xm@nSQmORA zQmORC?d|QcUJCJ%NaSub8oe?yGV=X+JigMe7zdUx-@SX+bR6emtyX*1ah!*n&E{mY z*$lT@tze_k&;WwLU`x}qMj#NV1_FVNP$={tUDw~zb^SM%Weubb{68e>nY2Y>Jo2YC;QqJttdklq{zJH%^KOqwq53wJo*oRiNzIroN;QHEg@ zOQq5%ZJm}Cm{mI;Nb?jo8jXFb7lz>hBJu$&=MGe5+xA{5Vuh;vWl&hzGd97A6iRk7eyyg3T z7XUoZ+XQeD0MDvVbuCQOJP2SDKyhLPnx-9bU3V*~re3d~ipQxsB%lDN z#6O}aS`|XPofnn_jO!;euLvOqdBA`_hhyr$kBCOhd|B7^XX-P@alU2+CU(foy8$@k o@%W3n48tfU)nx`QN;@C;8&);YrYB!ZDF6Tf07*qoM6N<$f~!>&`2YX_ literal 0 HcmV?d00001 diff --git a/frontend/htdocs/images/icon-link.png b/frontend/htdocs/images/icon-link.png new file mode 100644 index 0000000000000000000000000000000000000000..0a2ed88a2e239d163ea45e32ea452a316dbe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-bK=lOd)jdfNfG>TL+03JnORWT+PAS{L?*U85kJev%kZzgDpnC!cs_oS!q?eyN-DY@t+GjR4~`1P9$o?>xY}86`%70= zxsST7tqG=REe-$c)EO*L4*e2;7bV5=;(Y)oc1=ExRu1e38hUbnibXH;v%Xphenm=F z*7m+A#|S%W6Y|h1a}Wb{(G$v$W_mX_?>6~eIz_9524?C>rHL~2*%v07&K{Bc6)a$9k<m=-br&ui5(^280RYN}pei;d~iD^|hRQo&=g@q&gALkx^<{IQ4d~{n| zyDw}+s!*-s8j(MZVjEPtQ!+)c`amFvSKK&zErc`QncdtEOIvSCGQ8l_E&cCpW*F76 zqNDxy(v~fN^8pfQA@%w>P3V#Gt`ICpN|%V)=W3`|s!{TgeIE(Ez0X>;_Z8+o&uD{> zQy0lR9^c;Hb_3?w7aNp;Uxu6XPsm2>B`Gd&nIbO8=Sn{HaIilNycD!DRDlD5kV|#t zp7twgp#?!6DI1@YHMIHNq-J2tLc07^|5X)p8BpA-2Ja!{M{70agFQ}#U>g|2WykUOqZ0_Nn^skjC zK9;!;BFEG92|GW-3p4|VH(`t*4d##k!Cqa#_;2#LvI75_>r($S>SXPT0Q(?_Ryu(f z06pPlg*!kUA0eQl LsgJ5vw~PKCu@kf7 literal 0 HcmV?d00001 diff --git a/frontend/htdocs/images/logo.svg b/frontend/htdocs/images/logo.svg new file mode 100644 index 0000000..c82abc5 --- /dev/null +++ b/frontend/htdocs/images/logo.svg @@ -0,0 +1,61 @@ + + + + + + + + + + diff --git a/frontend/htdocs/index.html b/frontend/htdocs/index.html new file mode 100644 index 0000000..c55825f --- /dev/null +++ b/frontend/htdocs/index.html @@ -0,0 +1,53 @@ + + + + + + Fedilogue + + + + + +
+ + +
+ +
+ + + +
+
+ + +
+
+
+ + + +
+ + + diff --git a/frontend/htdocs/js/main.js b/frontend/htdocs/js/main.js new file mode 100644 index 0000000..6113322 --- /dev/null +++ b/frontend/htdocs/js/main.js @@ -0,0 +1,52 @@ +$(window).on("load", function() { + var queryString = window.location.search; + var urlParams = new URLSearchParams(queryString); + var qValue = urlParams.get('q'); + + var myElement = $('#searchinput'); + myElement.val(qValue); + + var strongElement = $('#searchtextstrong'); + strongElement.text(qValue); + + $.ajax({ + url: 'http://192.168.1.219:6431/api/v1/search', // The URL to send the request to + type: 'GET', // HTTP method (GET, POST, etc.) + dataType: 'json', // Expected data format from the server + success: function(response) { + // This function is called if the request is successful + console.log('Data received:', response); + + $.each(response['activities'], function(key, value) { + console.error(key, value); + + var resultHTML = ` +
+ +
+ ` + value['content'] + ` +
+
` + value['published'] +`
+
+ `; + $(resultHTML).appendTo('#result_container'); + }); + }, + error: function(xhr, status, error) { + // This function is called if the request fails + console.error('Error:', error); + } + }); +}); diff --git a/frontend/htdocs/result-01.svg b/frontend/htdocs/result-01.svg new file mode 100644 index 0000000..b2d33de --- /dev/null +++ b/frontend/htdocs/result-01.svg @@ -0,0 +1,489 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search + + Search results for "test" returned 3409 results. + + User One + @userone@instance.tld + + Lorem ipsum dolor sit amet, est ne nibh noster. No altera probatus gloriatur eam, vim ut postea ornatus meliore, alterum elaboraret nec ex. His summo detraxit menandri eu. Quas commune appellantur duo ad, his an vero ceteros accusam, eu latine eligendi pri. + + + User Two + @usertwo@instance.tld + + Eum in admodum recusabo referrentur. Legere placerat per no, his regione aperiam at. Cum tota vituperatoribus ne. Pri modus facilisis democritum ex, veritus minimum delicatissimi no est. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/htdocs/result-02.svg b/frontend/htdocs/result-02.svg new file mode 100644 index 0000000..b48b574 --- /dev/null +++ b/frontend/htdocs/result-02.svg @@ -0,0 +1,621 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search + + Search results for "test" returned 3409 results. + + User One + @userone@instance.tld + + Lorem ipsum dolor sit amet, est ne nibh noster. No altera probatus gloriatur eam, vim ut postea ornatus meliore, alterum elaboraret nec ex. His summo detraxit menandri eu. Quas commune appellantur duo ad, his an vero ceteros accusam, eu latine eligendi pri. + + + User Two + @usertwo@instance.tld + + Eum in admodum recusabo referrentur. Legere placerat per no, his regione aperiam at. Cum tota vituperatoribus ne. Pri modus facilisis democritum ex, veritus minimum delicatissimi no est. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Finetune + Post time within: + all24 hours1 week1 month6 months1 year + + Trending + #test#exampletag#justexample + + diff --git a/frontend/htdocs/search.html b/frontend/htdocs/search.html new file mode 100644 index 0000000..5f35ff2 --- /dev/null +++ b/frontend/htdocs/search.html @@ -0,0 +1,101 @@ + + + + + + Fedilogue + + + + + + + + +
+
Search for returned 0000 results.
+ +
+ +
+ +
+ +
+
+ + + + + + +