From d4c2c6504bad3bb9d95a589f507f5b369128e430 Mon Sep 17 00:00:00 2001 From: Andrej Griniuk Date: Sun, 15 Jan 2017 13:54:57 +0800 Subject: [PATCH 1/5] display real version number --- src/Template/Pages/home.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Template/Pages/home.ctp b/src/Template/Pages/home.ctp index 0eea5e99eb..28247419a1 100644 --- a/src/Template/Pages/home.ctp +++ b/src/Template/Pages/home.ctp @@ -46,7 +46,7 @@ $cakeDescription = 'CakePHP: the rapid development PHP framework';
-

Welcome to CakePHP 3.3 Red Velvet. Build fast. Grow solid.

+

Welcome to CakePHP Red Velvet. Build fast. Grow solid.

From d0648fe10685b05a545a6242e4e9469abddca94a Mon Sep 17 00:00:00 2001 From: Andrej Griniuk Date: Sun, 15 Jan 2017 20:31:14 +0800 Subject: [PATCH 2/5] rework in foundation --- src/Template/Pages/home.ctp | 398 ++++++++++--------- webroot/css/cake.css | 31 -- webroot/css/home.css | 289 +++++++------- webroot/img/{cake-logo.png => cake.logo.png} | Bin 4 files changed, 351 insertions(+), 367 deletions(-) rename webroot/img/{cake-logo.png => cake.logo.png} (100%) diff --git a/src/Template/Pages/home.ctp b/src/Template/Pages/home.ctp index 28247419a1..50b5800d67 100644 --- a/src/Template/Pages/home.ctp +++ b/src/Template/Pages/home.ctp @@ -35,224 +35,242 @@ $cakeDescription = 'CakePHP: the rapid development PHP framework'; <?= $cakeDescription ?> - - Html->meta('icon') ?> + Html->css('base.css') ?> + Html->css('cake.css') ?> Html->css('home.css') ?> - - + -
- +
+
Html->image('cake.logo.png') ?>
+

Welcome to CakePHP Red Velvet. Build fast. Grow solid.

-
- -
-
-
-
-

Please be aware that this page will not be shown if you turn off debug mode unless you replace src/Template/Pages/home.ctp with your own version.

-
- -
-

+

+
+
+
+
+
+

Please be aware that this page will not be shown if you turn off debug mode unless you replace src/Template/Pages/home.ctp with your own version.

+
+
+
+ +
+
+
-
-
-

Environment

-
    - =')): ?> -
  • Your version of PHP is 5.5.9 or higher (detected ).
  • - -
  • Your version of PHP is too low. You need PHP 5.5.9 or higher to use CakePHP (detected ).
  • - +
    +
    +

    Environment

    +
      + =')): ?> +
    • Your version of PHP is 5.5.9 or higher (detected ).
    • + +
    • Your version of PHP is too low. You need PHP 5.5.9 or higher to use CakePHP (detected ).
    • + - -
    • Your version of PHP has the mbstring extension loaded.
    • - -
    • Your version of PHP does NOT have the mbstring extension loaded.
    • ; - + +
    • Your version of PHP has the mbstring extension loaded.
    • + +
    • Your version of PHP does NOT have the mbstring extension loaded.
    • ; + - -
    • Your version of PHP has the openssl extension loaded.
    • - -
    • Your version of PHP has the mcrypt extension loaded.
    • - -
    • Your version of PHP does NOT have the openssl or mcrypt extension loaded.
    • - + +
    • Your version of PHP has the openssl extension loaded.
    • + +
    • Your version of PHP has the mcrypt extension loaded.
    • + +
    • Your version of PHP does NOT have the openssl or mcrypt extension loaded.
    • + - -
    • Your version of PHP has the intl extension loaded.
    • - -
    • Your version of PHP does NOT have the intl extension loaded.
    • - -
    -
    -
    -

    Filesystem

    -
      - -
    • Your tmp directory is writable.
    • - -
    • Your tmp directory is NOT writable.
    • - + +
    • Your version of PHP has the intl extension loaded.
    • + +
    • Your version of PHP does NOT have the intl extension loaded.
    • + +
    +
    +
    +

    Filesystem

    +
      + +
    • Your tmp directory is writable.
    • + +
    • Your tmp directory is NOT writable.
    • + - -
    • Your logs directory is writable.
    • - -
    • Your logs directory is NOT writable.
    • - + +
    • Your logs directory is writable.
    • + +
    • Your logs directory is NOT writable.
    • + - - -
    • The Engine is being used for core caching. To change the config edit config/app.php
    • - -
    • Your cache is NOT working. Please check the settings in config/app.php
    • - -
    -
    + + +
  • The Engine is being used for core caching. To change the config edit config/app.php
  • + +
  • Your cache is NOT working. Please check the settings in config/app.php
  • + +
