mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 12:17:42 +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,27 +1,27 @@
|
|||||||
<?php Chunk::get('header'); ?>
|
<?php Chunk::get('header'); ?>
|
||||||
<div class="container-wide">
|
<div class="container-wide">
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<?php Action::run('theme_pre_content'); ?>
|
<?php Action::run('theme_pre_content'); ?>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<?php echo Site::content(); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<?php Action::run('theme_post_content'); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<?php echo Site::content(); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<?php Action::run('theme_post_content'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
<?php Chunk::get('footer'); ?>
|
<?php Chunk::get('footer'); ?>
|
||||||
|
Reference in New Issue
Block a user