Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3fe6ba59
Commit
3fe6ba59
authored
Dec 06, 2017
by
Jeremy Bowman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PLAT-1372 Remove dead templates copying old admin HTML
parent
63d7f87f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
186 deletions
+0
-186
lms/templates/admin/api_admin/catalog/change_form.html
+0
-50
lms/templates/admin/api_admin/catalog/change_list.html
+0
-27
lms/templates/api_admin/catalog_changeform.html
+0
-49
lms/templates/api_admin/catalog_changelist.html
+0
-60
No files found.
lms/templates/admin/api_admin/catalog/change_form.html
deleted
100644 → 0
View file @
63d7f87f
{% extends "admin/base_site.html" %}
{% load admin_modify adminmedia %}
{% block extrahead %}
{{ block.super }}
{{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% admin_media_prefix %}css/forms.css"
/>
{% endblock %}
{% block coltype %}colMS{% endblock %}
{% block bodyclass %} change-form{% endblock %}
{% block breadcrumbs %}
<div
class=
"breadcrumbs"
>
<a
href=
"../../../"
>
Home
</a>
›
<a
href=
"../../"
>
Api_Admin
</a>
›
<a
href=
"../"
>
Catalogs
</a>
›
{% if change %}
{{form.name}}
{% else %}
Add Catalog
{% endif %}
</div>
{% endblock %}
{% block content %}
<div
id=
"content-main"
>
{% block object-tools %}
{% endblock %}
<form
action=
"."
method=
"post"
enctype=
"multipart/form-data"
>
<fieldset
class=
"module aligned {{ fieldset.classes }}"
>
{% for field in form.visible_fields %}
<div
class=
"form-row"
>
{{ field.errors }}
{{ field.label_tag }}{{ field }}
{% if field.field.help_text %}
<p
class=
"help"
>
{{ field.field.help_text|safe }}
</p>
{% endif %}
</div>
{% endfor %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
</fieldset>
<input
type=
"submit"
value=
"Save"
/>
</form>
</div>
{% endblock %}
lms/templates/admin/api_admin/catalog/change_list.html
deleted
100644 → 0
View file @
63d7f87f
{% extends "admin/base_site.html" %}
{% block extrahead %}
{{ block.super }}
{% endblock %}
{% block innercontent %}
<ul
class=
"object-tools"
>
<li>
<a
class=
"addlink"
href=
"add/"
>
Add Catalog
</a>
</li>
</ul>
<table
cellspacing=
"0"
style=
"margin-top: 20px;"
>
<thead>
<tr>
<th></th>
<th>
Name
</th>
</tr>
</thead>
{% for catalog in catalogs %}
<tr
class=
"{% cycle 'row1' 'row2' %}"
>
<td>
</td>
<td>
<a
href=
"{{catalog.id}}"
>
{{catalog.name}}
</a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
lms/templates/api_admin/catalog_changeform.html
deleted
100644 → 0
View file @
63d7f87f
{% extends "admin/base_site.html" %}
{% load admin_modify staticfiles %}
{% block extrahead %}
{{ block.super }}
{{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'css/forms.css' %}"
/>
{% endblock %}
{% block coltype %}colMS{% endblock %}
{% block bodyclass %} change-form{% endblock %}
{% block breadcrumbs %}
<div
class=
"breadcrumbs"
>
<a
href=
"../../../"
>
Home
</a>
›
<a
href=
"../../"
>
Api_Admin
</a>
›
<a
href=
"../"
>
Catalogs
</a>
›
{% if change %}
{{form.name}}
{% else %}
Add Catalog
{% endif %}
</div>
{% endblock %}
{% block content %}
<div
id=
"content-main"
>
{% block object-tools %}
{% endblock %}
<form
action=
"."
method=
"post"
enctype=
"multipart/form-data"
>
{% csrf_token %}
<fieldset
class=
"module aligned {{ fieldset.classes }}"
>
{% for field in form.visible_fields %}
<div
class=
"form-row"
>
{{ field.errors }}
{{ field.label_tag }}{{ field }}
{% if field.field.help_text %}
<p
class=
"help"
>
{{ field.field.help_text|safe }}
</p>
{% endif %}
</div>
{% endfor %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
</fieldset>
<input
type=
"submit"
value=
"Save"
/>
</form>
</div>
{% endblock %}
lms/templates/api_admin/catalog_changelist.html
deleted
100644 → 0
View file @
63d7f87f
{% extends "admin/base_site.html" %}
{% load i18n admin_urls static admin_list %}
{% block extrastyle %}
{{ block.super }}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
admin
/
css
/
changelists
.
css
"
%}"
/>
{% if cl.formset %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
admin
/
css
/
forms
.
css
"
%}"
/>
{% endif %}
{% if cl.formset or action_form %}
<script
type=
"text/javascript"
src=
"{% url 'admin:jsi18n' %}"
></script>
{% endif %}
{{ media.css }}
{% if not actions_on_top and not actions_on_bottom %}
<style>
#changelist
table
thead
th
:first-child
{
width
:
inherit
}
</style>
{% endif %}
{% endblock %}
{% block extrahead %}
{{ block.super }}
{{ media.js }}
{% endblock %}
{% block breadcrumbs %}
<div
class=
"breadcrumbs"
>
<a
href=
"../../../"
>
Home
</a>
›
<a
href=
"../../"
>
Api_Admin
</a>
›
Catalogs
</div>
{% endblock %}
{% block coltype %}flex{% endblock %}
{% block content %}
{% block innercontent %}
<ul
class=
"object-tools"
>
<li>
<a
class=
"addlink"
href=
"add/"
>
Add Catalog
</a>
</li>
</ul>
<table
cellspacing=
"0"
style=
"margin-top: 20px;"
>
<thead>
<tr>
<th></th>
<th>
Name
</th>
</tr>
</thead>
{% for catalog in catalogs %}
<tr
class=
"{% cycle 'row1' 'row2' %}"
>
<td>
</td>
<td>
<a
href=
"{{catalog.id}}"
>
{{catalog.name}}
</a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment