Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Zachycení scénáře průchodu webovou aplikací - VUŠ
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASWI
ASWI 2024
Zachycení scénáře průchodu webovou aplikací - VUŠ
Merge requests
!36
Re
#11379
- vytvoření textbox komponenty
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Re
#11379
- vytvoření textbox komponenty
11379_textbox
into
develop
Overview
2
Commits
4
Pipelines
2
Changes
7
Merged
Petr Vondrovic
requested to merge
11379_textbox
into
develop
10 months ago
Overview
2
Commits
4
Pipelines
2
Changes
12
Expand
vytvořena textbox komponenta, obecná, vzhled podle návrhu ve figmě (search field ve final state)
měl jsem problémy s ikonou vpravo (pro konzistenci - jinde kde jsou ikony je daný výběr) - vyřešeno tak, že komponenta with vždy 100%
bude-li někdo chtít zmenšit - ať zmenší prvek kde text-box vložen
šířka 100% počítána s ohledem na ikony a vnitřní padding - nechci, aby text nalepen na ikona a levý okraj text fieldu
lze nastavit placeholdera
lze získat hodnotu z text fieldu
příklad použití ve final-stage (nechal bych - může být použito pro úkol
#11375
0
0
Merge request reports
Compare
version 1
version 1
969ae115
10 months ago
develop (base)
and
latest version
latest version
131f849d
4 commits,
10 months ago
version 1
969ae115
3 commits,
10 months ago
Show latest version
12 files
+
122
−
70
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
src/app/view/components/custom-button/custom-button.component.html
+
2
−
2
Options
@@ -10,7 +10,7 @@
<div
class=
"icon-container"
[ngClass]=
"{'left-icon-container': !!buttonText}"
>
<ng-container
*ngIf=
"iconType === 'custom'"
>
{{ icon }}
</ng-container>
<ng-container
*ngIf=
"iconType === 'image'"
><img
src=
"{{ icon }}"
/></ng-container>
<ng-container
*ngIf=
"
i
conType === 'fontawesome'"
><i
class=
"{{
i
con }}"
></i></ng-container>
<ng-container
*ngIf=
"
getI
conType
()
=== 'fontawesome'"
><i
class=
"{{
getI
con
()
}}"
></i></ng-container>
</div>
</ng-container>
<span>
{{ buttonText }}
</span>
@@ -18,7 +18,7 @@
<div
class=
"icon-container"
[ngClass]=
"{'right-icon-container': !!buttonText}"
>
<ng-container
*ngIf=
"iconType === 'custom'"
>
{{ icon }}
</ng-container>
<ng-container
*ngIf=
"iconType === 'image'"
><img
src=
"{{ icon }}"
/></ng-container>
<ng-container
*ngIf=
"
i
conType === 'fontawesome'"
><i
class=
"{{
i
con }}"
></i></ng-container>
<ng-container
*ngIf=
"
getI
conType
()
=== 'fontawesome'"
><i
class=
"{{
getI
con
()
}}"
></i></ng-container>
</div>
</ng-container>
</button>
Loading