Closes #5154: Utilize all horizontal space for web UI

This commit is contained in:
Jeremy Stretch 2020-11-10 13:55:53 -05:00
parent 7a61354d8c
commit d03c14d49c
4 changed files with 4 additions and 7 deletions

View File

@ -52,6 +52,7 @@ All end-to-end cable paths are now cached using the new CablePath model. This al
* [#4967](https://github.com/netbox-community/netbox/issues/4967) - Adds tenancy to Aggregate model * [#4967](https://github.com/netbox-community/netbox/issues/4967) - Adds tenancy to Aggregate model
* [#5003](https://github.com/netbox-community/netbox/issues/5003) - CSV import now accepts slug values for choice fields * [#5003](https://github.com/netbox-community/netbox/issues/5003) - CSV import now accepts slug values for choice fields
* [#5146](https://github.com/netbox-community/netbox/issues/5146) - Add custom fields support for cables, power panels, rack reservations, and virtual chassis * [#5146](https://github.com/netbox-community/netbox/issues/5146) - Add custom fields support for cables, power panels, rack reservations, and virtual chassis
* [#5154](https://github.com/netbox-community/netbox/issues/5154) - Utilize all horizontal space for web UI
* [#5190](https://github.com/netbox-community/netbox/issues/5190) - Add a REST API endpoint for content types * [#5190](https://github.com/netbox-community/netbox/issues/5190) - Add a REST API endpoint for content types
### Other Changes ### Other Changes

View File

@ -11,10 +11,6 @@ html, body {
body { body {
padding-top: 70px; padding-top: 70px;
} }
.container {
width: auto;
max-width: 1600px;
}
.wrapper { .wrapper {
min-height: 100%; min-height: 100%;
height: auto !important; height: auto !important;

View File

@ -31,7 +31,7 @@
</head> </head>
<body> <body>
{% include 'inc/nav_menu.html' %} {% include 'inc/nav_menu.html' %}
<div class="container wrapper"> <div class="container-fluid wrapper">
{% if settings.BANNER_TOP %} {% if settings.BANNER_TOP %}
<div class="alert alert-info text-center" role="alert"> <div class="alert alert-info text-center" role="alert">
{{ settings.BANNER_TOP|safe }} {{ settings.BANNER_TOP|safe }}
@ -61,7 +61,7 @@
{% endif %} {% endif %}
</div> </div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-xs-4"> <div class="col-xs-4">
<p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p> <p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p>

View File

@ -1,7 +1,7 @@
{% load static %} {% load static %}
{% load helpers %} {% load helpers %}
<nav class="navbar navbar-default navbar-fixed-top"> <nav class="navbar navbar-default navbar-fixed-top">
<div class="container"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>