1#!/usr/bin/env python3
 2
 3"""CHART system 'job creator' web page.
 4Show a summary of the current scheduler configuration."""
 5
 6from django.shortcuts import render
 7
 8from chart.backend.jobcreator import JobCreator
 9
10
11def index(request):
12    """Compile a table of all Activities, showing a trigger action,
13    brief description and outputs of each one.
14    """
15
16    return render(request,
17                  'backend/jobcreator.html',
18                  {'time_based': list(JobCreator.all_time_based()),
19                   'file_based': list(JobCreator.all_file_based()),
20                   'jobcreator': JobCreator})