mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 19:57:57 +02:00
UI Improvements - Default Theme - Updates #194
This commit is contained in:
@@ -72,10 +72,20 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page-header container text-center">
|
<div class="page-header container text-center">
|
||||||
<?php if (Uri::segment(0) == 'users') { ?>
|
<?php if (Uri::segment(0) == 'users' && Uri::segment(1) == '') { ?>
|
||||||
<h1><?php echo __('Users', 'users'); ?></h1>
|
<h1><?php echo __('Users', 'users'); ?></h1>
|
||||||
<?php } elseif (Uri::segment(0) == 'sitemap') { ?>
|
<?php } elseif (Uri::segment(0) == 'sitemap') { ?>
|
||||||
<h1><?php echo __('Sitemap', 'sitemap'); ?></h1>
|
<h1><?php echo __('Sitemap', 'sitemap'); ?></h1>
|
||||||
|
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'registration') { ?>
|
||||||
|
<h1><?php echo __('Registration', 'users'); ?></h1>
|
||||||
|
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'login') { ?>
|
||||||
|
<h1><?php echo __('Sign In', 'users'); ?></h1>
|
||||||
|
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'password-reset') { ?>
|
||||||
|
<h1><?php echo __('Reset Password', 'users') ?></h1>
|
||||||
|
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(2) == 'edit') { ?>
|
||||||
|
<h1><?php echo __('Edit profile', 'users') ?></h1>
|
||||||
|
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) ) { ?>
|
||||||
|
<h1><?php echo __('Profile', 'users'); ?></h1>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<h1><?php echo Page::title(); ?></h1>
|
<h1><?php echo Page::title(); ?></h1>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<?php Chunk::get('header'); ?>
|
<?php Chunk::get('header'); ?>
|
||||||
<div class="container-wide">
|
<div class="container-wide">
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
@@ -23,5 +23,5 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php Chunk::get('footer'); ?>
|
<?php Chunk::get('footer'); ?>
|
||||||
|
Reference in New Issue
Block a user