mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Plugin overview
This commit is contained in:
parent
771c453c40
commit
733303fb66
@ -122,6 +122,12 @@
|
|||||||
<strong>{% trans "Plugin Settings" %}</strong>
|
<strong>{% trans "Plugin Settings" %}</strong>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class='list-group-item' title='{% trans "Plugin" %}'>
|
||||||
|
<a href='#' class='nav-toggle' id='select-plugin'>
|
||||||
|
<span class='fas fa-plug'></span> {% trans "Plugin" %}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
{% plugin_list as pl_list %}
|
{% plugin_list as pl_list %}
|
||||||
{% for plugin_key, plugin in pl_list.items %}
|
{% for plugin_key, plugin in pl_list.items %}
|
||||||
{% if plugin.has_settings %}
|
{% if plugin.has_settings %}
|
||||||
|
34
InvenTree/templates/InvenTree/settings/plugin.html
Normal file
34
InvenTree/templates/InvenTree/settings/plugin.html
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{% extends "panel.html" %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load inventree_extras %}
|
||||||
|
{% load plugin_extras %}
|
||||||
|
|
||||||
|
{% block label %}plugin{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block heading %}
|
||||||
|
{% trans "Plugin Settings" %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<h4>{% trans "Plugin list" %}</h4>
|
||||||
|
|
||||||
|
<table class='table table-striped table-condensed'>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>{% trans "Name" %}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
{% plugin_list as pl_list %}
|
||||||
|
{% for plugin_key, plugin in pl_list.items %}
|
||||||
|
<tr>
|
||||||
|
<td>{{plugin_key}} - {{ plugin.plugin_name}}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{% endblock %}
|
@ -34,6 +34,7 @@
|
|||||||
{% include "InvenTree/settings/build.html" %}
|
{% include "InvenTree/settings/build.html" %}
|
||||||
{% include "InvenTree/settings/po.html" %}
|
{% include "InvenTree/settings/po.html" %}
|
||||||
{% include "InvenTree/settings/so.html" %}
|
{% include "InvenTree/settings/so.html" %}
|
||||||
|
{% include "InvenTree/settings/plugin.html" %}
|
||||||
|
|
||||||
{% plugin_list as pl_list %}
|
{% plugin_list as pl_list %}
|
||||||
{% for plugin_key, plugin in pl_list.items %}
|
{% for plugin_key, plugin in pl_list.items %}
|
||||||
|
Loading…
Reference in New Issue
Block a user