From 21ffc37caba0c710f0e4bb509f4397512e9dbafc Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 29 Dec 2021 02:14:53 +0200 Subject: [PATCH] add welcome template --- src/application/controller/register.php | 14 +++++++++++++- src/application/view/welcome.phtml | 21 +++++++++++++++++++++ src/public/css/common.css | 4 ++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/application/view/welcome.phtml diff --git a/src/application/controller/register.php b/src/application/controller/register.php index e916bcf..7b6e62e 100644 --- a/src/application/controller/register.php +++ b/src/application/controller/register.php @@ -6,4 +6,16 @@ if (isset($_SESSION['username'])) { $metaTitle = _('Register | Twisterarmy Cloud'); -require(PROJECT_DIR . '/application/view/register.phtml'); \ No newline at end of file +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'); +*/ \ No newline at end of file diff --git a/src/application/view/welcome.phtml b/src/application/view/welcome.phtml new file mode 100644 index 0000000..60dcfde --- /dev/null +++ b/src/application/view/welcome.phtml @@ -0,0 +1,21 @@ + +
+
+

+
+
+ @%s in registration!'), $userName); ?> +
+
+ +
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/src/public/css/common.css b/src/public/css/common.css index 99cead7..b40c7ae 100644 --- a/src/public/css/common.css +++ b/src/public/css/common.css @@ -88,6 +88,10 @@ textarea { text-align: left } +.f-size-9 { + font-size: 9px +} + .f-size-10 { font-size: 10px }