Skip to content

Commit

Permalink
Fix: #194
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Nov 28, 2013
1 parent c3106fa commit de64d1d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
?>

<div class="login-wrap">

<div class="login <?php echo $this->pageclass_sfx?>">
<?php if ($this->params->get('show_page_heading')) : ?>
<div class="page-header">
Expand Down Expand Up @@ -40,7 +41,7 @@

<form action="<?php echo JRoute::_('index.php?option=com_users&task=user.login'); ?>" method="post" class="form-horizontal">

<fieldset class="well">
<fieldset>
<?php foreach ($this->form->getFieldset('credentials') as $field): ?>
<?php if (!$field->hidden): ?>
<div class="form-group">
Expand All @@ -62,23 +63,25 @@
<?php echo JHtml::_('form.token'); ?>
</fieldset>

</form>

</div>

<div class="other-links btn-group">
<a class="btn btn-link" href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_RESET'); ?></a>
<div class="other-links form-group">
<div class="col-sm-offset-3 col-sm-9">
<ul>
<li><a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_RESET'); ?></a></li>
<li><a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REMIND'); ?></a></li>
<?php
$usersConfig = JComponentHelper::getParams('com_users');
if ($usersConfig->get('allowUserRegistration')) : ?>
<li><a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REGISTER'); ?></a></li>
<?php endif; ?>
</ul>
</div>
</div>

<a class="btn btn-link" href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REMIND'); ?></a>
</form>

<?php
$usersConfig = JComponentHelper::getParams('com_users');
if ($usersConfig->get('allowUserRegistration')) : ?>
<a class="btn btn-link" href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REGISTER'); ?></a>
<?php endif; ?>
</div>

</div>
58 changes: 27 additions & 31 deletions source/tpl_t3_bs3_blank/less/joomla.less
Original file line number Diff line number Diff line change
Expand Up @@ -375,44 +375,38 @@ article aside .btn-group {
//
// LOGIN
// ---------------------------------------------------------
.login h1 {
}
.login-wrap{

.login_form fieldset,
.login fieldset {
padding: 15px 0 0;
}
// Header
.page-headder {
}

.login_form fieldset p,
.login fieldset p {
margin: 0 0 5px;
}
// Description
.login-description {

.login_form label,
.login label {
display: block;
font-weight: bold;
}
}

.login-fields {
margin: 0 0 10px;
}
// Login Form
form {

.login_form .input,
.login_form .inputbox,
.login-fields .required {
margin-left: 10px;
width: 150px;
}
fieldset {
}

.login_form .remember .input,
.login_form .remember .inputbox {
width: 20px;
}
label {
}

.form-group {
}

}

// Links
.other-links {
ul {
padding-left: @grid-gutter-width / 2;
}
}

.login_form .btn,
.login_form .button,
.login button {
}


Expand All @@ -421,6 +415,7 @@ article aside .btn-group {
// REGISTER
// ---------------------------------------------------------
.form-register {

fieldset {
padding: 0 0 10px;
}
Expand Down Expand Up @@ -451,6 +446,7 @@ article aside .btn-group {
.button {
margin-left: 140px;
}

}

.registration fieldset dt {
Expand Down

0 comments on commit de64d1d

Please sign in to comment.