Repaired broken module image links

This commit is contained in:
Andy Strobel 2014-03-07 01:39:06 +01:00
parent 64d4b2aa2f
commit d1891208e1
8 changed files with 35 additions and 13 deletions

View File

@ -136,8 +136,8 @@ hr {
}
#topbar-first .notifications #dropdown-notifications li i.approval {
position: absolute;
left: 6px;
top: 35px;
left: 4px;
top: 34px;
font-size: 14px;
}
#topbar-first .notifications #dropdown-notifications li i.accepted {
@ -206,6 +206,9 @@ hr {
.media-list li.selected {
background-color: #eee;
}
.media .media-body .content {
margin-right: 35px;
}
.panel .statistics {
margin-top: 40px;
margin-right: 20px;

View File

@ -166,8 +166,8 @@ hr {
i.approval {
position: absolute;
left: 6px;
top: 35px;
left: 4px;
top: 34px;
font-size: 14px;
}
i.accepted {
@ -264,6 +264,10 @@ hr {
}
}
.media .media-body .content {
margin-right: 35px;
}
//
// 5) Panels
// --------------------------------------------------

View File

@ -24,7 +24,7 @@
<div class="media">
<img class="media-object img-rounded pull-left" data-src="holder.js/64x64" alt="64x64"
style="width: 64px; height: 64px;"
src="<?php echo Yii::app()->createUrl('uploads/profile_image/default_module.jpg'); ?>">
src="<?php echo Yii::app()->baseUrl; ?>/uploads/profile_image/default_module.jpg">
<div class="media-body">
<h4 class="media-heading"><?php echo $moduleDefinition['title']; ?>
@ -71,7 +71,7 @@
<div class="media">
<img class="media-object img-rounded pull-left" data-src="holder.js/64x64" alt="64x64"
style="width: 64px; height: 64px;"
src="<?php echo Yii::app()->createUrl('uploads/profile_image/default_module.jpg'); ?>">
src="<?php echo Yii::app()->baseUrl; ?>/uploads/profile_image/default_module.jpg">
<div class="media-body">
<h4 class="media-heading"><?php echo $moduleDefinition['title']; ?></h4>

View File

@ -203,6 +203,7 @@ class ConfigController extends Controller {
// Create Welcome Space
$space = new Space();
$space->name = 'Welcome Space';
$space->description = 'Your first sample space to discover HumHub.';
$space->join_policy = Space::JOIN_POLICY_FREE;
$space->visibility = Space::VISIBILITY_ALL;
$space->created_by = $userId;

View File

@ -1,4 +1,4 @@
<li class="<?php if (!$notification->seen) : ?><?php Yii::t('NotificationModule.base', 'new'); ?><?php endif; ?>">
<li class="<?php if (!$notification->seen) : ?>new<?php endif; ?>">
<a href="<?php echo $notification->getUrl(); ?>">
<div class="media">
@ -23,7 +23,7 @@
<br><span class="time"
title="<?php echo $notification->created_at; ?>"><?php echo $notification->created_at; ?></span>
<?php if (!$notification->seen) : ?> <span class="label label-danger">New</span><?php endif; ?>
<?php if (!$notification->seen) : ?> <span class="label label-danger"><?php echo Yii::t('NotificationModule.base', 'New'); ?></span><?php endif; ?>
</div>
</div>

View File

@ -10,7 +10,7 @@
<div class="media">
<img class="media-object img-rounded pull-left" data-src="holder.js/64x64" alt="64x64"
style="width: 64px; height: 64px;"
src="<?php echo Yii::app()->createUrl('uploads/profile_image/default_module.jpg'); ?>">
src="<?php echo Yii::app()->baseUrl; ?>/uploads/profile_image/default_module.jpg">
<div class="media-body">
<h4 class="media-heading"><?php echo $moduleInfo['title']; ?>

View File

@ -212,6 +212,12 @@ h4 {
.panel h3.media-heading small a {
color: #4cd9c0;
}
.panel-danger {
border: 2px solid #ff8989;
}
.panel-danger .panel-heading {
color: #ff8989;
}
.installer .panel {
margin-top: 10%;
}
@ -375,7 +381,7 @@ h4 {
}
.btn-default {
background: #ededed;
color: #7a7a7a;
color: #7a7a7a !important;
}
.btn-default:hover,
.btn-default:focus {
@ -408,7 +414,7 @@ h4 {
}
.btn-info:hover,
.btn-info:focus {
background: #37d5b9;
background: #37d5b9 !important;
text-decoration: none;
}
.btn-info:active,

View File

@ -323,6 +323,14 @@ h4 {
}
.panel-danger {
border: 2px solid @colorDanger1;
.panel-heading {
color: @colorDanger1;
}
}
// Panels - Installer
.installer {
.panel {
@ -518,7 +526,7 @@ h4 {
.btn-default {
background: @colorBackground2;
color: @colorFont2;
color: @colorFont2 !important;
&:hover,
&:focus {
@ -557,7 +565,7 @@ h4 {
&:hover,
&:focus {
background: darken(@colorInfo2, 5%);
background: darken(@colorInfo2, 5%) !important;
text-decoration: none;
}