-
+
+
-
-
-

Database

-
    - connect(); - } catch (Exception $connectionError) { - $connected = false; - $errorMsg = $connectionError->getMessage(); - if (method_exists($connectionError, 'getAttributes')): - $attributes = $connectionError->getAttributes(); - if (isset($errorMsg['message'])): - $errorMsg .= '
    ' . $attributes['message']; - endif; +
    +
    +

    Database

    + connect(); + } catch (Exception $connectionError) { + $connected = false; + $errorMsg = $connectionError->getMessage(); + if (method_exists($connectionError, 'getAttributes')): + $attributes = $connectionError->getAttributes(); + if (isset($errorMsg['message'])): + $errorMsg .= '
    ' . $attributes['message']; endif; - } - ?> - -
  • CakePHP is able to connect to the database.
  • - -
  • CakePHP is NOT able to connect to the database.
  • - -
-
-
-

DebugKit

-
    - -
  • DebugKit is loaded.
  • - -
  • DebugKit is NOT loaded. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
  • - -
-
+ endif; + } + ?> +
    + +
  • CakePHP is able to connect to the database.
  • + +
  • CakePHP is NOT able to connect to the database.
  • + +
-
+
+

DebugKit

+
    + +
  • DebugKit is loaded.
  • + +
  • DebugKit is NOT loaded. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
  • + +
+
+
+
-
-
-

Editing this Page

-
    -
  • To change the content of this page, edit: src/Template/Pages/home.ctp.
  • -
  • You can also add some CSS styles for your pages at: webroot/css/.
  • -
-
- +
+
+

Editing this Page

+
    +
  • To change the content of this page, edit: src/Template/Pages/home.ctp.
  • +
  • You can also add some CSS styles for your pages at: webroot/css/.
  • +
+
+ +
-
-
-

More about Cake

-

- CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Front Controller and MVC. -
- Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. -

-
+
+
+

More about Cake

+

+ CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Front Controller and MVC.
+ Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. +

