-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit.html
26 lines (25 loc) · 824 Bytes
/
edit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "base.html" %}
{% block content %}
<h2>Edit CSS</h2>
<form id="edit-css-form" name="input" action="/savepage/{{page.id}}" method="POST">
{% csrf_token %}
<div id="edit-tabs">
<ul>
{% for stylesheet in stylesheets %}
<li><a href="#tabs-{{stylesheet.id}}">{{stylesheet.name}}</a></li>
{% endfor %}
</ul>
{% for stylesheet in stylesheets %}
<div id="tabs-{{stylesheet.id}}">
<textarea name="cssasset_{{stylesheet.uuid}}">{{stylesheet.raw}}</textarea>
</div>
{% endfor %}
<div id="tabs-attributes">
{% for styleattribute in styleattributes %}
<textarea name="cssasset_{{styleattribute.uuid}}">{{styleattribute.raw}}</textarea>
{% endfor %}
</div>
</div>
<input name="submit" value="Save" type="submit"></input>
</form>
{% endblock %}