mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-09-11 21:32:29 +00:00
add welcome template
This commit is contained in:
parent
c8fc6a1994
commit
21ffc37cab
@ -7,3 +7,15 @@ if (isset($_SESSION['username'])) {
|
||||
$metaTitle = _('Register | Twisterarmy Cloud');
|
||||
|
||||
require(PROJECT_DIR . '/application/view/register.phtml');
|
||||
|
||||
// @TODO welcome message
|
||||
|
||||
/*
|
||||
$metaTitle = _('Welcome | Twisterarmy Cloud');
|
||||
|
||||
$blockEstimated = 0;
|
||||
$userName = 'userName';
|
||||
$userPrivateKey = '0000000000000000000000000000000000000000';
|
||||
|
||||
require(PROJECT_DIR . '/application/view/welcome.phtml');
|
||||
*/
|
21
src/application/view/welcome.phtml
Normal file
21
src/application/view/welcome.phtml
Normal file
@ -0,0 +1,21 @@
|
||||
<?php include(PROJECT_DIR . '/application/controller/common/header.php') ?>
|
||||
<div class="mw-1024 mx-auto of-hidden">
|
||||
<div class="mw-360 mx-auto my-100 bg-c-4 b-r-3 py-28 px-24">
|
||||
<h1 class="f-size-20 f-normal mb-20"><?php echo _('Welcome') ?></h1>
|
||||
<div>
|
||||
<div class="mb-20">
|
||||
<?php echo sprintf(_('Account <strong class="c-7">@%s</strong> in registration!'), $userName); ?>
|
||||
</div>
|
||||
<div class="mb-20">
|
||||
<?php echo sprintf(_('Please, wait for block %s to enter the twister and keep the secret key in safety place:'), $blockEstimated); ?>
|
||||
</div>
|
||||
<div class="mb-30">
|
||||
<pre class="f-size-9 c-4 px-8 py-16 b-r-3 b-c-5 b-2 t-center d-block"><?php echo $userPrivateKey; ?></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<a class="btn btn-1 d-inline-block" href="login"><?php echo _('Login') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(PROJECT_DIR . '/application/controller/common/footer.php') ?>
|
@ -88,6 +88,10 @@ textarea {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.f-size-9 {
|
||||
font-size: 9px
|
||||
}
|
||||
|
||||
.f-size-10 {
|
||||
font-size: 10px
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user