From 263db44248cf742dc7d2d9d0fc77d52ccce16e89 Mon Sep 17 00:00:00 2001 From: anchalm03 Date: Mon, 26 Jun 2023 22:23:05 +0530 Subject: [PATCH] Batch Calculations Frontend : Version 1.0 --- frontend/templates/frontend/base.html | 2 + frontend/templates/frontend/batch_calc.html | 13 + .../templates/frontend/batch_form_body.html | 245 ++++++++++++++++++ .../templates/frontend/batch_form_head.html | 238 +++++++++++++++++ 4 files changed, 498 insertions(+) create mode 100644 frontend/templates/frontend/batch_calc.html create mode 100644 frontend/templates/frontend/batch_form_body.html create mode 100644 frontend/templates/frontend/batch_form_head.html diff --git a/frontend/templates/frontend/base.html b/frontend/templates/frontend/base.html index 245a764d..a7e712ed 100755 --- a/frontend/templates/frontend/base.html +++ b/frontend/templates/frontend/base.html @@ -182,6 +182,8 @@ Projects Launch + Batch Calculation + Calculations {% if request.user.unseen_calculations > 0 %} {{ request.user.unseen_calculations }} diff --git a/frontend/templates/frontend/batch_calc.html b/frontend/templates/frontend/batch_calc.html new file mode 100644 index 00000000..6840b53a --- /dev/null +++ b/frontend/templates/frontend/batch_calc.html @@ -0,0 +1,13 @@ +{% extends 'frontend/base.html' %} {% load i18n %} {% load static %} {% block extrahead %} +CalcUS - Batch Calculation + + + + + + +{% include 'frontend/batch_form_head.html' %} {% endblock %} {% block content %} {% csrf_token %} + +{% include 'frontend/calc_form_body.html' %} + +{% endblock content %} \ No newline at end of file diff --git a/frontend/templates/frontend/batch_form_body.html b/frontend/templates/frontend/batch_form_body.html new file mode 100644 index 00000000..67ed1228 --- /dev/null +++ b/frontend/templates/frontend/batch_form_body.html @@ -0,0 +1,245 @@ +
+
+ +
+ +
+ +
+
+ +
+
+ + + + + + + +
Input filesChargeMultiplicity
+ + + +
+
+ +
+ + + + + + + + + + + + + + diff --git a/frontend/templates/frontend/batch_form_head.html b/frontend/templates/frontend/batch_form_head.html new file mode 100644 index 00000000..851882d7 --- /dev/null +++ b/frontend/templates/frontend/batch_form_head.html @@ -0,0 +1,238 @@ +{% load static %} + \ No newline at end of file