Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
eResearch
sails-hook-redbox-labarchives
Commits
796af4c8
Commit
796af4c8
authored
Jan 14, 2019
by
Moises Sacal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added help login image
parent
77c26c49
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
angular/labarchives/src/app/components/labarchives-login.component.ts
...rchives/src/app/components/labarchives-login.component.ts
+8
-1
angular/labarchives/src/assets/images/labarchives-help-login.png
.../labarchives/src/assets/images/labarchives-help-login.png
+0
-0
form-config/labarchives-1.0-draft.js
form-config/labarchives-1.0-draft.js
+4
-1
No files found.
angular/labarchives/src/app/components/labarchives-login.component.ts
View file @
796af4c8
...
...
@@ -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 @
796af4c8
16.2 KB
form-config/labarchives-1.0-draft.js
View file @
796af4c8
...
...
@@ -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