Permalink
Browse files

#45 - Fixed device info slider formatting

  • Loading branch information...
lfkeitel committed Mar 29, 2018
1 parent cff340e commit b2644d7d03fcf8354db95f9d0df378517ba2e51e
Showing with 8 additions and 4 deletions.
  1. +2 −2 public/assets/js/device-list.js
  2. +5 −1 public/assets/styles/device-list.css
  3. +1 −1 templates/partials/device-list.tmpl
@@ -26,8 +26,8 @@ $.onReady(function() {
// Close all
$(".device-body").style("max-height", "0px");
}
if (mh !== "300px") {
thebody.style("max-height", "300px");
if (mh !== "1000px") {
thebody.style("max-height", "1000px");
} else {
thebody.style("max-height", "0px");
}
@@ -45,8 +45,12 @@
text-align: center;
}
.device-info-check {
flex-basis: 30px;
}
.device-info {
padding: 1em 0;
padding: 1.1em;
min-width: 25%;
display: inline-block;
}
@@ -7,7 +7,7 @@
<a name="{{.ID}}"></a>
<div class="device-header {{if .IsBlacklisted}}blacklisted{{else}}good-standing{{end}}" data-device-id="{{.ID}}">
{{if or $.main.canDeleteDevice $.main.canEditDevice $.main.canReassignDevice $.main.canManageBlacklist}}
<div class="device-check-select">
<div class="device-check-select device-info-check">
<input type="checkbox" value="{{.MAC}}" class="device-checkbox">
</div>
{{end}}

0 comments on commit b2644d7

Please sign in to comment.