{% extends "admin_layout.html" %} {% import "_page.html" as page_ui %} {% block title %}Spark - Import a user bundle{% endblock %} {% block page %}
{% set bundle_help %}Bring a user's data from a personal Spark: the bundle they exported (format version {{ format_version }}, up to {{ limit_mb }} MB). Scheduled actions are imported disabled, and anything this server cannot run is left out and listed. A bundle is imported once for each user.{% endset %} {{ page_ui.header("Import a user bundle", bundle_help) }} {% include "_page_messages.html" %} {% if report %}
Imported for {{ target.email }} (bundle {{ report.bundle_id[:8] }})
Imported
{% for table, count in report.imported|dictsort %} {% endfor %} {% for table, count in report.merged|dictsort %} {% endfor %}
WhatRows
{{ table|replace("_", " ") }}{{ count }}
{{ table|replace("_", " ") }} merged with the user's own{{ count }}
{% if report.actions_disabled %}
Scheduled actions, imported disabled
    {% for name in report.actions_disabled %}
  • {{ name }}
  • {% endfor %}
{% endif %} {% if report.skills_placed %}
Skills kept in the user's file area (not installed: a server's skills are shared)
    {% for name in report.skills_placed %}
  • {{ name }}
  • {% endfor %}
{% endif %} {% if report.dropped %}
Left out: this server cannot run them
    {% for item in report.dropped %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% if report.skipped %}
Skipped
    {% for item in report.skipped %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% if report.warnings %}
Warnings
    {% for item in report.warnings %}
  • {{ item }}
  • {% endfor %}
{% endif %}

The user finds this report in their files as imports/{{ report.bundle_id }}/report.json.

{% endif %}
{% endblock %}