Commit 7aefb9f8 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) tabs and spaces in fbegin.inc, non functional

parent 3715ac02
...@@ -95,9 +95,7 @@ if($need_alert_display == true) { ...@@ -95,9 +95,7 @@ if($need_alert_display == true) {
?> ?>
<header class="page-head"> <header class="page-head">
<nav class="navbar navbar-default" role="navigation"> <nav class="navbar navbar-default" role="navigation">
<div class="container-fluid"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand" href="/index.php"> <a class="navbar-brand" href="/index.php">
...@@ -111,7 +109,6 @@ if($need_alert_display == true) { ...@@ -111,7 +109,6 @@ if($need_alert_display == true) {
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
</div> </div>
<div class="collapse navbar-collapse"> <div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li id="menu_messages"><?= get_menu_messages() ?></li> <li id="menu_messages"><?= get_menu_messages() ?></li>
...@@ -120,11 +117,9 @@ if($need_alert_display == true) { ...@@ -120,11 +117,9 @@ if($need_alert_display == true) {
</div> </div>
</div> </div>
</nav> </nav>
</header> </header>
<main class="page-content col-sm-10 col-sm-push-2"> <main class="page-content col-sm-10 col-sm-push-2">
<aside id="navigation" class="page-side col-xs-12 col-sm-2 hidden-xs"> <aside id="navigation" class="page-side col-xs-12 col-sm-2 hidden-xs">
<div class="row"> <div class="row">
<nav class="page-side-nav" role="navigation"> <nav class="page-side-nav" role="navigation">
...@@ -191,19 +186,14 @@ if($need_alert_display == true) { ...@@ -191,19 +186,14 @@ if($need_alert_display == true) {
</nav> </nav>
</div> </div>
</aside> </aside>
<div class="row"> <div class="row">
<header class="page-content-head"> <header class="page-content-head">
<div class="container-fluid"> <div class="container-fluid">
<form action="<?=$_SERVER['REQUEST_URI'];?>" method="post"> <form action="<?=$_SERVER['REQUEST_URI'];?>" method="post">
<ul class="list-inline"> <ul class="list-inline">
<li class="__mb"><h1><?= gentitle($menuBreadcrumbs) ?></h1></li> <li class="__mb"><h1><?= gentitle($menuBreadcrumbs) ?></h1></li>
<li class="btn-group-container"> <li class="btn-group-container">
<?php <?php
if (isset($service_hook)) { if (isset($service_hook)) {
$ssvc = array(); $ssvc = array();
switch ($service_hook) { switch ($service_hook) {
...@@ -219,18 +209,13 @@ if($need_alert_display == true) { ...@@ -219,18 +209,13 @@ if($need_alert_display == true) {
echo get_service_control_links($ssvc, false); echo get_service_control_links($ssvc, false);
} }
} }
?> ?>
<?php if (!empty($main_buttons)): foreach ($main_buttons as $button): ?> <?php if (!empty($main_buttons)): foreach ($main_buttons as $button): ?>
<a href="<?=$button['href'];?>" class="btn btn-primary"><span class="glyphicon glyphicon-plus-sign __iconspacer"></span><?=$button['label'];?></a> <a href="<?=$button['href'];?>" class="btn btn-primary"><span class="glyphicon glyphicon-plus-sign __iconspacer"></span><?=$button['label'];?></a>
<?php endforeach; endif; ?> <?php endforeach; endif; ?>
<?php if (isset($widgetfiles)): ?> <?php if (isset($widgetfiles)): ?>
<a href="#" id="updatepref" style="display:none" onclick="return updatePref();" class="btn btn-primary"><?=gettext("Save Settings");?></a> <a href="#" id="updatepref" style="display:none" onclick="return updatePref();" class="btn btn-primary"><?=gettext("Save Settings");?></a>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modal_widgets"><span class="glyphicon glyphicon-plus-sign __iconspacer"></span><?= gettext('Add widget') ?></button> <button type="button" class="btn btn-default" data-toggle="modal" data-target="#modal_widgets"><span class="glyphicon glyphicon-plus-sign __iconspacer"></span><?= gettext('Add widget') ?></button>
<?php endif; ?> <?php endif; ?>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment