Commit f665b9f0 by Bence Dányi

firewall_gui: pretty host display

parent 6bb7fc58
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
</td> </td>
<td>{{host.ipv4}}</td> <td>{{host.ipv4}}</td>
<td> <td>
<ul> <div class="well well-small">
<li ng-repeat="group in host.groups"> <span class="label label-info" ng-repeat="group in host.groups">
<a href="#/hostgroups/{{group.id}}">{{group.name}}</a> <a href="#/hostgroups/{{group.id}}">{{group.name}}</a>
</li> </span>
</ul> </div>
</td> </td>
<td>{{host.owner.name}}</td> <td>{{host.owner.name}}</td>
<td style="width: 200px;">{{host.description}}</td> <td style="width: 200px;">{{host.description}}</td>
......
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
padding: 5px; padding: 5px;
} }
.label a { .label a {
color: black; color: white;
font-weight: normal;
} }
</style> </style>
<link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment