summaryrefslogtreecommitdiff
path: root/web/templates
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-26 20:32:10 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-26 20:32:10 +0530
commit31e9605652faf350291634f5a2d642573f320e66 (patch)
tree3041b2bcf3dbadf3849296a6d7cc50d6e5c7e288 /web/templates
parent6581728a1291850b9fa6c5f3aaf072512d50f165 (diff)
deleted useless files to render the invoice. it will be handled by react.
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/partials/item.html3
-rw-r--r--web/templates/partials/item_list.html7
-rw-r--r--web/templates/views/invoice.html15
3 files changed, 0 insertions, 25 deletions
diff --git a/web/templates/partials/item.html b/web/templates/partials/item.html
deleted file mode 100644
index 04eabba..0000000
--- a/web/templates/partials/item.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{ define "partials/item.html" }}
-<div>{{ .Name }}</div>
-{{ end }}
diff --git a/web/templates/partials/item_list.html b/web/templates/partials/item_list.html
deleted file mode 100644
index 6fdd1f9..0000000
--- a/web/templates/partials/item_list.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ define "partials/item_list.html" }}
-<div class="items">
- {{ range . }}
- {{ template "partials/item.html" .}}
- {{ end }}
-</div>
-{{ end }}
diff --git a/web/templates/views/invoice.html b/web/templates/views/invoice.html
deleted file mode 100644
index c8a3c70..0000000
--- a/web/templates/views/invoice.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!doctype html>
-<html class="no-js" lang="">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <title>OpenBills Testing</title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
- </head>
- <body>
- {{ template "partials/item_list.html" .Invoice.Items }}
- </body>
-</html>