mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Plugin overview
This commit is contained in:
		@@ -122,6 +122,12 @@
 | 
			
		||||
        <strong>{% trans "Plugin Settings" %}</strong>
 | 
			
		||||
    </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 %}
 | 
			
		||||
    {% for plugin_key, plugin in pl_list.items %}
 | 
			
		||||
        {% 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/po.html" %}
 | 
			
		||||
{% include "InvenTree/settings/so.html" %}
 | 
			
		||||
{% include "InvenTree/settings/plugin.html" %}
 | 
			
		||||
 | 
			
		||||
{% plugin_list as pl_list %}
 | 
			
		||||
{% for plugin_key, plugin in pl_list.items %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user