Implement Portal page; some layout changes

This commit is contained in:
swagg boi 2021-03-28 18:21:11 -04:00
parent 34f8331365
commit 5313b80fdd
4 changed files with 86 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -54,15 +54,43 @@
</div>
<div class="outer">
<center>
<a href="/">Home <img alt="american flag" src="/Pictures/patriotic45.gif"
height="16"></a> -
<a href="/me">Me <img alt="BSOD" src="/Pictures/bluscrn.gif"
height="16"></a> -
<a href="/news">News <img alt="update" src="/Pictures/updat4.gif"></a> -
<a href="https://blog.swagg.net">Web Log <img alt="book"
src="/Pictures/Simple_book.gif"
height="18"></a><br>
<br>
<table>
<tr>
<td>
<a href="/">Home
<img alt="american flag" src="/Pictures/patriotic45.gif"
height="16">
</a>
</td>
<td>&nbsp;</td>
<td>
<a href="/me">Me
<img alt="BSOD" src="/Pictures/bluscrn.gif"
height="16">
</a>
</td>
<td>&nbsp;</td>
<td>
<a href="/news">News
<img alt="update" src="/Pictures/updat4.gif">
</a>
</td>
<td>&nbsp;</td>
<td>
<a href="/portal">Portal
<img alt="steering wheel" src="/Pictures/netwheel.gif"
height="16"></a>
</td>
<td>&nbsp;</td>
<td>
<a href="https://blog.swagg.net">Web Log
<img alt="book"
src="/Pictures/Simple_book.gif"
height="18">
</a>
</td>
</tr>
</table><br>
</center>
<hr>
</div>
@ -70,13 +98,26 @@
<footer>
<center>
<img alt="Electronic mail - WOW!" src="/Pictures/mailput.gif">
<p>
<i>contact:</i>
<a href="mailto:swaggboi@slackware.uk">swaggboi@slackware.uk</a> -
<a href="https://eattherich.club/@swaggboi">Social (@swaggboi)</a> -
<a href="https://steamcommunity.com/id/danielbowling">Steam</a> -
<a href="https://chat.swagg.net">Chat (Mattermost)</a>
</p>
<table>
<tr>
<th>contact:</th>
<td>
<a href="mailto:swaggboi@slackware.uk">swaggboi@slackware.uk</a>
</td>
<td>&nbsp;</td>
<td>
<a href="https://eattherich.club/@swaggboi">Social (@swaggboi)</a>
</td>
<td>&nbsp;</td>
<td>
<a href="https://steamcommunity.com/id/danielbowling">Steam</a>
</td>
<td>&nbsp;</td>
<td>
<a href="https://chat.swagg.net">Chat (Mattermost)</a>
</td>
</tr>
</table>
<img alt="Y2k ready!" src="/Pictures/y2kready.gif" height="85">
</center>
</footer>

28
templates/portal.html.ep Normal file
View file

@ -0,0 +1,28 @@
% title 'Web Portal';
% layout 'swagg';
<div class="inner">
<h2>Web Portal</h2>
</div>
<div class="outer">
+--------------------------+<br>
</div>
<div class="inner">
<h3>Search the Web</h3>
<iframe
src="https://duckduckgo.com/search.html?width=415&duck=yes&prefill=Search DuckDuckGo&bgcolor=000"
style="overflow:hidden;margin:0;padding:0;width:548px;height:60px;"
frameborder="0">
</iframe>
</div>
<br>
<div class="outer">
+--------------------------+<br>
</div>
<div class="inner">
<h3>Local Weather</h3>
<!-- weather widget start -->
<img src="https://w.bookcdn.com/weather/picture/3_1103_0_1_137AE9_430_ffffff_333333_08488D_1_ffffff_333333_0_6.png?scode=2&domid=w209&anc_id=87270"
alt="weather"/>
<!-- weather widget end -->
</div>
<br>

View file

@ -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'));