Improved new style.

This commit is contained in:
Teromene 2016-08-02 22:16:43 +02:00
parent d3d379bd81
commit 6b7b38db54
3 changed files with 74 additions and 5 deletions

View file

@ -35,6 +35,8 @@ class HTMLUtils {
<p class="description">
{$description}
</p>
<input type="checkbox" class="showmore-box" id="showmore-{$bridgeName}" />
<label class="showmore" for="showmore-{$bridgeName}">Show more</label>
CARD;
// If we don't have any parameter for the bridge, we print a generic form to load it.
@ -141,6 +143,7 @@ CARD;
}
$card .= '<label class="showless" for="showmore-' . $bridgeName . '">Show less</label>';
$card .= '<p class="maintainer">'.$bridgeElement->maintainer.'</p>';
$card .= '</section>';