mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-11 06:10:54 +00:00
Refactoring for "stock" pages
This commit is contained in:
@@ -71,15 +71,16 @@
|
||||
|
||||
<div class='inventree-body'>
|
||||
|
||||
{% block breadcrumb_list %}
|
||||
<div class='container-fluid'>
|
||||
<nav aria-label='breadcrumb'>
|
||||
<ol class='breadcrumb'>
|
||||
{% block breadcrumbs %}
|
||||
<li class='breadcrumb-item active'>Breadcrumbs Go Here!</li>
|
||||
{% endblock %}
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
<div class='containter-fluid inventree-pre-content'>
|
||||
{% block pre_content %}
|
||||
|
36
InvenTree/templates/page_base.html
Normal file
36
InvenTree/templates/page_base.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class='panel panel-default panel-inventree'>
|
||||
<div class='panel-heading'>
|
||||
{% block heading %}
|
||||
block heading
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class='panel-content'>
|
||||
{% block details %}
|
||||
<div class='row'>
|
||||
<div class='col-sm-6' id='detail-panel-left'>
|
||||
{% block details_left %}
|
||||
block details_left
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class='col-sm-6' id='detail-panel-right'>
|
||||
{% block details_right %}
|
||||
block details_right
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% block page_content %}
|
||||
block page_content
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user