Converted homepage to use SihnonFramework and updated content
This commit is contained in:
6
source/webui/templates/cv.tpl
Normal file
6
source/webui/templates/cv.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<h2>Curriculum Vitae</h2>
|
||||
|
||||
<p>
|
||||
I will update this page with an overview of my CV, but in the meatime, please feel free to download a
|
||||
<a href="{$base_uri}files/BenRobertsCv.pdf" title="Ben Roberts CV">PDF of my full CV</a>.
|
||||
</p>
|
||||
5
source/webui/templates/errors/401.tpl
Normal file
5
source/webui/templates/errors/401.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
<h2>This page is not accessible.</h2>
|
||||
<p>
|
||||
The page you requested ({$requested_page|escape:html}) could not be opened.
|
||||
Please ensure you are logged in and have permission to access this page.
|
||||
</p>
|
||||
6
source/webui/templates/errors/404.tpl
Normal file
6
source/webui/templates/errors/404.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<h2>The requested page could not be found</h2>
|
||||
<p>
|
||||
The file you requested ({$requested_page|escape:html}) could not be found.
|
||||
If you typed in the address manually, check that you have spelled it correctly,
|
||||
or if you followed a link, let us know and we'll look into it.
|
||||
</p>
|
||||
62
source/webui/templates/errors/unhandled-exception.tpl
Normal file
62
source/webui/templates/errors/unhandled-exception.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
<h2>An unhandled error has occurred</h2>
|
||||
<p>
|
||||
There was a problem trying to complete the requested action. Please try again and if the problem persists, let us know.
|
||||
</p>
|
||||
|
||||
{if $display_exceptions}
|
||||
<p>
|
||||
An unhandled exception was caught during the page template processing. The full details are shown below:
|
||||
</p>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Exception</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception_type|escape:html}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>File</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getFile()|escape:html}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Line</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getLine()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Message</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getMessage()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Stack Trace</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getTrace()|var_dump}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<em>Note:</em> Exception details should not be displayed on production systems.
|
||||
Disable the <a href="{$base_uri}admin/tab/settings/"><code>Display Exceptions</code></a>
|
||||
setting to omit the exception details from this page.
|
||||
</p>
|
||||
{/if}
|
||||
29
source/webui/templates/home.tpl
Normal file
29
source/webui/templates/home.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<div>
|
||||
<img class="avatar" style="width: 10em;" src="{$base_uri}images/portrait.jpg" alt="Ben Roberts" />
|
||||
|
||||
<p>
|
||||
I currently work as a Network Projects engineer for <a href="http://uk.atos.net/en-uk/" title="Atos - United Kingdom">Atos</a>
|
||||
in the Major Projects division. My role here includes design and implementation of LAN and WAN systems in Data Centre environments.
|
||||
</p>
|
||||
<p>
|
||||
I previously worked for <a href="http://www.netcraft.com/" title="Netcraft homepage">Netcraft</a> in Bath,
|
||||
while taking a year out from my degree studies.
|
||||
My roles included developing and running the <a href="http://news.netcraft.com/SSL-survey" title="Netcraft's SSL Server Survey">SSL Server Survey</a>,
|
||||
reviewing <a href="http://audited.netcraft.com/audited" title="Netcraft's Automated Vulnerability Scanning">Automated Vulnerability Scan</a> results,
|
||||
and performing occasional <a href="http://audited.netcraft.com/web-application" title="Netcraft's Application Penetration & Security Testing">penetration tests</a> against web applications for financial institutions.
|
||||
</p>
|
||||
<p>
|
||||
I am a former graudate of Computer Science from ECS (University of Southampton) which I studied to the Masters level.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
On this site you can find a copy of my <a href="{$base_uri}cv/" title="Curriculum Vitae">CV</a>,
|
||||
or see what <a href="{$base_uri}projects/" title="Projects">projects</a> I have been working on in my spare time.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can contact me via {mailto address="me@benroberts.net" encode="hex"}.
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
97
source/webui/templates/index.tpl
Normal file
97
source/webui/templates/index.tpl
Normal file
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{$title}</title>
|
||||
|
||||
<!-- JQuery //-->
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
|
||||
<!-- JQuery Plugins //-->
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/jquery.chained.js"></script>
|
||||
|
||||
<!-- Less //-->
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/less-1.1.5.min.js"></script>
|
||||
|
||||
<!-- Bootstrap //-->
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-alerts.js"></script>
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-twipsy.js"></script>
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-popover.js"></script>
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-dropdown.js"></script>
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-tabs.js"></script>
|
||||
<script type="text/javascript" src="{$base_uri}scripts/3rdparty/bootstrap-modal.js"></script>
|
||||
|
||||
<!-- Local //-->
|
||||
<script type="text/javascript" src="{$base_uri}scripts/main.js"></script>
|
||||
|
||||
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/smoothness/jquery-ui.css" rel="Stylesheet" />
|
||||
<link rel="stylesheet/less" href="{$base_uri}less/bootstrap.less" media="all" />
|
||||
<link rel="stylesheet" type="text/css" href="{$base_uri}styles/normal.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar">
|
||||
<div class="topbar-inner">
|
||||
<div class="container-fluid">
|
||||
{$page->include_template('navigation')}
|
||||
</div><!-- /tobar-inner -->
|
||||
</div><!-- /container-fliud -->
|
||||
</div><!-- /topbar -->
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span16">
|
||||
<h1>
|
||||
Ben Roberts
|
||||
<small>MEng Computer Science @ ecs.soton.ac.uk</small>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{if ! $messages}
|
||||
{$session = Homepage_Main::instance()->session()}
|
||||
{$messages = $session->get('messages')}
|
||||
{$session->delete('messages')}
|
||||
{/if}
|
||||
{if $messages}
|
||||
<div id="messages">
|
||||
{foreach from=$messages item=message}
|
||||
{if is_array($message)}
|
||||
{$severity=$message['severity']}
|
||||
<div class="alert-message {$severity}">
|
||||
{$message['content']|escape:html}
|
||||
</div>
|
||||
{else}
|
||||
<div class="alert-message info">
|
||||
{$message|escape:html}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div><!-- /messages -->
|
||||
{/if}
|
||||
|
||||
{$page_content}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
Copyright © 2012 by Ben Roberts. All rights reserved unless otherwise specified.
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://miranda.sihnon.net/logs/" : "http://miranda.sihnon.net/logs/");
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script><script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 3);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script><noscript><p><img src="http://miranda.sihnon.net/logs/piwik.php?idsite=3" style="border:0" alt=""/></p></noscript>
|
||||
<!-- End Piwik Tag -->
|
||||
</body>
|
||||
</html>
|
||||
24
source/webui/templates/navigation.tpl
Normal file
24
source/webui/templates/navigation.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
<a class="brand" href="{$base_uri}home/">Ben Roberts</a>
|
||||
|
||||
<ul class="nav">
|
||||
<li {if $requested_page == "home"}class="active"{/if}>
|
||||
<a href="{$base_uri}home/" title="Home">Home</a>
|
||||
</li>
|
||||
|
||||
<li {if $requested_page == "cv"}class="active"{/if}>
|
||||
<a href="{$base_uri}cv/" title="CV">CV</a>
|
||||
</li>
|
||||
|
||||
<li class="dropdown {if $requested_page == "projects"}active{/if}" data-dropdown="dropdown">
|
||||
<a href="#" class="dropdown-toggle" title="Projects">Projects</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{$base_uri}projects/" title="Projects Home">Home</a></li>
|
||||
<li><a href="https://wiki.sihnon.net/" title="Sihnon Wiki">Sihnon Wiki</a></li>
|
||||
<li><a href="{$base_uri}projects/gentoo-overlay/" title="Gentoo Portage Overlay">Gentoo Overlay</a></li>
|
||||
<li><a href="{$base_uri}projects/sabayon-crepo/" title="Sabayon Entropy Community Repositories">Sabayon Community Repos</a></li>
|
||||
<li><a href="{$base_uri}projects/ripping-cluster/" title="RippingCluster">RippingCluster</a></li>
|
||||
<li><a href="{$base_uri}projects/status-board/" title="StatusBoard">StatusBoard</a></li>
|
||||
<li><a href="{$base_uri}projects/3yp/" title="Third Year Project">Third Year Project</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
23
source/webui/templates/projects.tpl
Normal file
23
source/webui/templates/projects.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
<h2>Opensource Projects</h2>
|
||||
<dl>
|
||||
<dt><a href="https://wiki.sihnon.net/" title="Sihnon Wiki">Sihnon Wiki</a></dt>
|
||||
<dd>Documentation for various systems I've configured; mostly for personal reference, but may be useful to others.</dd>
|
||||
|
||||
<dt><a href="{$base_uri}projects/gentoo-overlay/" title="Gentoo Overlay">Gentoo Portage Overlay</a></dt>
|
||||
<dd>Personally developed software, or miscellaneous ebuilds that can't be found in any other overlay.</dd>
|
||||
|
||||
<dt><a href="{$base_uri}projects/sabayon-crepo/" title="Sabayon Community Repositories">Sabayon Entropy Community Repositories</a></dt>
|
||||
<dd>Personally developed software, or miscellaneous packages for Sabayon Linux that can't be found in the main repositories.</dd>
|
||||
|
||||
<dt><a href="{$base_uri}projects/ripping-cluster/" title="RippingCluster WebUI">RippingCluster WebUI</a></dt>
|
||||
<dd>Web-based UI for transcoding DVDs on a cluster of multiple nodes.</dd>
|
||||
|
||||
<dt><a href="{$base_uri}projects/status-board/" title="StatusBoard">StatusBoard</a></dt>
|
||||
<dd>PHP/Web tool for displaying service status and incident details.</dd>
|
||||
</dl>
|
||||
|
||||
<h2>University Projects</h2>
|
||||
<dl>
|
||||
<dt><a href="{$base_uri}projects/3yp/" title="Third Year Project">Third Year Project</a></dt>
|
||||
<dd>A cross-platform, zero-config file sharing client using public keys and a web of trust for password-less authentication and access control.</dd>
|
||||
</dl>
|
||||
16
source/webui/templates/projects/3yp.tpl
Normal file
16
source/webui/templates/projects/3yp.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
<h2>Third Year Project</h2>
|
||||
|
||||
<p>
|
||||
I am still working on my project, but in the mean time I have some binaries available for user testing.
|
||||
Please report any bugs you might find on the <a href="https://bugs.sihnon.net/" title="Sihnon Bug Tracker">bug tracker</a>.
|
||||
</p>
|
||||
<p>
|
||||
These binaries are solely for testing purposes, and may not be redistributed from anywhere other than this site.
|
||||
I may find time to produce a source package in the future.
|
||||
|
||||
<ul>
|
||||
<li><a href="{$base_uri}files/rsdss_1.01_i386.deb" title="Ubuntu x86 deb package">rsdss-1.01-i386.deb</a></li>
|
||||
<li><a href="{$base_uri}files/rsdss-1.0.1-i386.tar.bz2" title="Linux x86 binary archive">rsdss-1.0.1-i386.tar.bz2</a></li>
|
||||
<li><a href="{$base_uri}files/rsdss-1.0.2-win32.zip" title="Windows 32-bit zip archive">rsdss-1.0.2-win32.zip</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
22
source/webui/templates/projects/gentoo-overlay.tpl
Normal file
22
source/webui/templates/projects/gentoo-overlay.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<h2>Gentoo Portage Overlay</h2>
|
||||
|
||||
<p>
|
||||
The ebuilds in this overlay have mostly been taken from the Gentoo
|
||||
bugzilla, where the packages haven't yet made it into the portage tree. There
|
||||
are also a couple of version-bumped packages, and packages to install homegrown
|
||||
software on local machines. Feel free to use these packages, but do so at your
|
||||
own risk.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can install this overlay using layman. Add the the
|
||||
<a href="https://dev.sihnon.net/projects/gentoo-overlay/layman.xml" title="Sihnon overlay url">Sihnon overlay url</a>
|
||||
to your overlays variable in <code class="file">/etc/layman/layman.cfg</code>. Then update
|
||||
the list of overlays with <code class="root">layman -L</code> and add the Sihnon overlay
|
||||
with <code class="root">layman -a sihnon</code>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The contents of the overlay can be browsed in the
|
||||
<a href="https://git.sihnon.net/cgit.cgi/gentoo-overlay.git/" title="Sihnon Git repository browser">Sihnon Git repository browser</a>.
|
||||
</p>
|
||||
36
source/webui/templates/projects/ripping-cluster.tpl
Normal file
36
source/webui/templates/projects/ripping-cluster.tpl
Normal file
@@ -0,0 +1,36 @@
|
||||
<h2>RippingCluster</h2>
|
||||
|
||||
<p>
|
||||
RippingCluster provides a web interface for managing a cluster of nodes for transcoding DVDs. The application provides the means
|
||||
to list available sources and prepare a list of titles to rip over a collection of nodes using HandBrake and Gearman.
|
||||
</p>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span8 column">
|
||||
<img class="span8" src="{$base_uri}images/ripping-cluster/overview.png" alt="RippingCluster Overview" />
|
||||
</div>
|
||||
<div class="span8 column">
|
||||
<h3>Features</h3>
|
||||
<ul>
|
||||
<li>Multiple machines can participate in transcoding jobs using a worker daemon.</li>
|
||||
<li>Single WebUI to prepare and manage jobs.</li>
|
||||
<li>Batch multiple titles from a single DVD source (perfect for TV boxsets).</li>
|
||||
<li>Select audio and subtitle streams to include with the rip.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span16">
|
||||
<h3>Source</h3>
|
||||
<p>
|
||||
View or clone a copy of the Git repositories from one of the mirrors listed below:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="https://git.sihnon.net/cgit.cgi/handbrake-cluster-webui.git/" title="Sihnon Mirror">Sihnon Mirror</a></li>
|
||||
<li><a href="https://github.com/optiz0r/handbrake-cluster-webui/" title="GitHub Mirror">GitHub Mirror</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
18
source/webui/templates/projects/sabayon-crepo.tpl
Normal file
18
source/webui/templates/projects/sabayon-crepo.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<h2>Sabayon Entropy Community Repositories</h2>
|
||||
|
||||
<p>
|
||||
I have a collection of community repositories for both amd64 and i686 architectures. These contain version-bumped or modified packages already
|
||||
present in the upstream repositories, packages available in Gentoo but not Sabayon, and locally-developed software. Feel free to add these if any
|
||||
of the packages inside might be of use, but please be aware they are provided as-is with no guarantees.
|
||||
</p>
|
||||
|
||||
<dl>
|
||||
<dt><a href="http://packages.sihnon.net/standard/packages.sihnon.net/" title="Common Repository">packages.sihnon.net</a></dt>
|
||||
<dd>Packages suitable for machines of any designation.</dd>
|
||||
|
||||
<dt><a href="http://packages.sihnon.net/standard/server.packages.sihnon.net/" title="Server Repository">server.packages.sihnon.net</a></dt>
|
||||
<dd>Packages suitable for server machines (without X).</dd>
|
||||
|
||||
<dt><a href="http://packages.sihnon.net/standard/desktop.packages.sihnon.net/" title="Desktop Repository">desktop.packages.sihnon.net</a></dt>
|
||||
<dd>Packages suitable for desktop machines (with X).</dd>
|
||||
</dl>
|
||||
37
source/webui/templates/projects/status-board.tpl
Normal file
37
source/webui/templates/projects/status-board.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
<h2>StatusBoard</h2>
|
||||
|
||||
<p>
|
||||
StatusBoard is a simple PHP web-based tool for displaying the status of services. Administrators can manually record incidents and provide
|
||||
estimated end times and simple descriptions. This tool is suitable for exposing status information to customers or other third parties and
|
||||
does not need to be connected to internal systems.
|
||||
</p>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span8 column">
|
||||
<h3>Features</h3>
|
||||
<ul>
|
||||
<li>Customisable list of Services and Sites.</li>
|
||||
<li>Manual reporting and status changes for Incidents.</li>
|
||||
<li>Multiple severity levels.</li>
|
||||
<li>Full admin UI.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span8 column">
|
||||
<img class="span8" src="{$base_uri}images/status-board/overview.png" alt="StatusBoard Overview" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span16">
|
||||
<h3>Source</h3>
|
||||
<p>
|
||||
View or clone a copy of the Git repositories from one of the mirrors listed below:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="https://git.sihnon.net/cgit.cgi/status-board.git/" title="Sihnon Mirror">Sihnon Mirror</a></li>
|
||||
<li><a href="https://github.com/optiz0r/status-board/" title="GitHub Mirror">GitHub Mirror</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user