Cosmetic fix. Adjusts margins on character management page to be consistent with index.
This commit is contained in:
parent
38e8b54b5a
commit
428b3730af
1 changed files with 18 additions and 20 deletions
|
|
@ -7,28 +7,26 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% load addclass %}
|
{% load addclass %}
|
||||||
<div class="container main-content mt-4" id="main-copy">
|
<div class="row">
|
||||||
<div class="row">
|
<div class="col">
|
||||||
<div class="col">
|
<div class="card">
|
||||||
<div class="card mt-3">
|
<div class="card-body">
|
||||||
<div class="card-body">
|
<h1 class="card-title">{{ view.page_title }}</h1>
|
||||||
<h1 class="card-title">{{ view.page_title }}</h1>
|
<hr />
|
||||||
<hr />
|
|
||||||
|
|
||||||
{% for object in object_list %}
|
{% for object in object_list %}
|
||||||
<div class="media mb-4">
|
<div class="media mb-4">
|
||||||
<a href="{{ object.web_get_detail_url }}"><img class="d-flex mr-3" src="http://placehold.jp/50x50.png" alt="" /></a>
|
<a href="{{ object.web_get_detail_url }}"><img class="d-flex mr-3" src="http://placehold.jp/50x50.png" alt="" /></a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="float-right ml-2">{{ object.db_date_created }}
|
<p class="float-right ml-2">{{ object.db_date_created }}
|
||||||
<br /><a href="{{ object.web_get_delete_url }}">Delete</a>
|
<br /><a href="{{ object.web_get_delete_url }}">Delete</a>
|
||||||
<br /><a href="{{ object.web_get_update_url }}">Edit</a></p>
|
<br /><a href="{{ object.web_get_update_url }}">Edit</a></p>
|
||||||
<h5 class="mt-0"><a href="{{ object.web_get_detail_url }}">{{ object }}</a> {% if object.subtitle %}<small class="text-muted" style="white-space:nowrap;">{{ object.subtitle }}</small>{% endif %}</h5>
|
<h5 class="mt-0"><a href="{{ object.web_get_detail_url }}">{{ object }}</a> {% if object.subtitle %}<small class="text-muted" style="white-space:nowrap;">{{ object.subtitle }}</small>{% endif %}</h5>
|
||||||
<p>{{ object.db.desc }}</p>
|
<p>{{ object.db.desc }}</p>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue