mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Clean up object header
This commit is contained in:
parent
6ad20c53d9
commit
46e144f647
@ -362,6 +362,9 @@ table.report th a {
|
|||||||
border-radius: .25em;
|
border-radius: .25em;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
h1.title {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
.text-nowrap {
|
.text-nowrap {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h1>{{ report.name }}</h1>
|
<h1 class="title">{{ report.name }}</h1>
|
||||||
{% if report.description %}
|
{% if report.description %}
|
||||||
<p class="lead">{{ report.description }}</p>
|
<p class="lead">{{ report.description }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1>{{ script }}</h1>
|
<h1 class="title">{{ script }}</h1>
|
||||||
<p>{{ script.Meta.description|render_markdown }}</p>
|
<p>{{ script.Meta.description|render_markdown }}</p>
|
||||||
<ul class="nav nav-tabs" role="tablist">
|
<ul class="nav nav-tabs" role="tablist">
|
||||||
<li role="presentation" class="active">
|
<li role="presentation" class="active">
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1>{{ script }}</h1>
|
<h1 class="title">{{ script }}</h1>
|
||||||
<p>{{ script.Meta.description|render_markdown }}</p>
|
<p>{{ script.Meta.description|render_markdown }}</p>
|
||||||
<ul class="nav nav-tabs" role="tablist">
|
<ul class="nav nav-tabs" role="tablist">
|
||||||
<li role="presentation" class="active">
|
<li role="presentation" class="active">
|
||||||
|
@ -39,8 +39,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<h1>{% block title %}{{ object }}{% endblock %}</h1>
|
<h1 class="title">{% block title %}{{ object }}{% endblock %}</h1>
|
||||||
{% include 'inc/created_updated.html' %}
|
<p>
|
||||||
|
<small class="text-muted">
|
||||||
|
Created {{ object.created }} ·
|
||||||
|
Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
<div class="pull-right noprint">
|
<div class="pull-right noprint">
|
||||||
{% block tab_buttons %}
|
{% block tab_buttons %}
|
||||||
{% custom_links object %}
|
{% custom_links object %}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<p>
|
|
||||||
<small class="text-muted">Created {{ object.created }} · Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago</small>
|
|
||||||
</p>
|
|
@ -18,7 +18,9 @@
|
|||||||
<span class="label label-danger">Inactive</span>
|
<span class="label label-danger">Inactive</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h4>
|
</h4>
|
||||||
{% include 'inc/created_updated.html' %}
|
<p>
|
||||||
|
<small class="text-muted">Created {{ object.created }} · Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago</small>
|
||||||
|
</p>
|
||||||
{% if not object.is_active %}
|
{% if not object.is_active %}
|
||||||
<div class="alert alert-warning" role="alert">
|
<div class="alert alert-warning" role="alert">
|
||||||
<i class="mdi mdi-alert"></i>
|
<i class="mdi mdi-alert"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user