aboutsummaryrefslogtreecommitdiff
path: root/templates/inventory/digital_inventory.html
blob: da015a08a0611eae5e1d4d53988594b611680fc0 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<!-- 
This file is part of the Taler Codeless Merchant.
(C) 2018 GNUnet e.V.

The Taler Codeless Merchant is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

The Taler Codeless Merchant is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License
for more details.

You should have received a copy of the GNU Affero General Public License along
with the Taler Codeless Merchant.  If not, see <https://www.gnu.org/licenses/>.

@author Shivam Kohli
 -->
<html>
<head>
    <title>Home</title>
    <style type="text/css">
        *,
        *::before,
        *::after {
          box-sizing: border-box;
        }
        html {
          background-color: #f0f0f0;
        }
        body {
          color: #999999;
          font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
          font-style: normal;
          font-weight: 400;
          letter-spacing: 0;
          padding: 1rem;
          text-rendering: optimizeLegibility;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          -moz-font-feature-settings: "liga" on;
        }
        .sidenav {
          height: 100%;
          width: 160px;
          position: fixed;
          z-index: 1;
          top: 0;
          left: 0;
          background-color: #111;
          overflow-x: hidden;
          padding-top: 20px;
        }

        .sidenav a {
          padding: 6px 8px 6px 16px;
          text-decoration: none;
          font-size: 25px;
          color: #818181;
          display: block;
        }

        .sidenav a:hover {
          color: #f1f1f1;
        }
        .main {
          margin-left: 160px;
          font-size: 28px;
          padding: 0px 10px;
        }
        @media screen and (max-height: 450px) {
          .sidenav {padding-top: 15px;}
          .sidenav a {font-size: 18px;}
        }
        #contact {width:100%; height:100%; margin 0 auto; background: #DDD; }

        .container {width:960px; height:auto; margin: 0 auto; padding: 50px 0;}

        #contact .container form input,
        #contact .container form textarea {
          width:97.4%;
          height:30px;
          padding:5px 10px;
          font-size: 12px;
          color:#999;
          letter-spacing:1px;
          background: #FFF;
          border:2px solid #FFF;
          margin-bottom:25px;
          -webkit-transition:all .1s ease-in-out;
          -moz-transition:all .1s ease-in-out;
          -ms-transition:all .1s ease-in-out;
          -o-transition:all .1s ease-in-out;
          transition:all .1s ease-in-out;}

        #contact .container form input:focus,
        #contact .container form textarea:focus {
          border:2px solid #dd4545;
          color:#999;}

        #contact .container form textarea {
          height:150px;}

        #contact .container form .submit {
          width:100%;
          padding:5px 10px;
          font-size: 12px;
          letter-spacing:1px;
          background:#dd4545;
          height:40px;
          text-transform:uppercase;
          letter-spacing:1px;
          color:#FFF;
          border:2px solid #b43838;
          -webkit-transition:all .1s ease-in-out;
          -moz-transition:all .1s ease-in-out;
          -ms-transition:all .1s ease-in-out;
          -o-transition:all .1s ease-in-out;
          transition:all .1s ease-in-out;}

        #contact .container form .submit:hover {
          color:#FFF;
          border:2px solid #dd4545;
          background: #b43838;
          cursor:pointer;}

        #contact .container form .required {
          color:#b43838;}
    </style>
</head>
<body>

<div class="sidenav">
    <a href="/home">Home</a>
    <a href="/logout">Logout</a></li>
    <a href="/order">Order</a></li>
</div>

<div class="main">
    <center>
        <h1>ADD A NEW PRODUCT</h1>
    </center>

    <section id="contact">
        <div class="container">
          <form method="post" enctype="multipart/form-data">
          <form method="post" enctype="multipart/form-data">
          <h1>FOR DIGITAL INVENTORY</h1>
          {% csrf_token %}
          {{ form.as_p }}
          <button name="add_product" type="submit" class="submit">Add Product</button>
          </form>
      </div>
    </section>

</div>
</body>
</html>