hilight row

pull/217/head
Christophe Vandeplas 2013-05-30 16:40:47 +02:00
parent d0afda8df5
commit d099ca8e1c
5 changed files with 18 additions and 5 deletions

View File

@ -10,7 +10,7 @@ if ($isSearch == 1) {
if (isset($orgSearch) && $orgSearch != '' && $orgSearch != null) echo " created by the organisation \"<b>" . h($orgSearch) . "</b>\"";
echo ":</h4>";
} ?>
<table cellpadding="0" cellspacing="0" class="table table-striped table-condensed">
<table cellpadding="0" cellspacing="0" class="table table-striped table-hover table-condensed">
<tr>
<th><?php echo $this->Paginator->sort('event_id');?></th>
<th><?php echo $this->Paginator->sort('category');?></th>

View File

@ -1,6 +1,6 @@
<div class="events index">
<h2>Events</h2>
<table cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0" class="table table-striped table-hover table-condensed">
<tr>
<th><?php echo $this->Paginator->sort('published', 'Valid.');?></th>
<?php

View File

@ -155,7 +155,7 @@ endif; ?>
<h3>Attributes</h3>
<?php
if (!empty($event['Attribute'])):?>
<table cellpadding = "0" cellspacing = "0">
<table cellpadding="0" cellspacing="0" class="table table-striped table-condensed">
<tr>
<th>Category</th>
<th>Type</th>

View File

@ -8,11 +8,12 @@
<?php
echo $this->Html->meta('icon');
//echo $this->Html->css('cake.generic');
// echo $this->Html->css('cake.generic');
echo $this->Html->css('roboto');
echo $this->Html->css('bootstrap.min');
echo $this->Html->css('bootstrap');
echo $this->Html->css('datepicker');
echo $this->Html->css('main');
echo $this->Html->css('misp');
// FIXME chri: re-add print stylesheet
//echo $this->Html->css(array('print'), 'stylesheet', array('media' => 'print'));

12
app/webroot/css/misp.css Normal file
View File

@ -0,0 +1,12 @@
@CHARSET "UTF-8";
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
background-color: #CFEFFF;
}
td.short {
width:5%;
white-space: nowrap;
text-align: left;
}