Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
75eb3bb7
Commit
75eb3bb7
authored
Jul 04, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decrypt on enter pressed
parent
7a2c73f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
login.component.html
Breeze.UI/src/app/login/login.component.html
+1
-1
login.component.ts
Breeze.UI/src/app/login/login.component.ts
+6
-0
No files found.
Breeze.UI/src/app/login/login.component.html
View file @
75eb3bb7
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"text-left"
for=
"Password"
>
Password
</label>
<label
class=
"text-left"
for=
"Password"
>
Password
</label>
<input
type=
"password"
class=
"form-control"
id=
"Password"
formControlName=
"password"
placeholder=
"Enter your password."
>
<input
type=
"password"
class=
"form-control"
id=
"Password"
formControlName=
"password"
placeholder=
"Enter your password."
(
keyup
.
enter
)="
onEnter
()"
>
<div
*
ngIf=
"formErrors.password"
class=
"form-control-feedback"
>
{{ formErrors.password }}
</div>
<div
*
ngIf=
"formErrors.password"
class=
"form-control-feedback"
>
{{ formErrors.password }}
</div>
</div>
</div>
</form>
</form>
...
...
Breeze.UI/src/app/login/login.component.ts
View file @
75eb3bb7
...
@@ -80,6 +80,12 @@ export class LoginComponent implements OnInit {
...
@@ -80,6 +80,12 @@ export class LoginComponent implements OnInit {
this
.
router
.
navigate
([
'/setup'
]);
this
.
router
.
navigate
([
'/setup'
]);
}
}
private
onEnter
()
{
if
(
this
.
openWalletForm
.
valid
)
{
this
.
onDecryptClicked
();
}
}
private
setGlobalWalletName
(
walletName
:
string
)
{
private
setGlobalWalletName
(
walletName
:
string
)
{
this
.
globalService
.
setWalletName
(
walletName
);
this
.
globalService
.
setWalletName
(
walletName
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment