Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-admin
Commits
f0adef2c
Commit
f0adef2c
authored
Jun 28, 2021
by
François Agneray
Browse files
Add icon-text-btn for download renderer
parent
57dd402e
Pipeline
#5774
passed with stages
in 15 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/metamodel/components/attribute/result/renderer/download-renderer.component.html
View file @
f0adef2c
...
...
@@ -6,6 +6,7 @@
<option
value=
"text"
>
Text
</option>
<option
value=
"text-button"
>
Text button
</option>
<option
value=
"icon-button"
>
Icon button
</option>
<option
value=
"icon-text-btn"
>
Icon text button
</option>
</select>
</div>
</div>
...
...
@@ -15,8 +16,8 @@
<input
type=
"text"
class=
"form-control"
id=
"{{id}}_text"
name=
"{{id}}_text"
[formControl]=
"rendererConfig.controls.text"
>
</div>
</div>
<div
*ngIf=
"rendererConfig.controls.display.value === 'icon-button'"
class=
"form-group row align-items-center"
>
<label
for=
"{{id}}_icon"
class=
"col-md-5 col-sm-12 col-form-label"
>
Text
:
</label>
<div
*ngIf=
"rendererConfig.controls.display.value === 'icon-button'
|| rendererConfig.controls.display.value === 'icon-text-btn'
"
class=
"form-group row align-items-center"
>
<label
for=
"{{id}}_icon"
class=
"col-md-5 col-sm-12 col-form-label"
>
Icon
:
</label>
<div
class=
"col-md-7 col-sm-12"
>
<input
type=
"text"
class=
"form-control"
id=
"{{id}}_icon"
name=
"{{id}}_icon"
[formControl]=
"rendererConfig.controls.icon"
>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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