{% extends "master.html" %}

{% block bodyparams %}
  class="plus-secondary"
{% endblock %}


{% block title %}My Space{% endblock %}
    
{% block dojoHead %}
{% if isDebug %}
{% endif %}
  <script type="text/javascript">
    var djConfig = {
        isDebug: true,
        debugContainerId: "dojoDebug"
    };  
  </script>
  <script type="text/javascript" src="/dojo-0.4.1-kitchen_sink/dojo.js"></script
>   
  <script type="text/javascript">
        
    dojo.require('dojo.widget.*');
    dojo.require('dojo.widget.Editor2');
    
  </script>
{% endblock %}


{% block content %}
    <h2>My Space</h2>
    <div style="position: relative;">
      <div style="border: 1px solid black;">
        <div dojoType="Editor2" 
             focusOnLoad="true"
             htmlEditing="true"
             widgetId="editor"
             toolbarAlwaysVisible="true"
             style="height: 300px">
             Look ma! Editable Content!!
        </div>
    </div>

{% endblock %}

{% block primarysidebar %}
<div class="box">
  <h2>Using ScanBooker</h2>
  <ul>
    <li><a href="">Documentation</a></li>
  </ul>
</div>

<div class="box">
  <h2>Debug Log:</h2>
  <div id="dojoDebug"></div>
</div>

{% endblock %}

{% block secondarysidebar %}
<div class="box">
  <h2>Site summary</h2>
  <p>
{{ systemServiceName }} supports the work of administering a scanning facility.
  </p>
  <p>
There are {{ view.registry.scanningSessions.count }} scanning sessions for {{ view.registry.studies.count }} registered studies.
  </p>
</div>
<div class="box">
  <h2>Quick links</h2>
  <ul>
    <li><a href="/schedule/">Schedule</a></li>
  </ul>
</div>
{% endblock %}

