Browse Source

Merge pull request #139 from satanch/devel

Updated install guide and install image
Jens Strobel 7 years ago
parent
commit
aa456d768a

+ 11 - 11
modules/userguide/media/guide/css/kodoc.css

@@ -15,7 +15,7 @@ h6 small { font-weight: normal; font-size: 0.8em; }
 dl dd { margin-left: 0; }
 
 code {
-	color:#6BAA3D;
+	color: #156d83;
 	font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
 }
 
@@ -64,7 +64,7 @@ table tr:nth-child(even) {
 .note {
 	padding: 1.5em;
 	padding-left: 5em;
-	background: #e8efcf url('../img/lightbulb_48.png') no-repeat 1em center;
+	background: #f7f7f7 url('../img/lightbulb_48.png') no-repeat 1em center;
 	border-radius: 0.6em;
 	overflow: auto;
 }
@@ -99,9 +99,9 @@ h6:hover a.permalink {
 #kodoc-content,
 #kodoc-footer { float: left; clear: both; width: 100%; }
 
-#kodoc-header { padding: 20px 0 2em; background: #77c244 url(../img/header.png) center top repeat-x; }
-	#kodoc-logo { display: block; float: left; }
-	#kodoc-menu { float: right; margin-top: 12px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
+#kodoc-header { padding: 20px 0 2em; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957);}
+	#kodoc-logo { display: block; float: left; color: #fff; font-size: 3em;  margin-left: 35px; text-decoration: none; font-weight: 600; line-height: 1.4em;}
+	#kodoc-menu { float: right; margin-top: 24px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
 	#kodoc-menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
 		#kodoc-menu li { display: block; float: left; margin: 0; padding: 0; }
 		#kodoc-menu li.first { padding-left: 0.5em; }
@@ -110,15 +110,15 @@ h6:hover a.permalink {
 			#kodoc-menu li.last a { border-right: 0; }
 			#kodoc-menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
 
-#kodoc-content { background: #f1f8db url(../img/content.png) center top repeat-x; }
-	#kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: transparent url(../img/wrapper.png) center top no-repeat; }
-	#kodoc-content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #e8efcf; border-radius: 0.6em; }
+#kodoc-content { background: #fff; }
+	#kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: #fff; }
+	#kodoc-content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #15935e; border-radius: 0.6em; }
 	#kodoc-content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
 	#kodoc-content a { color: #004352; }
 	#kodoc-content a:hover { color: #00758f; }
 	#kodoc-content a:active { text-decoration: none; }
 
-#kodoc-breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #e8efcf; }
+#kodoc-breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #15935e;}
 	#kodoc-breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
 	#kodoc-breadcrumb li:before { content: '»'; padding-right: 0.4em; }
 	#kodoc-breadcrumb li a { color: #999; text-decoration: none; }
@@ -130,7 +130,7 @@ h6:hover a.permalink {
 		#kodoc-topics ol li { margin:0; padding: 0; margin-left: 1em; }
 		#kodoc-topics ul li a.current,
 		#kodoc-topics ol li a.current { font-weight: bold; }
-	
+
 	#kodoc-topics span,
 	#kodoc-topics a { display: block; padding: 0; margin: 0; }
 	#kodoc-topics span { cursor: pointer; }
@@ -140,4 +140,4 @@ h6:hover a.permalink {
 
 #kodoc-footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
 	#kodoc-footer a { color: #809397; }
-	#kodoc-footer div.last { text-align: right; }
+	#kodoc-footer div.last { text-align: right; }

BIN
modules/userguide/media/guide/img/content.png


BIN
modules/userguide/media/guide/img/header.png


BIN
modules/userguide/media/guide/img/wrapper.png


+ 3 - 8
modules/userguide/views/userguide/template.php

@@ -3,23 +3,18 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
-<title><?php echo $title ?> | Kohana <?php echo 'User Guide'; ?></title>
+<title><?php echo $title ?> | Koseven <?php echo 'User Guide'; ?></title>
 
 <?php foreach ($styles as $style => $media) echo HTML::style($style, ['media' => $media], NULL, TRUE), "\n" ?>
 
 <?php foreach ($scripts as $script) echo HTML::script($script, NULL, NULL, TRUE), "\n" ?>
 
-<!--[if lt IE 9]>
-<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
-<![endif]-->
 </head>
 <body>
 
 	<div id="kodoc-header">
 		<div class="container">
-			<a href="http://kohanaframework.org/" id="kodoc-logo">
-				<img src="<?php echo Route::url('docs/media', ['file' => 'img/kohana.png']) ?>" />
-			</a>
+			<a id="kodoc-logo" href="https://koseven.ga/">koseven</a>
 			<div id="kodoc-menu">
 				<ul>
 					<li class="guide first">
@@ -87,7 +82,7 @@
 			<?php endif ?>
 			</div>
 			<div class="span-12 last right">
-			<p>Powered by <?php echo HTML::anchor('http://kohanaframework.org/', 'Kohana') ?> v<?php echo Kohana::VERSION ?></p>
+			<p>Powered by <?php echo HTML::anchor('https://koseven.ga/', 'Koseven') ?> v<?php echo Kohana::VERSION ?></p>
 			</div>
 		</div>
 	</div>

+ 1 - 1
public/install.php

@@ -49,7 +49,7 @@ else
 
 	<p>
 		The following tests have been run to determine if Koseven will work in your environment.
-		If any of the tests have failed, consult the <a href="http://kohanaframework.org/guide/about.install">documentation</a>
+		If any of the tests have failed, consult the <a href="https://docs.koseven.ga/guide/kohana/install">documentation</a>
 		for more information on how to correct the problem.
 	</p>
 

+ 1 - 1
system/config/userguide.php

@@ -17,7 +17,7 @@ return [
 			'description' => 'Documentation for Kohana core/system.',
 
 			// Copyright message, shown in the footer for this module
-			'copyright' => '&copy; 2008–2012 Kohana Team',
+			'copyright' => '&copy; 2008–2017 Koseven Team',
 		],
 	],
 

+ 8 - 3
system/guide/kohana/install.md

@@ -2,13 +2,18 @@
 
 [!!] Before continuing, make sure you have a web server (like Apache) configured with the following requirements.
 
- - PHP 5.3.3 or newer.
+ - PHP 7.0.21 or newer.
+ - [PHP Short open tag Enabled](http://php.net/manual/en/ini.core.php#ini.short-open-tag)
  - [Iconv Extension](http://php.net/iconv)
  - [Character Type (CTYPE) Extension](http://php.net/ctype)
+ - [PCRE Extension](http://php.net/pcre)
+ - [SPL Enabled](http://php.net/spl)
+ - [Reflections Enabled](http://php.net/reflection)
+ - [Filters Enabled](http://php.net/filter)
 
 # Download
 
-You can get the latest **stable** release on the [Kohana website](http://kohanaframework.org/). This will give you a fully functional application with an `application`, `modules`, and `system` directory.
+You can get the latest **stable** release on the [Koseven website](https://koseven.ga/). This will give you a fully functional application with an `application`, `modules`, and `system` directory.
 
 [!!] You can find information about the file structure on the [Cascading Filesystem](files) page.
 
@@ -71,6 +76,6 @@ Once your install page reports that your environment is set up correctly you nee
 
 ## Installing Kohana From GitHub
 
-The [source code](http://github.com/kohana/kohana) for Kohana is hosted with [GitHub](http://github.com). To install Kohana using the github source code first you need to install [git](http://git-scm.com/). Visit [http://help.github.com](http://help.github.com) for details on how to install git on your platform.
+The [source code](https://github.com/koseven/koseven) for Kohana is hosted with [GitHub](http://github.com). To install Kohana using the github source code first you need to install [git](http://git-scm.com/). Visit [http://help.github.com](http://help.github.com) for details on how to install git on your platform.
 
 [!!] For more information on installing Kohana using git, see the [Working with Git](tutorials/git) tutorial.

BIN
system/media/guide/kohana/install.png