1
0

Added Favicon

This commit is contained in:
2014-06-10 20:04:51 +02:00
parent 5f839356bb
commit 91b79a9472
7 changed files with 106 additions and 200 deletions

View File

@@ -1,6 +1,8 @@
<?php
class MsHtml extends TbHtml {
const INPUT_SIZE_CUSTOM_ABOUTTXT = 'xx_custom_is_about_tb';
/**
* @param DateTime $date
* @param string $caption

View File

@@ -17,6 +17,8 @@
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="/images/favicon.png" /> <?php //TODO-MS Add nice favicon ?>
<?php Yii::app()->bootstrap->register(); ?>
<link rel="stylesheet" type="text/css" href="/css/styles.css" />

View File

@@ -81,21 +81,21 @@ $this->selectedNav = 'about';
echo $form->textFieldControlGroup($model, 'name',
[
'placeholder' => 'Name',
'size' => MsHtml::INPUT_SIZE_XXLARGE,
'size' => MsHtml::INPUT_SIZE_CUSTOM_ABOUTTXT,
'prepend' => MsHtml::icon(MsHtml::ICON_USER),
'span' => 2,
]);
echo $form->textFieldControlGroup($model, 'email',
[
'placeholder' => 'Email address',
'size' => MsHtml::INPUT_SIZE_XXLARGE,
'size' => MsHtml::INPUT_SIZE_CUSTOM_ABOUTTXT,
'prepend' => MsHtml::icon(MsHtml::ICON_ENVELOPE),
'span' => 2,
]);
echo $form->textFieldControlGroup($model, 'header',
[
'placeholder' => 'Header',
'size' => MsHtml::INPUT_SIZE_XXLARGE,
'size' => MsHtml::INPUT_SIZE_CUSTOM_ABOUTTXT,
'prepend' => MsHtml::icon(MsHtml::ICON_TAG),
'span' => 5,
]);