Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ccd4ae9f
Commit
ccd4ae9f
authored
Dec 29, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1691: added “viewport” meta tag to layout views.
parent
28dc23dd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
0 deletions
+6
-0
main.php
apps/advanced/backend/views/layouts/main.php
+1
-0
main.php
apps/advanced/frontend/views/layouts/main.php
+1
-0
main.php
apps/basic/views/layouts/main.php
+1
-0
main.php
extensions/yii/debug/views/layouts/main.php
+2
-0
main.php
extensions/yii/gii/views/layouts/main.php
+1
-0
No files found.
apps/advanced/backend/views/layouts/main.php
View file @
ccd4ae9f
...
...
@@ -16,6 +16,7 @@ AppAsset::register($this);
<html
lang=
"
<?=
Yii
::
$app
->
language
?>
"
>
<head>
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
<?=
Html
::
encode
(
$this
->
title
)
?>
</title>
<?php
$this
->
head
()
?>
</head>
...
...
apps/advanced/frontend/views/layouts/main.php
View file @
ccd4ae9f
...
...
@@ -17,6 +17,7 @@ AppAsset::register($this);
<html
lang=
"
<?=
Yii
::
$app
->
language
?>
"
>
<head>
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
<?=
Html
::
encode
(
$this
->
title
)
?>
</title>
<?php
$this
->
head
()
?>
</head>
...
...
apps/basic/views/layouts/main.php
View file @
ccd4ae9f
...
...
@@ -16,6 +16,7 @@ AppAsset::register($this);
<html
lang=
"
<?=
Yii
::
$app
->
language
?>
"
>
<head>
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
<?=
Html
::
encode
(
$this
->
title
)
?>
</title>
<?php
$this
->
head
()
?>
</head>
...
...
extensions/yii/debug/views/layouts/main.php
View file @
ccd4ae9f
...
...
@@ -11,6 +11,8 @@ yii\debug\DebugAsset::register($this);
<html>
<?php
$this
->
beginPage
()
?>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
<?=
Html
::
encode
(
$this
->
title
)
?>
</title>
<?php
$this
->
head
()
?>
</head>
...
...
extensions/yii/gii/views/layouts/main.php
View file @
ccd4ae9f
...
...
@@ -14,6 +14,7 @@ $asset = yii\gii\GiiAsset::register($this);
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
<?=
Html
::
encode
(
$this
->
title
)
?>
</title>
<?php
$this
->
head
()
?>
</head>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment