{% extends "pagetemplate.j2.html" %} {% set time = imp0rt( 'time' ) %} {% set webapi = imp0rt( 'kaithem.api.web' ) %} {% block body %}

Module {{ name| escape }}

Module: {{ name| escape }}
{{ getModuleHash(name) }}
{{ getModuleWordHash(name) }}

Download this module as a zip file

Name:

Info:

Save Location(blank=default):


{% if pages.canUserDoThis("system_admin") %} {% else %}

You must have the "system_admin" permission to make changes. Are you logged in?

{% endif %}
Quick Actions
{% for i in webapi._module_plugin_links %} {{ i[0] }} {% endfor %}
Upload

Location:

{{ name| escape }} {% if path %} {% for i in breadcrumbs('/'.join(path)) %} {{ i[0]| escape }} {% endfor %} {% endif %}

Folders

{% if path and len(path[0].split("/"))>1 %}
..
{% endif %} {% for i in sorted_module_path_list(name, path) %} {% if module[i]['resource_type'] == 'directory' %}
{% endif %} {% endfor %}

Files

{% for i in sorted_module_file_list(name, path) %}

{{ i[0] | escape }}

{% for j in webapi._file_resource_links %} {% if j(name, i[1]) %} {{ j(name, i[1])[0] }} {% endif %} {% endfor %}

Download

{% if i[1].split(".")[-1] in ('mp3', 'opus','wav', 'm4a','flac') %} {% endif %}
{% endfor %}

Resources

{% for i in sorted_module_path_list(name, path) %} {% if not 'resource_type' in module[i] %} OBJECT {{ i| escape }} MISSING resource_type <% continue %> {% endif %} {% if module[i]['resource_type'] == 'permission' %}
{% endif %} {% if module[i]['resource_type'] in modules_state.additionalTypes %} {% if modules.additionalTypes[module[i]['resource_type']].mdi_icon %}

{% if module[i]['resource_lock'] in modules_state.additionalTypes %} LOCKED {% endif %} {{ i.split("/")[-1] | escape }} ({{module[i]['resource_type']}})

{% if module[i].get('resource_label_image') %} thumbnail {% endif %} {{modules.additionalTypes[module[i]['resource_type']]._blurb(name,i,module[i] )}}
{% endif %} {% endif %} {% if module[i]['resource_type'] == 'device' %}
{% if module[i].get('resource_label_image') %} thumbnail {% endif %}
{% endif %} {% endfor %}
{% endblock %}