1
0
Fork 0

Frontend: Added badge for Foxxes

This commit is contained in:
Michael Hackstein 2013-03-27 19:15:04 +01:00
parent 26a9e5527b
commit fa28f7ddc6
2 changed files with 20 additions and 3 deletions

View File

@ -3,6 +3,7 @@
}
.foxxDescription {
width:190px;
float: left;
text-align: left;
word-wrap: break-word;
}
@ -10,6 +11,10 @@
.foxxIcon {
width:64px;
height:64px;
float:right;
float:left;
padding:10px;
}
.badge-foxx {
bottom: 0px;
}

View File

@ -8,9 +8,21 @@
<strong>Mount-Point:</strong>&nbsp;<%=attributes.mount %><br />
<strong>Version:</strong>&nbsp;<%=appInfos[2] %><br />
<strong>Prefix:</strong>&nbsp;<%=attributes.collectionPrefix%><br />
<strong>Active:</strong>&nbsp;<%=attributes.active%>
<!--Git: <a href=<%=attributes.git %>>Repository</a>-->
</p>
<%if (attributes.active) {%>
<span class="badge badge-success loaded badge-foxx">
<div class="cornered">
active
</div>
</span>
<%} else {%>
<span class="badge badge-success unloaded badge-foxx">
<div class="cornered">
inactive
</div>
</span>
<%}%>
</div>
</small>