Implement Portal page; some layout changes
This commit is contained in:
parent
34f8331365
commit
5313b80fdd
BIN
public/Pictures/netwheel.gif
Normal file
BIN
public/Pictures/netwheel.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
|
@ -54,15 +54,43 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="outer">
|
<div class="outer">
|
||||||
<center>
|
<center>
|
||||||
<a href="/">Home <img alt="american flag" src="/Pictures/patriotic45.gif"
|
<table>
|
||||||
height="16"></a> -
|
<tr>
|
||||||
<a href="/me">Me <img alt="BSOD" src="/Pictures/bluscrn.gif"
|
<td>
|
||||||
height="16"></a> -
|
<a href="/">Home
|
||||||
<a href="/news">News <img alt="update" src="/Pictures/updat4.gif"></a> -
|
<img alt="american flag" src="/Pictures/patriotic45.gif"
|
||||||
<a href="https://blog.swagg.net">Web Log <img alt="book"
|
height="16">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="/me">Me
|
||||||
|
<img alt="BSOD" src="/Pictures/bluscrn.gif"
|
||||||
|
height="16">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="/news">News
|
||||||
|
<img alt="update" src="/Pictures/updat4.gif">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="/portal">Portal
|
||||||
|
<img alt="steering wheel" src="/Pictures/netwheel.gif"
|
||||||
|
height="16"></a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="https://blog.swagg.net">Web Log
|
||||||
|
<img alt="book"
|
||||||
src="/Pictures/Simple_book.gif"
|
src="/Pictures/Simple_book.gif"
|
||||||
height="18"></a><br>
|
height="18">
|
||||||
<br>
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
</center>
|
</center>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
@ -70,13 +98,26 @@
|
||||||
<footer>
|
<footer>
|
||||||
<center>
|
<center>
|
||||||
<img alt="Electronic mail - WOW!" src="/Pictures/mailput.gif">
|
<img alt="Electronic mail - WOW!" src="/Pictures/mailput.gif">
|
||||||
<p>
|
<table>
|
||||||
<i>contact:</i>
|
<tr>
|
||||||
<a href="mailto:swaggboi@slackware.uk">swaggboi@slackware.uk</a> -
|
<th>contact:</th>
|
||||||
<a href="https://eattherich.club/@swaggboi">Social (@swaggboi)</a> -
|
<td>
|
||||||
<a href="https://steamcommunity.com/id/danielbowling">Steam</a> -
|
<a href="mailto:swaggboi@slackware.uk">swaggboi@slackware.uk</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="https://eattherich.club/@swaggboi">Social (@swaggboi)</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="https://steamcommunity.com/id/danielbowling">Steam</a>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
<a href="https://chat.swagg.net">Chat (Mattermost)</a>
|
<a href="https://chat.swagg.net">Chat (Mattermost)</a>
|
||||||
</p>
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
<img alt="Y2k ready!" src="/Pictures/y2kready.gif" height="85">
|
<img alt="Y2k ready!" src="/Pictures/y2kready.gif" height="85">
|
||||||
</center>
|
</center>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
28
templates/portal.html.ep
Normal file
28
templates/portal.html.ep
Normal 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>
|
|
@ -92,7 +92,7 @@ get '/ula6' => sub {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Default route
|
# Default route
|
||||||
get '/:route' => [route => [qw{die me news}]] => sub {
|
get '/:route' => [route => [qw{die me news portal}]] => sub {
|
||||||
my ($c) = @_;
|
my ($c) = @_;
|
||||||
|
|
||||||
$c->render(template => $c->stash('route'));
|
$c->render(template => $c->stash('route'));
|
||||||
|
|
Loading…
Reference in a new issue