Subversion Repositories SmartDukaan

Rev

Rev 16794 | Rev 16797 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16794 Rev 16796
Line 147... Line 147...
147
    def on_get(self, req, resp):
147
    def on_get(self, req, resp):
148
        try:
148
        try:
149
            result="""<html><head><title>Upload Rejects</title></head><body>
149
            result="""<html><head><title>Upload Rejects</title></head><body>
150
            <h1>Upload rejects</h1>
150
            <h1>Upload rejects</h1>
151
            <form action="rejects" method="POST">
151
            <form action="rejects" method="POST">
152
              <input type="file" name="rejects">
152
              <input type="file" name="rejects" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
153
              <input type="submit">
153
              <input type="submit">
154
            </form>
154
            </form>
155
   
155
   
156
            </body></html>"""
156
            </body></html>"""
157
            resp.body = result
157
            resp.body = result