event aussehen verändert
This commit is contained in:
parent
9cabcff777
commit
7da8af13fd
4
html.go
4
html.go
|
@ -77,8 +77,8 @@ func htmlReplacer(input string, activePage string) string {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
|
tempA = htmlElement("p", htmlClean(Event.date), "class=\"date\"")
|
||||||
tempA += htmlElement("p", htmlClean(Event.date), "class=\"date\"")
|
tempA += htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
|
||||||
tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
|
tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
|
||||||
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
|
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
|
||||||
tempB += "!SPLIT"
|
tempB += "!SPLIT"
|
||||||
|
|
|
@ -35,6 +35,7 @@ div.eventList a.event div.event:hover {
|
||||||
|
|
||||||
div.eventList a.event div.event p.date {
|
div.eventList a.event div.event p.date {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 10px;
|
padding: 0 10px 0 0;
|
||||||
|
margin: 0;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
Loading…
Reference in New Issue