Added partial support for new sketches.

New Sketches can't be saved yet.
This commit is contained in:
Anand Chitipothu
2021-03-09 12:53:11 +00:00
parent deea539c7d
commit 936a3fcfff
3 changed files with 15 additions and 0 deletions

View File

@@ -33,6 +33,12 @@
<div class="sketch-owner-wrapper">By <span class="sketch-owner">{{sketch.owner}}</span></div>
</div>
{% if not sketch.name %}
<div class="alert alert-warning">
Saving sketches is not yet implemented. Coming soon!
</div>
{% endif %}
{{LiveCodeEditor(sketch.name, sketch.code) }}
</section>
{% endblock %}