Browse Source

UI update

master
filesite 3 years ago
parent
commit
f863f26908
  1. 6
      controller/SiteController.php
  2. 2
      views/layout/main.php
  3. 4
      views/site/index.php

6
controller/SiteController.php

@ -7,10 +7,10 @@ Class SiteController extends Controller {
public function actionIndex() { public function actionIndex() {
//alert message test //alert message test
$this->sendMsgToClient('Alert message - info', 'info');
$this->sendMsgToClient('Alert message - success', 'success');
$this->sendMsgToClient('Alert message - warning', 'warning');
$this->sendMsgToClient('Alert message - danger', 'danger'); $this->sendMsgToClient('Alert message - danger', 'danger');
$this->sendMsgToClient('Alert message - warning', 'warning');
$this->sendMsgToClient('Alert message - success', 'success');
$this->sendMsgToClient('Alert message - info', 'info');
$pageTitle = "Welcome to FSC"; $pageTitle = "Welcome to FSC";
$viewName = 'index'; $viewName = 'index';

2
views/layout/main.php

@ -17,7 +17,7 @@ include_once $viewFile;
?> ?>
<div class="footer"> <div class="footer">
&copy;FSCPHP 2020 - execute time: <?php echo $page_time_cost;?> ms &copy;FSC 2022 - execute time: <?php echo $page_time_cost;?> ms
</div> </div>
<script src="/js/js.cookie.min.js"></script> <script src="/js/js.cookie.min.js"></script>

4
views/site/index.php

@ -1,11 +1,11 @@
<style> <style>
body{padding:10px;max-width:480px;margin:0 auto} body{padding:10px;max-width:720px;margin:0 auto}
code{background-color:#EEE} code{background-color:#EEE}
pre{padding:10px;background-color:#DDD} pre{padding:10px;background-color:#DDD}
.footer{text-align:center} .footer{text-align:center}
</style> </style>
<h1>Welcome to FSC</h1> <h1>Welcome to FSC</h1>
<p>FSC is the core lib of filesite.io, a small PHP Framework.</p> <p>FSC is the core lib of <a href="https://filesite.io" target="_blank">filesite.io</a>, a small PHP Framework.</p>
<hr> <hr>
<h3>App parameters</h3> <h3>App parameters</h3>

Loading…
Cancel
Save