Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
eResearch
sails-hook-redbox-labarchives
Commits
efb23360
Commit
efb23360
authored
Jan 14, 2019
by
Moises Sacal
Browse files
added help login image
parent
25d599ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
angular/labarchives/src/app/components/labarchives-login.component.ts
View file @
efb23360
...
...
@@ -17,6 +17,8 @@ export class LabarchivesLoginField extends FieldBase<any> {
loginLabel
:
string
;
helpLoginLabel
:
string
;
helpLoginLabelList
:
object
[];
loginHelpImage
:
string
;
loginHelpImageAlt
:
string
;
password
:
string
;
submitted
=
false
;
errorMessage
:
string
=
undefined
;
...
...
@@ -36,7 +38,9 @@ export class LabarchivesLoginField extends FieldBase<any> {
this
.
loginLabel
=
options
[
'
loginLabel
'
]
||
'
Login
'
;
this
.
helpLoginLabel
=
options
[
'
helpLoginLabel
'
]
||
''
;
this
.
helpLoginLabelList
=
options
[
'
helpLoginLabelList
'
]
||
[];
this
.
closeLabel
=
'
Close
'
;
this
.
loginHelpImageAlt
=
options
[
'
loginHelpImageAlt
'
]
||
'
labarchives help login
'
;
this
.
loginHelpImage
=
options
[
'
loginHelpImage
'
]
||
this
.
loginHelpImageAlt
;
this
.
closeLabel
=
options
[
'
closeLabel
'
]
||
'
Close
'
;
this
.
labarchivesService
=
this
.
getFromInjector
(
LabarchivesService
);
}
...
...
@@ -108,6 +112,9 @@ export class LabarchivesLoginField extends FieldBase<any> {
<ul>
<li *ngFor="let help of field.helpLoginLabelList">{{ help }}</li>
</ul>
<p>
<img alt="{{ field.loginHelpImageAlt }}" [src]="field.loginHelpImage"/>
</p>
</div>
<div class="alert alert-danger" *ngIf="field.errorMessage">{{ field.errorMessage }}</div>
<div>
...
...
angular/labarchives/src/assets/images/labarchives-help-login.png
0 → 100644
View file @
efb23360
16.2 KB
form-config/labarchives-1.0-draft.js
View file @
efb23360
...
...
@@ -45,7 +45,10 @@ module.exports = {
'
Come back to this screen
'
,
'
Enter your UTS email address
'
,
'
Paste the password token you copied above into LabArchives Password Token for External applications.
'
]
],
loginHelpImageAlt
:
'
labarchives help login
'
,
loginHelpImage
:
'
/angular/labarchives/assets/images/labarchives-help-login.png
'
,
closeLabel
:
'
Close
'
}
},
{
...
...
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