-
+
+
- diff --git a/webroot/css/cake.css b/webroot/css/cake.css index 539132dc99..10841c8936 100644 --- a/webroot/css/cake.css +++ b/webroot/css/cake.css @@ -268,27 +268,6 @@ pre { text-decoration: underline; } -.home header { - width: 100%; - height: 70%; - position: relative; - display: table; -} - -.home h1 { - font-family: "Gill Sans MT", Calibri, sans-serif; -} - -.home header .header-image { - display: table-cell; - vertical-align: middle; - text-align: center; -} - -.home header h1 { - color: #fff; -} - .checks { padding:30px; color: #626262; @@ -309,16 +288,6 @@ pre { border-bottom: 1px solid rgba(255, 255, 255, 0.3); } -.home .checks.ctp-warning { - color: black; - background-color: #ffc600; -} - -.home .checks.url-rewriting { - background-color: #F0F0F0; - display: none; -} - .checks .success, .checks .problem { margin-left: 10px; diff --git a/webroot/css/home.css b/webroot/css/home.css index a42680e488..9820555129 100644 --- a/webroot/css/home.css +++ b/webroot/css/home.css @@ -10,47 +10,14 @@ font-style: normal; } -body { - color: #404041; - font-family: 'Roboto', sans-serif; - font-size: 14px; - line-height: 27px; -} - -p { +.home { font-family: 'Roboto', sans-serif; font-size: 14px; - margin: 0; line-height: 27px; + color: #404041; } -h1 { - height: 60px; - font-family: 'Raleway', sans-serif; - font-style: italic; - font-size: 18px; - font-weight: 500; - padding-top: 20px; - color: #DEDED5; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - background-color: #404041; - text-align: center; - line-height: 19px; - margin: 0 0 30px 0; -} - -h2 { - font-family: 'Roboto', sans-serif; - font-size: 27px; - line-height: 30px; - font-weight: 300; - margin-top: 35px; - margin-bottom: 20px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -a { +.home a { color: #0071BC; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; @@ -59,9 +26,8 @@ a { transition: all 0.2s; } -a:hover { +.home a:hover, .home a:active { color: #d33d44; - text-decoration: none; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -ms-transition: all 0.2s; @@ -69,36 +35,106 @@ a:hover { transition: all 0.2s; } -.logo { +.home ul, .home ol, .home dl, .home p { + font-size: 0.85rem; +} + +.home p { + line-height: 2; +} + +.home header { + margin-bottom: 30px; +} + +.home header .header-image { text-align: center; - height: 172px; - background-color: #d33c44; - padding-top: 64px; + padding: 64px 0; } -.alert { - padding: 12px; - font-size: 12px; - border-radius: 0; - border: none; - margin-bottom: 10px; +.home header h1 { + color: #fff; } -.alert p { +.home h3, .home h4 { + font-family: 'Roboto', sans-serif; + font-size: 27px; + line-height: 30px; + font-weight: 300; + -webkit-font-smoothing: antialiased; + margin-top: 0; + margin-bottom: 20px; +} + +.home h3.more { + color: #ffffff; + background-color: #d33d44; + padding: 15px; + margin-top: 10px; +} + +.home header .header-title { + padding: 0; + display: block; + background: #404041; + text-align: center; +} + +.home header .header-title h1 { + font-family: 'Raleway', sans-serif; margin: 0; + font-style: italic; + font-size: 18px; + font-weight: 500; + padding: 18px 30px; + color: #DEDED5; +} + +.home .row { + max-width: 1000px; +} + +.home .alert { + background-color: #fff9e1; font-size: 12px; - color: #404041; + text-align: center; + display: block; + padding: 12px; + border-bottom: 2px solid #ffcf06; } -.alert-warning { +.home header { + height: auto; + line-height: 1em; + padding: 0; + box-shadow: none; +} + +.home ul { + list-style-type: none; + margin: 0; +} + +.home .alert { background-color: #fff9e1; + font-size: 12px; + display: block; + padding: 12px; border-bottom: 2px solid #ffcf06; + margin-bottom: 30px; + color: #404041; } -.alert-warning p::before { +.home .alert p { + margin: 0; + font-size: 12px; + line-height: 1.4; +} + +.home .alert p:before { color: #ffcf06; content: "\0055"; - font-family: 'cakefont', serif; + font-family: 'cakefont', sans-serif; font-size: 21px; margin-left: -0.8em; width: 2.3em; @@ -108,19 +144,36 @@ a:hover { vertical-align: -2px; } -ul { - list-style: none; +.home .alert ul { + margin: 0; + font-size: 12px; +} + +.home .alert.url-rewriting { + background-color: #F0F0F0; + border-color: #cccccc; + display: none; +} + +.home .text-center { + text-align: center; +} + +.home ul { + margin-bottom: 30px; +} + +.home ul ul, .home ul ul li { + margin: 0; padding: 0; } -li { +.home li { padding-left: 1.8em; } -li.success:before { - color: #88c671; - content: "\0056"; - font-family: 'cakefont'; +.home li.bullet:before { + font-family: 'cakefont', sans-serif; font-size: 18px; display: inline-block; margin-left: -1.3em; @@ -130,119 +183,63 @@ li.success:before { vertical-align: -1px; } -li.problem:before { +.home li.success:before { + color: #88c671; + content: "\0056"; +} + +.home li.problem:before { color: #d33d44; content: "\0057"; - font-family: 'cakefont'; - font-size: 18px; - display: inline-block; - margin-left: -1.3em; - width: 1.2em; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: -1px; } -li.cutlery:before { +.home li.cutlery:before { color: #404041; content: "\0059"; - font-family: 'cakefont'; - font-size: 18px; - display: inline-block; - margin-left: -1.3em; - width: 1.2em; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: -1px; } -li.book:before { +.home li.book:before { color: #404041; content: "\0042"; - font-family: 'cakefont'; - font-size: 18px; - display: inline-block; - margin-left: -1.3em; width: 1.7em; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: -1px; } -.icon { +.home hr { + border-bottom: 1px solid #e7e7e7; + border-top: 0; + margin-bottom: 35px; + margin-left: 30px; + margin-right: 30px; +} + + +.home .icon { color: #404041; - font-family: 'cakefont'; + font-style: normal; + font-family: 'cakefont', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -.support { +.home .icon.support { font-size: 60px; } - -.docs { +.home .icon.docs { font-size: 57px; } - -.training { +.home .icon.training { font-size: 39px; } -.bar-bottom { - margin-top: 30px; - border-bottom: 1px solid #e7e7e7; -} - -.more-cake { - text-align: center; -} - -.more-cake h2 { - color: #ffffff; - background-color: #d33d44; - padding: 15px; -} - -.links h2 { - margin-top: 20px; -} - -.links { - margin-top: 40px; - margin-bottom: 50px; -} - -.links > div { - margin-bottom: 30px; -} - -.url-rewriting { - display: none; -} - -@media (min-width: 1200px) { - .container { - width: 970px; +@media (min-width: 768px) { + .home .columns { + padding-left: 30px; + padding-right: 30px; } } -@media (max-width: 560px) { - h1 { - font-size: 14px; - padding: 12px; - line-height: 18px; - height: auto; - } - - .logo { - text-align: center; - height: 93px; - background-color: #d33c44; - padding-top: 25px; - } - - .logo, h1 { - margin-left: -15px; - margin-right: -15px; +@media (min-width: 992px) { + .home header.row { + max-width: 940px; } } diff --git a/webroot/img/cake-logo.png b/webroot/img/cake.logo.png similarity index 100% rename from webroot/img/cake-logo.png rename to webroot/img/cake.logo.png From 5c9dd6500f0814f79a2410ec62ce34b896a7dafa Mon Sep 17 00:00:00 2001 From: Andrej Griniuk Date: Mon, 16 Jan 2017 14:55:57 +0800 Subject: [PATCH 3/5] tweak css --- webroot/css/home.css | 126 +++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 65 deletions(-) diff --git a/webroot/css/home.css b/webroot/css/home.css index 9820555129..067285fdaf 100644 --- a/webroot/css/home.css +++ b/webroot/css/home.css @@ -17,7 +17,7 @@ color: #404041; } -.home a { +a { color: #0071BC; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; @@ -26,7 +26,7 @@ transition: all 0.2s; } -.home a:hover, .home a:active { +a:hover, a:active { color: #d33d44; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; @@ -35,28 +35,52 @@ transition: all 0.2s; } -.home ul, .home ol, .home dl, .home p { +ul, ol, dl, p { font-size: 0.85rem; } -.home p { +p { line-height: 2; } -.home header { +header { + height: auto; + line-height: 1em; + padding: 0; + box-shadow: none; +} + +header.row { margin-bottom: 30px; } -.home header .header-image { +header .header-image { text-align: center; padding: 64px 0; } -.home header h1 { +header .header-title { + padding: 0; + display: block; + background: #404041; + text-align: center; +} + +header .header-title h1 { + font-family: 'Raleway', sans-serif; + margin: 0; + font-style: italic; + font-size: 18px; + font-weight: 500; + padding: 18px 30px; + color: #DEDED5; +} + +header h1 { color: #fff; } -.home h3, .home h4 { +h3, h4 { font-family: 'Roboto', sans-serif; font-size: 27px; line-height: 30px; @@ -66,35 +90,18 @@ margin-bottom: 20px; } -.home h3.more { +.more { color: #ffffff; background-color: #d33d44; padding: 15px; margin-top: 10px; } -.home header .header-title { - padding: 0; - display: block; - background: #404041; - text-align: center; -} - -.home header .header-title h1 { - font-family: 'Raleway', sans-serif; - margin: 0; - font-style: italic; - font-size: 18px; - font-weight: 500; - padding: 18px 30px; - color: #DEDED5; -} - -.home .row { +.row { max-width: 1000px; } -.home .alert { +.alert { background-color: #fff9e1; font-size: 12px; text-align: center; @@ -103,19 +110,7 @@ border-bottom: 2px solid #ffcf06; } -.home header { - height: auto; - line-height: 1em; - padding: 0; - box-shadow: none; -} - -.home ul { - list-style-type: none; - margin: 0; -} - -.home .alert { +.alert { background-color: #fff9e1; font-size: 12px; display: block; @@ -125,13 +120,13 @@ color: #404041; } -.home .alert p { +.alert p { margin: 0; font-size: 12px; line-height: 1.4; } -.home .alert p:before { +.alert p:before { color: #ffcf06; content: "\0055"; font-family: 'cakefont', sans-serif; @@ -144,35 +139,36 @@ vertical-align: -2px; } -.home .alert ul { +.alert ul { margin: 0; font-size: 12px; } -.home .alert.url-rewriting { +.alert.url-rewriting { background-color: #F0F0F0; border-color: #cccccc; display: none; } -.home .text-center { +.text-center { text-align: center; } -.home ul { - margin-bottom: 30px; +ul { + list-style-type: none; + margin: 0 0 30px 0; } -.home ul ul, .home ul ul li { - margin: 0; - padding: 0; +li { + padding-left: 1.8em; } -.home li { - padding-left: 1.8em; +ul li ul, ul li ul li { + margin: 0; + padding: 0; } -.home li.bullet:before { +.bullet:before { font-family: 'cakefont', sans-serif; font-size: 18px; display: inline-block; @@ -183,28 +179,28 @@ vertical-align: -1px; } -.home li.success:before { +.success:before { color: #88c671; content: "\0056"; } -.home li.problem:before { +.problem:before { color: #d33d44; content: "\0057"; } -.home li.cutlery:before { +.cutlery:before { color: #404041; content: "\0059"; } -.home li.book:before { +.book:before { color: #404041; content: "\0042"; width: 1.7em; } -.home hr { +hr { border-bottom: 1px solid #e7e7e7; border-top: 0; margin-bottom: 35px; @@ -213,7 +209,7 @@ } -.home .icon { +.icon { color: #404041; font-style: normal; font-family: 'cakefont', sans-serif; @@ -221,25 +217,25 @@ -moz-osx-font-smoothing: grayscale; } -.home .icon.support { +.icon.support { font-size: 60px; } -.home .icon.docs { +.icon.docs { font-size: 57px; } -.home .icon.training { +.icon.training { font-size: 39px; } @media (min-width: 768px) { - .home .columns { + .columns { padding-left: 30px; padding-right: 30px; } } @media (min-width: 992px) { - .home header.row { + header.row { max-width: 940px; } } From 88652991d8a08deddd9f9d211346cbb00cbc543a Mon Sep 17 00:00:00 2001 From: Andrej Griniuk Date: Mon, 16 Jan 2017 15:41:30 +0800 Subject: [PATCH 4/5] add svg logo --- src/Template/Pages/home.ctp | 2 +- webroot/img/cake.logo.png | Bin 2683 -> 0 bytes webroot/img/cake.logo.svg | 41 ++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) delete mode 100644 webroot/img/cake.logo.png create mode 100644 webroot/img/cake.logo.svg diff --git a/src/Template/Pages/home.ctp b/src/Template/Pages/home.ctp index 50b5800d67..b9e329e187 100644 --- a/src/Template/Pages/home.ctp +++ b/src/Template/Pages/home.ctp @@ -44,7 +44,7 @@ $cakeDescription = 'CakePHP: the rapid development PHP framework';
-
Html->image('cake.logo.png') ?>
+
Html->image('cake.logo.svg') ?>

Welcome to CakePHP Red Velvet. Build fast. Grow solid.

diff --git a/webroot/img/cake.logo.png b/webroot/img/cake.logo.png deleted file mode 100644 index 41939ef5a58226b6ef04a34ac89f9f5759ba2779..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2683 zcmeH|`!^GeAIFEua+`%@F15K#xyI9whPBPy+vZZDthrPO8@c9E!uG7NBF{Yjjqf?n=bX>yeLg?FU*~r31=P6;(C$gNI;n4NWa=#Ni{ldin-NM~zMXI)*egKW=dXWoc!N#$a(a zcw0LMMi?;a4Lfqhn&P#l&AgqKp2514c{e*JH!uHQLE-%eMGqf6E-5W5uc)kgT3y3__WVU%{mWMk zjZMuht!?dZIyl_7o$ucNuZ!2+^P#W*WI@^v%6fcyHc=4^f zG@ds+TL_I0cr(yC5OydjJ9u*vM$-X1MmvZq-Ws|>ysm7Q;TgMs>jhI8z;X9Io75%=GLc;&>3Zz1D`Gd!Zzsqh)Pu-XL#7)! zB2=Tr}T-Jb#aM4UPG61 zD=sD6Ue^SE(k9D+4$5ox#TN7*S)sGkAaMdXe9OxcJFd}xE-Q0;y_9xI;Fn*{wRyZc zaB$JLdXJs8-a`q6f1K4Dj=3T^nZ6>`nw5Ur<~OCQo`iTcz9tX92*?FdUj8~rfpN>X zt|rY*t!^trEvG{Jkt6p#FVZuMEWYUIG|*tqnz(nBRZDqp#o8}hwr*vq(UAS>ePuxD zz#@w!?XQuMtswaHIT@ydF}$SlMix!LmX{2~3Z5X+Zly=lQ;R~B%Th;9p(@OM&d&aT z4DwHIoL%XiH49cm7t`1zm>SETYmajKBF&2UX!d5Tli4Q+?&1pGc`X(Bt10#QScSKO z;}5R1qU?ag^en4$*4LzTcL*)PX82-&i(z~7dy6h*aNNA=qP`lq;_SQH-dA*w4|R~S zH)M;=z*tfQN-rP*HkEV6{32$o={8FgPmexx^y4hCq!4bL%T?tqZ%3|$RSIFj(1{H!E43AJ`Yy);5Tw;bdT1qLjYspN-GA7+40B%Vyj)FM&KKr zev5bHxLUH?k2#Kp-)pP~YE>&=AM8V7X%f6iG}2L49#VecA_Im@FY&?z<-Ljh#P+lo zjA2#9gmduh3`ya!vQp%KP%RLI;^4L9OENL=G)ghz%Cjowd6y>FXW6yZAy z9_wO+V&7$}fYa^yVizweM$p^Z1N4$rFNg&Tv%6VFDpSfQqT71z@ssYHF+9%^OAGeo zaq7gKCvHpj3NyDrw{xjSPpQcKar^A$zA-U!Ak7NqH^OB|^~y0@EMxXNm336ED>!we ze)euO;SBv=+DIzUphQ#bna`|Tq^qarZAh0xQgY^%@tw#nAd>B%9af*8I{dJtxdu&P zF1MFKO!+YWbk2+}0$!m$ei;4@U1sVyqYB0kjk-aFk-6ewnx-3MeUJI@L?i1pE(`rr zJVAdd*;01@_sc;&iHN)CQ#RcTD&M`l%^}3t_>jHy+G`0txstsv6XH{gG-U(p`9`7r zg`lU)IffHaQhOm!p4NA}c;Xf|co~_lf^XPjW=b=`jvmVQ%Uf+a%aKLC9h;7|%)4IW zk)#Tgv0h6KZ#T{ePMaD$k#+qCyq`ALLdep@B060}B&t+n4?jul7&b9?jUv)*yRkv) zb}|hsL7{9bEep7QdTX?41^%?$oKnMAq&yAm{Cv^D#`a#d!4IR!2Ze~QjllQ>?HRFG z<3@@GFV{{~InAesJo9;N=9sZqPi8M>UN1^Z!~hQ%_018fPQ>+ma|q0G2{tv4 + + + + + + + + + + + + + + + + + + + + + From 8f4e2c644a903f7ad0d4b0dcd19d814a469c13c2 Mon Sep 17 00:00:00 2001 From: Andrej Griniuk Date: Mon, 16 Jan 2017 17:54:52 +0800 Subject: [PATCH 5/5] remove #content div --- src/Template/Pages/home.ctp | 405 ++++++++++++++++++------------------ 1 file changed, 202 insertions(+), 203 deletions(-) diff --git a/src/Template/Pages/home.ctp b/src/Template/Pages/home.ctp index b9e329e187..d13e075358 100644 --- a/src/Template/Pages/home.ctp +++ b/src/Template/Pages/home.ctp @@ -49,226 +49,225 @@ $cakeDescription = 'CakePHP: the rapid development PHP framework';

Welcome to CakePHP Red Velvet. Build fast. Grow solid.

-
-
-
-
-

Please be aware that this page will not be shown if you turn off debug mode unless you replace src/Template/Pages/home.ctp with your own version.

-
-
- -
- + +
+
+
+

Please be aware that this page will not be shown if you turn off debug mode unless you replace src/Template/Pages/home.ctp with your own version.

+
+
+
+
+
-
-
-

Environment

-
    - =')): ?> -
  • Your version of PHP is 5.5.9 or higher (detected ).
  • - -
  • Your version of PHP is too low. You need PHP 5.5.9 or higher to use CakePHP (detected ).
  • - +
    +
    +

    Environment

    +
      + =')): ?> +
    • Your version of PHP is 5.5.9 or higher (detected ).
    • + +
    • Your version of PHP is too low. You need PHP 5.5.9 or higher to use CakePHP (detected ).
    • + - -
    • Your version of PHP has the mbstring extension loaded.
    • - -
    • Your version of PHP does NOT have the mbstring extension loaded.
    • ; - + +
    • Your version of PHP has the mbstring extension loaded.
    • + +
    • Your version of PHP does NOT have the mbstring extension loaded.
    • ; + - -
    • Your version of PHP has the openssl extension loaded.
    • - -
    • Your version of PHP has the mcrypt extension loaded.
    • - -
    • Your version of PHP does NOT have the openssl or mcrypt extension loaded.
    • - + +
    • Your version of PHP has the openssl extension loaded.
    • + +
    • Your version of PHP has the mcrypt extension loaded.
    • + +
    • Your version of PHP does NOT have the openssl or mcrypt extension loaded.
    • + - -
    • Your version of PHP has the intl extension loaded.
    • - -
    • Your version of PHP does NOT have the intl extension loaded.
    • - -
    -
    -
    -

    Filesystem

    -
      - -
    • Your tmp directory is writable.
    • - -
    • Your tmp directory is NOT writable.
    • - + +
    • Your version of PHP has the intl extension loaded.
    • + +
    • Your version of PHP does NOT have the intl extension loaded.
    • + +
    +
    +
    +

    Filesystem

    +
      + +
    • Your tmp directory is writable.
    • + +
    • Your tmp directory is NOT writable.
    • + - -
    • Your logs directory is writable.
    • - -
    • Your logs directory is NOT writable.
    • - + +
    • Your logs directory is writable.
    • + +
    • Your logs directory is NOT writable.
    • + - - -
    • The Engine is being used for core caching. To change the config edit config/app.php
    • - -
    • Your cache is NOT working. Please check the settings in config/app.php
    • - -
    -
    -
    + + +
  • The Engine is being used for core caching. To change the config edit config/app.php
  • + +
  • Your cache is NOT working. Please check the settings in config/app.php
  • + +
+
+
-
-
-

Database

- connect(); - } catch (Exception $connectionError) { - $connected = false; - $errorMsg = $connectionError->getMessage(); - if (method_exists($connectionError, 'getAttributes')): - $attributes = $connectionError->getAttributes(); - if (isset($errorMsg['message'])): - $errorMsg .= '
' . $attributes['message']; - endif; +
+
+

Database

+ connect(); + } catch (Exception $connectionError) { + $connected = false; + $errorMsg = $connectionError->getMessage(); + if (method_exists($connectionError, 'getAttributes')): + $attributes = $connectionError->getAttributes(); + if (isset($errorMsg['message'])): + $errorMsg .= '
' . $attributes['message']; endif; - } - ?> -
    - -
  • CakePHP is able to connect to the database.
  • - -
  • CakePHP is NOT able to connect to the database.
  • - -
-
-
-

DebugKit

-
    - -
  • DebugKit is loaded.
  • - -
  • DebugKit is NOT loaded. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
  • - -
-
-
+ endif; + } + ?> +
    + +
  • CakePHP is able to connect to the database.
  • + +
  • CakePHP is NOT able to connect to the database.
  • + +
+
+
+

DebugKit

+
    + +
  • DebugKit is loaded.
  • + +
  • DebugKit is NOT loaded. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
  • + +
+
+
-
-
-

Editing this Page

-
    -
  • To change the content of this page, edit: src/Template/Pages/home.ctp.
  • -
  • You can also add some CSS styles for your pages at: webroot/css/.
  • -
-
- +
+
+

Editing this Page

+
    +
  • To change the content of this page, edit: src/Template/Pages/home.ctp.
  • +
  • You can also add some CSS styles for your pages at: webroot/css/.
  • +
+
+ +
-
-
-

More about Cake

-

- CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Front Controller and MVC.
- Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. -

-
-
+
+
+

More about Cake

+

+ CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Front Controller and MVC.
+ Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. +

+
+
-
-
- P -

Help and Bug Reports

- -
-
- r -

Docs and Downloads

- -
-
- s -

Training and Certification

- -
+
+
+ P +

Help and Bug Reports

+ +
+
+ r +

Docs and Downloads

+ +
+
+ s +

Training and Certification

+