{% extends "templates/home.html" %} {% block stylesheet %} {# static files from binder #} {{ super() }} {% endblock stylesheet %} {% block scripts %} {# #} {% endblock scripts %} {% block main %}
{% block binder_header %} {% endblock binder_header %} {% block projects_form %}
{# copied from https://github.com/jupyterhub/binderhub/blob/207ae704752cde82f33fc771a3b58aa1ecc04b6d/binderhub/templates/index.html#L34 #} {% block binder_form %}

Build and launch a new repository

{% block projects %} {% set projects = user.spawner.get_state_field('projects') %}

Your Projects

{% for project in projects %} {% set project_running = loop.index == loop.length and user.running %} {% set project_active = loop.index == loop.length and user.spawner.active %} {% set project_not_active = user.spawner._stop_pending or (user.spawner.active and loop.index != loop.length) %} {% endfor %}
Repository Commit Last used Actions
{{ project[3] }} {{ project[2][:7] }} {% if project_running %}running{% else %}{{ project[4] }}{% endif %} {% if project_running %} {# last element in projects is currently running, add Stop button for it #} Stop {% endif %} {# add launch button for each element, if user has no server running #} {# if last element is running, hide launch buttons of all other elements #} {% if project_active %}My Server{% else %}Launch{% endif %} Delete
You have no projects.
{# Modal for project deletion dialog #} {% endblock projects %}

              Copy to clipboard
            
{% endblock binder_form %}
{% endblock projects_form %} {% block how_it_works %}

How it works

1
Build repositories like MyBinder.org
Enter your repository information in the Binder form. We build and launch your binder-ready repository so that you can interact with it just like on any other Binder deployment. Once a repository has been launched it will be added to the list of your projects.
2
Persist /projects like a Jovyan
You are not just a visitor, but a true resident on Jupyter. Your projects have a persistent $HOME directory whose contents are mirrored at /projects. Use the buttons in the table to launch, stop or delete an existing project. The data science image can be your place to begin. To update a project-image use the Binder form and for files use git. You can launch one project at a time and have up to 5 projects in total.
{% endblock how_it_works %} {# {% block binder_questions %}#} {#
#} {#
questions?
read#} {# this post,#} {# join the discussion and see the code#} {#
#} {#
#} {##} {#
#} {#
#} {# {% endblock binder_questions %}#}
{% endblock main %} {% block script %} {% endblock %}