Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
change login box rendering a bit
Browse files Browse the repository at this point in the history
I *think* this fixes #64...  :)
  • Loading branch information
Benjamin Reed committed Jan 23, 2016
1 parent 7ed0411 commit fa774d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/settings/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<span class="input-label">Username:</span>
<input id="loginUsername" type="text" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="off" ng-model="user.username" name="username" autofocus="autofocus" required />
</label>
<label class="item item-input item-stacked-label">
<label class="item item-input item-stacked-label nobottom">
<span class="input-label">Password:</span>
<input id="loginPassword" type="password" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="off" ng-model="user.password" name="password" required />
</label>
<ion-item class="item item-text-wrap nobottom">
Need a Twit-arr account? <a ng-click="goToTwitarr()" style="text-decoration:underline;cursor:pointer">Create one here.</a><br />
Lost your password? <a ng-click="goToLostPassword()" style="text-decoration:underline;cursor:pointer">Reset it here.</a>
<ion-item class="item item-text-wrap notop">
<p>Need a Twit-arr account? <a ng-click="goToTwitarr()" style="text-decoration:underline;cursor:pointer">Create one here.</a></p>
<p>Lost your password? <a ng-click="goToLostPassword()" style="text-decoration:underline;cursor:pointer">Reset it here.</a></p>
</ion-item>
<ion-item class="text-right notop">
<button class="button button-dark" ng-click="logIn(user)" ng-disabled="form.$invalid || !canSubmit(user)" style="margin-top: 0; margin-bottom: 0">Log In</button>
Expand Down
7 changes: 7 additions & 0 deletions scss/cruisemonkey.scss
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,11 @@ ion-popover-view.fit ion-content {

.settings {
$settings-border-color: $cmBackgroundAlternate;
.login-form {
p {
font-size: $font-size-base;
}
}
.item {
border: none;
/*border-color: $settings-border-color;*/
Expand All @@ -548,7 +553,9 @@ ion-popover-view.fit ion-content {
margin-bottom: 5px;
padding-left: 4px;
padding-right: 4px;
width: 100%;
border: 1px solid darken($cmBackgroundAlternate, 15%);
border-radius: 3px;
}
}
.heading {
Expand Down

0 comments on commit fa774d7

Please sign in to comment.