1
0

Description column in programs/view is now stretched

This commit is contained in:
Mike Schwörer 2014-09-03 19:13:45 +02:00
parent e8f3093783
commit bcc5f635ba
2 changed files with 38 additions and 1 deletions

View File

@ -560,6 +560,43 @@ ul.nav li.dropdown-append:hover > ul.dropdown-menu {
/* programs/view /* programs/view
-------------------------------------------------- */ -------------------------------------------------- */
.progview_container {
width: 100%;
}
.progview_container > .row {
display:table;
border-spacing:0;
margin-left: 0;
width: 100%;
margin-right: auto;
margin-left: auto;
}
.progview_container > .row > [class*="span"] {
display:table-cell;
float: none;
vertical-align: top;
padding-left: 15px;
padding-right: 15px;
}
.progview_container > .row > .span3 {
width: 270px;
}
.progview_container > .row > .span6 {
width: auto;
}
.progview_container > .row > .span3 .progview_image {
width: 232px;
}
.progview_image { .progview_image {
border-radius: 6px; border-radius: 6px;
margin-bottom: 15px; margin-bottom: 15px;

View File

@ -19,7 +19,7 @@ if (!$model->visible && Yii::app()->user->name != 'admin') {
} }
?> ?>
<div class="container"> <div class="progview_container">
<?php if (!$model->enabled) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users disabled'); ?> <?php if (!$model->enabled) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users disabled'); ?>
<?php if (!$model->visible) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users invisible'); ?> <?php if (!$model->visible) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users invisible'); ?>