Initial commit of HandBrakeCluster PHP framework

Replaced dodgy placeholder with a set of PHP classes for displaying a
HandBrake webui.
Current code uses Smarty as a templating engine, and includes an ugly
but functional set of pages.
The HandBrake classes are at present only placeholders, and offer no
real functionality.
Working class autoloader for the HandBrakeCluster_ hierarchy.
This commit is contained in:
2010-03-17 02:29:12 +00:00
parent 5b09ef44aa
commit 8db695166e
24 changed files with 469 additions and 86 deletions

50
templates/index.tpl Normal file
View File

@@ -0,0 +1,50 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>HandBrake Cluster WebUI</title>
<script lang="javascript">
</script>
<link rel="stylesheet" type="text/css" href="{$base_uri}styles/normal.css" />
</head>
<body>
<div id="container">
<div id="banner">
<h1>HandBrake Cluster WebUI</h1>
</div>
<div id="navigation">
{include file=navigation.tpl}
</div>
<div id="page-container">
<div id="sidebar">
{include file=sidebar.tpl}
</div>
<div id="page">
{if $messages}
<div id="messages">
{foreach from=$messages item=message}
{$message}
{/foreach}
</div>
{/if}
{$page_content}
</div>
</div>
<div id="footer">
Powered by HandBrakeCluster WebUI {$version}. Written by Ben Roberts.
</div>
</div>
</body>
</html>