mirror of https://gitlab.com/bashrc2/epicyon
Skills search style
parent
20fea414ba
commit
093e5e4fac
|
@ -593,6 +593,15 @@ input[type=submit]:hover {
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-result {
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
|
.search-result img {
|
||||||
|
float: left;
|
||||||
|
width: 4%;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
.timeline-avatar img {
|
.timeline-avatar img {
|
||||||
opacity: 1.0;
|
opacity: 1.0;
|
||||||
width: 8%;
|
width: 8%;
|
||||||
|
|
|
@ -372,8 +372,8 @@ def htmlSkillsSearch(baseDir: str,skillsearch: str,instanceOnly: bool,postsPerPa
|
||||||
actor=skillMatchFields[1]
|
actor=skillMatchFields[1]
|
||||||
actorName=skillMatchFields[2]
|
actorName=skillMatchFields[2]
|
||||||
avatarUrl=skillMatchFields[3]
|
avatarUrl=skillMatchFields[3]
|
||||||
skillSearchForm+='<p><a href="'+actor+'/skills">'
|
skillSearchForm+='<div class="search-result""><a href="'+actor+'/skills">'
|
||||||
skillSearchForm+='<img src="'+avatarUrl+'" class="timeline-avatar"/>'+actorName+'</a></p>'
|
skillSearchForm+='<img src="'+avatarUrl+'"/>'+actorName+'</a></div>'
|
||||||
ctr+=1
|
ctr+=1
|
||||||
if ctr>=postsPerPage:
|
if ctr>=postsPerPage:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue