|
@@ -66,17 +66,6 @@ function FormatURI(URI $uri, $base=""){
|
|
|
</script>
|
|
|
</head>
|
|
|
<body ng-controller="main" ng-class="{scrollLock: (menuVisible && window.innerWidth < 1024) || spinnerVisible}">
|
|
|
- <div id="main-header">
|
|
|
- <div class="header">
|
|
|
- <img src="/images/menu.svg" id="menu-button" ng-click="menuVisible=!menuVisible" /><?php // using php tags to remove HTML space but to keep source tidy
|
|
|
- ?><h2><?php // Shitty, I know, but eh...
|
|
|
- ?><span>{@Title}</span><?php
|
|
|
- $__crumbs=Breadcrumbs::GetAll();
|
|
|
- foreach ($__crumbs as $crumb)
|
|
|
- echo '<span>',$crumb['text'],'</span>';
|
|
|
- ?></h2>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div id="menu" ng-show="shouldShowMenu()">
|
|
|
<div class="header">
|
|
|
<img src="/images/logo.png" /><h1>Robware</h1>
|
|
@@ -117,24 +106,37 @@ function FormatURI(URI $uri, $base=""){
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="main">
|
|
|
- <div id="buttons">
|
|
|
- <table>
|
|
|
- <tr>
|
|
|
- <td>{@ButtonsLeft}</td>
|
|
|
- <td>{@ButtonsRight}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <div id="main-header">
|
|
|
+ <div class="header">
|
|
|
+ <img src="/images/menu.svg" id="menu-button" ng-click="menuVisible=!menuVisible" /><?php // using php tags to remove HTML space but to keep source tidy
|
|
|
+ ?><h2><?php // Shitty, I know, but eh...
|
|
|
+ ?><span>{@Title}</span><?php
|
|
|
+ $__crumbs=Breadcrumbs::GetAll();
|
|
|
+ foreach ($__crumbs as $crumb)
|
|
|
+ echo '<span>',$crumb['text'],'</span>';
|
|
|
+ ?></h2>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div id="content">
|
|
|
- <?php if (isset($errors) && count($errors)>0){
|
|
|
- echo '<div class="errors">The following errors were encountered:<ul>';
|
|
|
- foreach ($errors as $e)
|
|
|
- echo '<li>',$e,'</li>';
|
|
|
- echo '</ul>Please rectify them and try again.</div>';
|
|
|
- } ?>
|
|
|
- {@Body}
|
|
|
+ <div id="buttons">
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td>{@ButtonsLeft}</td>
|
|
|
+ <td>{@ButtonsRight}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div id="body">
|
|
|
+ <?php if (isset($errors) && count($errors)>0){
|
|
|
+ echo '<div class="errors">The following errors were encountered:<ul>';
|
|
|
+ foreach ($errors as $e)
|
|
|
+ echo '<li>',$e,'</li>';
|
|
|
+ echo '</ul>Please rectify them and try again.</div>';
|
|
|
+ } ?>
|
|
|
+ {@Body}
|
|
|
+ </div>
|
|
|
+ <div id="footer">{@Footer}</div>
|
|
|
</div>
|
|
|
- <div id="footer">{@Footer}</div>
|
|
|
</div>
|
|
|
<div class="backdrop" ng-show="shouldShowMenu()" ng-click="menuVisible=false"></div>
|
|
|
<div id="spinner" class="backdrop" ng-show="spinnerVisible">
|