This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
4101b85e
Commit
4101b85e
authored
4 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Improve search UI for different screen widths
parent
11c692d3
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!17
Initial Merge to Prepare Release 1.0.0
,
!1
Resolve "Metadaten konsolideren"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/webapp/app/mock-search/mock-search.component.html
+3
-3
3 additions, 3 deletions
src/main/webapp/app/mock-search/mock-search.component.html
src/main/webapp/app/search-input/search-input.component.html
+4
-5
4 additions, 5 deletions
src/main/webapp/app/search-input/search-input.component.html
with
7 additions
and
8 deletions
src/main/webapp/app/mock-search/mock-search.component.html
+
3
−
3
View file @
4101b85e
...
...
@@ -5,13 +5,13 @@
(scrolled)=
"onScroll()"
>
<jhi-search-input
class=
"col-md-6 col-lg-4 col-xl-3"
class=
"
col-12
col-md-6 col-lg-4 col-xl-3"
(searchInputEvent)=
"updateSearchInput($event)"
>
</jhi-search-input>
<div
class=
"col-md-6 col-lg-8 col-xl-9"
>
<div
class=
"
col-12
col-md-6 col-lg-8 col-xl-9"
>
<div
class=
"row"
>
<jhi-exercise-card
*ngFor=
"let result of results"
class=
"card-container col-
md-
12 col-lg-6 col-xl-4"
class=
"card-container col-12 col-lg-6 col-xl-4"
[exercise]=
"result"
(exerciseSelectionEvent)=
"selectExercise($event)"
>
</jhi-exercise-card>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/app/search-input/search-input.component.html
+
4
−
5
View file @
4101b85e
<div
class=
"card-container"
>
<
div
style=
"float: left; width: 100%;
position: relative;"
>
<
h2
class=
"display-4"
style=
"float: left;"
jhiTranslate=
"search.title"
>
Welcome!
</h2
>
<
h2
class=
"display-4"
style=
"float: left; width: 100%;
"
jhiTranslate=
"search.title"
>
Welcome!
</h2
>
<
div
style=
"width: 100%; margin-bottom: 20px;"
>
<button
type=
"button"
class=
"btn btn-outline-secondary"
style=
"float: right; margin-top: auto; position: absolute;
top: 1.2rem; right: 0;"
(click)=
"showSearchUsage = !showSearchUsage"
class=
"btn btn-outline-secondary"
(click)=
"showSearchUsage = !showSearchUsage"
>
{{ (showSearchUsage ? 'search.hideUsage' : 'search.showUsage') | translate}}
</button>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment