This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch airavata-3453
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/airavata-3453 by this push:
     new 2f579cb  AIRAVATA-3453 Convenience base template for working with 
custom application templates
2f579cb is described below

commit 2f579cbbb6f28af673860ddf199595b5905b4ad2
Author: Marcus Christie <[email protected]>
AuthorDate: Fri May 21 16:30:07 2021 -0400

    AIRAVATA-3453 Convenience base template for working with custom application 
templates
---
 .../django_airavata_workspace/wc-base.html         | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git 
a/django_airavata/apps/workspace/templates/django_airavata_workspace/wc-base.html
 
b/django_airavata/apps/workspace/templates/django_airavata_workspace/wc-base.html
new file mode 100644
index 0000000..3111030
--- /dev/null
+++ 
b/django_airavata/apps/workspace/templates/django_airavata_workspace/wc-base.html
@@ -0,0 +1,27 @@
+{% extends 'base.html' %}
+
+{% load static %}
+
+{% block css %}
+  {% block custom-css %}
+  {% endblock %}
+{% endblock css %}
+
+{% block content %}
+<div class="main-content-wrapper">
+    <main class="main-content">
+        <div class="container-fluid">
+          {% block custom-content %}
+
+          {% endblock custom-content %}
+        </div>
+    </main>
+</div>
+{% endblock content %}
+
+{% block scripts %}
+<script src="{% static 'django_airavata_workspace/wc/adpf.chunk-vendors.js' 
%}"></script>
+<script src="{% static 'django_airavata_workspace/wc/adpf.min.js' %}"></script>
+  {% block custom-scripts %}
+  {% endblock custom-scripts %}
+{% endblock scripts %}

Reply via email to