Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
asdasd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fbotta
asdasd
Commits
bbe898c8
Commit
bbe898c8
authored
Dec 09, 2018
by
Pushparagavan Sivaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css changes
parent
d5a5e28d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
heroes.component.css
src/app/heroes/heroes.component.css
+5
-0
heroes.component.html
src/app/heroes/heroes.component.html
+5
-4
No files found.
src/app/heroes/heroes.component.css
View file @
bbe898c8
...
@@ -21,4 +21,8 @@ body {
...
@@ -21,4 +21,8 @@ body {
color
:
#2626f5
!important
;
color
:
#2626f5
!important
;
background-color
:
none
!important
;
background-color
:
none
!important
;
border-color
:
none
!important
;
border-color
:
none
!important
;
}
.tag-link
a
{
cursor
:
pointer
;
text-decoration
:
none
;
}
}
\ No newline at end of file
src/app/heroes/heroes.component.html
View file @
bbe898c8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<form
[
formGroup
]="
searchForm
"
(
ngSubmit
)="
submitData
()"
>
<form
[
formGroup
]="
searchForm
"
(
ngSubmit
)="
submitData
()"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"usr"
>
Title:
</label>
<label
for=
"usr"
>
Title:
</label>
<input
type=
"text"
placeholder=
"Ti
e
le"
class=
"form-control"
id=
"Title"
formControlName=
"title"
>
<input
type=
"text"
placeholder=
"Ti
t
le"
class=
"form-control"
id=
"Title"
formControlName=
"title"
>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"pwd"
>
Tag:
</label>
<label
for=
"pwd"
>
Tag:
</label>
...
@@ -27,8 +27,9 @@
...
@@ -27,8 +27,9 @@
<label
*
ngIf=
"pk.vote !== null"
>
Vote: {{pk.vote}}
</label>
<label
*
ngIf=
"pk.vote !== null"
>
Vote: {{pk.vote}}
</label>
<label
*
ngIf=
"pk.vote === null"
>
Vote: 0
</label>
<label
*
ngIf=
"pk.vote === null"
>
Vote: 0
</label>
</div>
</div>
<div>
{{pk.title}}
<span
*
ngFor=
"let teml of pk.tags"
><a
data-toggle=
"modal"
(
click
)="
getVoteDetail
(
pk
.
id
)"
<div
class=
"tag-link"
>
{{pk.title}}
<a
data-toggle=
"modal"
(
click
)="
getVoteDetail
(
pk
.
id
)"
data-target=
"#myModal"
>
{{teml}}
</a></span></div>
data-target=
"#myModal"
>
<span
*
ngFor=
"let teml of pk.tags"
>
{{teml}}
</span></a>
</div>
<div>
{{pk.description}}
</div>
<div>
{{pk.description}}
</div>
</div>
</div>
</div>
</div>
...
@@ -49,7 +50,7 @@
...
@@ -49,7 +50,7 @@
<span
*
ngFor=
"let tag of voteDetails?.tags"
>
{{tag}}
</span>
<span
*
ngFor=
"let tag of voteDetails?.tags"
>
{{tag}}
</span>
<p>
{{voteDetails?.description}}
</p>
<p>
{{voteDetails?.description}}
</p>
</div>
</div>
<div
*
ngIf=
"showVoteSuccessMessage"
>
Thankyou. Your Vote has been submitted successfully.
</div>
<div
*
ngIf=
"showVoteSuccessMessage"
>
Thankyou. Your Vote has been submitted successfully.
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
type=
"button"
(
click
)="
voteCount
(
voteDetails
?.
id
)"
class=
"btn btn-default btn-vote"
>
<button
type=
"button"
(
click
)="
voteCount
(
voteDetails
?.
id
)"
class=
"btn btn-default btn-vote"
>
<i
class=
"fa fa-thumbs-up"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-thumbs-up"
aria-hidden=
"true"
></i>
...
...
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