Welcome Page

This commit is contained in:
2020-06-20 18:35:43 +02:00
parent 731ac84dca
commit fa827a0dd5
6 changed files with 28 additions and 14 deletions

View File

@@ -478,7 +478,7 @@ namespace Documents\Install {
case self::SUCCESSFUL:
$statusIcon = '<i class="fas fa-check-circle"></i>';
$statusText = "Successfull";
$statusText = "Successful";
$statusColor = "success";
break;

View File

@@ -26,11 +26,17 @@ namespace Documents\Welcome {
}
protected function initSources() {
$this->loadBootstrap();
}
protected function initMetas() {
return array();
return array(
array('name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0'),
array('name' => 'format-detection', 'content' => 'telephone=yes'),
array('charset' => 'utf-8'),
array("http-equiv" => 'expires', 'content' => '0'),
array("name" => 'robots', 'content' => 'noarchive'),
);
}
protected function initRawFields() {
@@ -49,7 +55,24 @@ namespace Documents\Welcome {
}
protected function getContent() {
return "Welcome!";
return
"<div class='container mt-5'>
<div class='row'>
<div class='col-lg-9 col-12 mx-auto'>
<div class='jumbotron'>
<h1>Congratulations!</h1>
<p class='lead'>Your Web-Base Installation is now ready to use!</p>
<hr class='my-4' />
<p>
You can now login into your <a href='/admin'>Administrator Dashboard</a> to adjust your settings
and add routes & pages.
You can add new documents and views by adding classes in the corresponding
directories and link to them, by creating rules in the Administrator Dashboard.
</p>
</div>
</div>
</div>
</div>";
}
}
}