Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
TicketTech
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit ce7775e3
authored
2020-02-20 12:34:39 -0300
by
Georgina Mondino
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Card Styles
1 parent
ab589d3b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
9 deletions
src/app/busqueda/busqueda.component.css
src/app/busqueda/busqueda.component.html
src/app/busqueda/busqueda.component.ts
src/styles.css
src/app/busqueda/busqueda.component.css
View file @
ce7775e
.order-button
{
float
:
right
;
font-size
:
17px
;
border-radius
:
5px
5px
0px
0px
;
margin-bottom
:
5%
;
}
.result-container
{
text-align
:
center
;
font-size
:
17px
;
width
:
92%
;
padding
:
2%
;
margin
:
1%
1%
2%
2%
;
background-color
:
#ffffff
;
box-shadow
:
3px
3px
3px
grey
;
border-radius
:
10px
;
}
\ No newline at end of file
src/app/busqueda/busqueda.component.html
View file @
ce7775e
<h1>
Resultados de búsqueda
</h1>
<button
(
click
)="
change
()"
>
<button
(
click
)="
change
()"
class=
"order-button"
>
Ordenar {{ order }}
</button>
<!-- Esta es la card de resultado -->
<div
*
ngFor=
"let i of results"
class=
"
class-thingy
"
>
<div
*
ngFor=
"let i of results"
class=
"
result-container
"
>
{{ i }}
</div>
src/app/busqueda/busqueda.component.ts
View file @
ce7775e
...
...
@@ -14,13 +14,13 @@ export class BusquedaComponent implements OnInit {
ngOnInit
():
void
{
this
.
results
=
[
"
c
osa1"
,
"
c
osa2"
,
"
c
osa3"
,
"
c
osa4"
,
"
c
osa5"
,
"
c
osa6"
,
"
c
osa7"
"
C
osa1"
,
"
C
osa2"
,
"
C
osa3"
,
"
C
osa4"
,
"
C
osa5"
,
"
C
osa6"
,
"
C
osa7"
]
}
...
...
src/styles.css
View file @
ce7775e
/* You can add global styles to this file, and also import other style files */
body
{
height
:
100%
;
width
:
100%
;
margin
:
0
;
padding
:
0
;
}
html
{
font-family
:
'Montserrat'
,
sans-serif
;
background-color
:
#FFe8e8
;
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment