From 5313b80fdd98e4893f2b9f3692401ed1392a4387 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 28 Mar 2021 18:21:11 -0400 Subject: [PATCH] Implement Portal page; some layout changes --- public/Pictures/netwheel.gif | Bin 0 -> 2046 bytes templates/layouts/swagg.html.ep | 73 +++++++++++++++++++++++++------- templates/portal.html.ep | 28 ++++++++++++ www-swagg.pl | 2 +- 4 files changed, 86 insertions(+), 17 deletions(-) create mode 100644 public/Pictures/netwheel.gif create mode 100644 templates/portal.html.ep diff --git a/public/Pictures/netwheel.gif b/public/Pictures/netwheel.gif new file mode 100644 index 0000000000000000000000000000000000000000..5831c8d50c535abae54b8938d0999e05e4bf5867 GIT binary patch literal 2046 zcmbu8`(Kmy6~_+{Q8N2NAVARx0ck~|7JclLSuW+8fHhnUw;8U>Q>n4md0|*V5Ga?b zAr@vIWkduNA{QC3xgiu^1zgzU5GhEtSS{cM1(8=m00Ym?lRu&R{&sTC`JDIpoF~De zpdFq`eBgr~fMFlaFcia(3_~ysun|o&G{w*)LlX=QY?7iGiee~|p$LWoww9zBl43}b zAqj>Aww0h6f?^1gAqa*5RAPW;fMS4TfM5Uv)JAF4!e*=nb`JX}nkH$QplM*oVnk6i zMbZ>OQ@~PSlB8&oq)CD%frY|af}#nMCJ34UWW-h)C>lr_2pVuIQll6`BPC*C4hN$) zN~0Dw1G^9#<0C1GpeSJX!?75VBt;Sw3GBK^fk}d-2!bL2w?`pa9oHKM)hU z(GJ`nA#g*aMlpm&N-RYV9E{p1jatAu$EGpHN0212M&f=r79)Zn2|!v95@)YQ5x72vDKKy7$4xp&`8`5 z$6`bP`*EbbjnH*ZeC# zN5FZW!{MSE8?hMwMSKWeu?URCZ-v({-O4eIu5;^F|KOfq?GjQZZ2HCjakGp^E$0+m$aaXH7qn^< zHYmbWA!jCAI1(nHPNs|VfwD~_6eddGe! z#4DpNM$=-NHQ=;+cEy9Yxt11pR8hs;u{}jL)&kMuhQRdJ=7GL)ugaecAFLY~cqfwB zTOW7yhw518D}iq{j@CB}tM8T9?5XT(PVi}fO9%5hC7s_~laAYHyxezZ=XD1!DmqR$ zof$g)eD>LTidY;Uy3=;*(>|5ynn#AN?LYfc3u8~~(=(Tasr1Ju+CCcSy0pVgnm zvD^1J+pOWkxR8~bpC{(5y1eJYp^!ZDhpG1QD^^Ff%XZlA=l}hETY0<0_Lt9W-PA0!Cf3dIu3c3+%kq+h)88n4JUnmrH|kIHRv+#%UGqw&PwY|n#sBW* ztLD2w59PkU;`=f1c3Eac=xPjK&xypE2vy9;x{oIuuVt#Tx;K_KCA53aPRBM~zOC{T z>p7-3^cu%of1R(1F#-Ol`^jygXI@1YsRz|DjecwAU#AA;tHOfhZl^2h<}EvaT&Hv` zbZko6f6UOOaRl21?c`5i-|OW@M0t;!UH6a=XBw6^jcfC5I?Cp}>o4V4ifR>3qLOL#Q;Z3AOP zU4D|{xEqJNAD=L5&sVq#IOc2QbsKXP+_~pT-M))jv(ELZ@Exmt1c_BozFN|L|0JK^ z@hmRd_3XanLbr1Bhg|7_(hKtNTPsFCyCQQNe;*al@87EF5&O3v zFfTh8YQ4Qb@b;EMYmZ&MRr!wM;^}}db~{|T%hi9xqt_2tbUVNiUQE$0H_v5%@!GBo zt0>`}^UaG`x^BHvB)#0yo3(7lpBtIGwbc}|L=y6toAT5-(JVh(9KTQ!QEQt%dDYST zyNu)%ud|QLI;*~%>?tGKIjWO{|AwByyyS` literal 0 HcmV?d00001 diff --git a/templates/layouts/swagg.html.ep b/templates/layouts/swagg.html.ep index f3e181c..b10f242 100644 --- a/templates/layouts/swagg.html.ep +++ b/templates/layouts/swagg.html.ep @@ -54,15 +54,43 @@
- Home american flag - - Me BSOD - - News update - - Web Log book
-
+ + + + + + + + + + + + +
+ Home + american flag + +   + Me + BSOD + +   + News + update + +   + Portal + steering wheel +   + Web Log + book + +


@@ -70,13 +98,26 @@ diff --git a/templates/portal.html.ep b/templates/portal.html.ep new file mode 100644 index 0000000..e1b1fc3 --- /dev/null +++ b/templates/portal.html.ep @@ -0,0 +1,28 @@ +% title 'Web Portal'; +% layout 'swagg'; +
+

Web Portal

+
+
+ +--------------------------+
+
+
+

Search the Web

+ +
+
+
+ +--------------------------+
+
+
+

Local Weather

+ + weather + +
+
diff --git a/www-swagg.pl b/www-swagg.pl index ec43228..9e44e29 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -92,7 +92,7 @@ get '/ula6' => sub { }; # Default route -get '/:route' => [route => [qw{die me news}]] => sub { +get '/:route' => [route => [qw{die me news portal}]] => sub { my ($c) = @_; $c->render(template => $c->stash('route'));