Added sketch pages.

This commit is contained in:
Anand Chitipothu
2021-03-09 12:36:55 +00:00
parent ff15e7058b
commit deea539c7d
6 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{% extends "templates/base.html" %}
{% from "www/macros/livecode.html" import LiveCodeEditor, LiveCodeEditorJS %}
{% block title %}Sketches{% endblock %}
{% block head_include %}
<meta name="description" content="Sketches" />
<meta name="keywords" content="sketches" />
<link rel="stylesheet" href="/assets/css/lms.css">
{% endblock %}
{% block content %}
<section class="top-section" style="padding: 1rem 0rem;">
<div class='container pb-5'>
<h1>Recent Sketches</h1>
</div>
<div class='container'>
{% for sketch in sketches %}
<div class="sketch-preview mb-5">
<span class="sketch-ts">{{ sketch.modified }}</span>
<a href="/sketches/sketch?sketch={{sketch.name}}">{{sketch.title}}</a>
By {{sketch.owner}}
</div>
{% endfor %}
</div>
</section>
{% endblock %}