Revert "Remove bootstrap classes"

This reverts commit 023bc33c42153486251b4b1d77045bcf72197905.
This commit is contained in:
Alexander Klimov 2014-03-04 15:44:21 +01:00
parent ecd6a27e03
commit 7062c5ab2d
5 changed files with 23 additions and 23 deletions

View File

@ -3,33 +3,33 @@ use Icinga\Web\Url;
$createLdapBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'ldap')); $createLdapBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'ldap'));
$createDbBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'db')); $createDbBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'db'));
?> ?>
<div> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div> <div class="content">
<?php if (isset($this->messageBox)): ?> <?php if (isset($this->messageBox)): ?>
<?= $this->messageBox->render() ?> <?= $this->messageBox->render() ?>
<?php endif ?> <?php endif ?>
<div> <div class="panel panel-default">
<div> <div class="panel-heading panel-title">
Create Authentication Provider Create Authentication Provider
</div> </div>
<div> <div class="panel-body">
<a href="<?= $createLdapBackend ?>"><i class="icinga-icon-create"></i> Create A New LDAP Authentication Backend</a><br/> <a href="<?= $createLdapBackend ?>"><i class="icinga-icon-create"></i> Create A New LDAP Authentication Backend</a><br/>
<a href="<?= $createDbBackend ?>"><i class="icinga-icon-create"></i> Create A New DB Authentication Backend</a> <a href="<?= $createDbBackend ?>"><i class="icinga-icon-create"></i> Create A New DB Authentication Backend</a>
</div> </div>
</div> </div>
<?php foreach ($this->backends as $backend): ?> <?php foreach ($this->backends as $backend): ?>
<div> <div class="panel panel-default">
<div> <div class="panel-heading panel-title">
Backend <?= $this->escape($backend->name); ?> Backend <?= $this->escape($backend->name); ?>
<br/> <br/>
<?= $backend->reorderForm; ?> <?= $backend->reorderForm; ?>
</div> </div>
<div> <div class="panel-body">
<a href="<?= $this->href('config/editAuthenticationBackend', array('auth_backend' => $backend->name));?>"> <a href="<?= $this->href('config/editAuthenticationBackend', array('auth_backend' => $backend->name));?>">
<i class="icinga-icon-edit"></i> Edit This Authentication Provider <i class="icinga-icon-edit"></i> Edit This Authentication Provider
</a> </a>

View File

@ -1,8 +1,8 @@
<div> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div> <div class="content">
<?php if (isset($this->messageBox)): ?> <?php if (isset($this->messageBox)): ?>
<?= $this->messageBox->render() ?> <?= $this->messageBox->render() ?>
<?php endif ?> <?php endif ?>

View File

@ -1,8 +1,8 @@
<div> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div> <div class="content">
<?php $errors = $this->form->getErrorMessages(); ?> <?php $errors = $this->form->getErrorMessages(); ?>
<?php if (isset($this->messageBox)): ?> <?php if (isset($this->messageBox)): ?>

View File

@ -5,11 +5,11 @@ $this->modules->limit(10);
$modules = $this->modules->paginate(); $modules = $this->modules->paginate();
?> ?>
<div> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div> <div class="content">
<h3>Installed Modules</h3> <h3>Installed Modules</h3>
<?php if (isset($this->messageBox)): ?> <?php if (isset($this->messageBox)): ?>
@ -20,7 +20,7 @@ $modules = $this->modules->paginate();
'preserve' => $this->preserve 'preserve' => $this->preserve
)); ));
?> ?>
<table> <table class="action">
<tbody> <tbody>
<? foreach ($modules as $module): ?> <? foreach ($modules as $module): ?>
<?php <?php

View File

@ -2,32 +2,32 @@
use Icinga\Web\Url; use Icinga\Web\Url;
$createResource = $this->href('/config/createresource'); $createResource = $this->href('/config/createresource');
?> ?>
<div> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div> <div class="content">
<?php if (isset($this->messageBox)): ?> <?php if (isset($this->messageBox)): ?>
<?= $this->messageBox->render() ?> <?= $this->messageBox->render() ?>
<?php endif ?> <?php endif ?>
<div> <div class="panel panel-default">
<div> <div class="panel-heading panel-title">
Create Resource Create Resource
</div> </div>
<div> <div class="panel-body">
<a href="<?= $createResource ?>"><i class="icinga-icon-create"></i> Create A New Resource</a><br/> <a href="<?= $createResource ?>"><i class="icinga-icon-create"></i> Create A New Resource</a><br/>
</div> </div>
</div> </div>
<?php foreach ($this->resources as $name => $resource): ?> <?php foreach ($this->resources as $name => $resource): ?>
<div> <div class="panel panel-default">
<div> <div class="panel-heading panel-title">
<b>Resource: </b> <?= $this->escape($name); ?> <b>Resource: </b> <?= $this->escape($name); ?>
<br/> <br/>
</div> </div>
<div> <div class="panel-body">
<a href="<?= $this->href('config/editresource', array('resource' => $name));?>"> <a href="<?= $this->href('config/editresource', array('resource' => $name));?>">
<i class="icinga-icon-edit"></i> Edit This Resource <i class="icinga-icon-edit"></i> Edit This Resource