<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="https://stackpath.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css"
          rel="stylesheet"
          integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT"
          crossorigin="anonymous">
    <script src="https://use.fontawesome.com/7553aecc27.js"></script>
    <title>Devicehub | Stamp create and Stamp verify</title>
    <style>
        /*Sticky footer*/
        html {
            position: relative;
            min-height: 100%;
        }

        body {
            margin-bottom: 60px; /* Margin bottom by footer height */
        }

        .footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 6em;
        }
    </style>
</head>
<body>
<nav class="navbar navbar-default" style="background-color: gainsboro; margin: 0 !important">
    <div class="container-fluid">
        <a href="https://www.usody.com/" target="_blank">
            <h1 align="center">Usody</h1>
        </a>
    </div>
</nav>
<div class="container-fluid">
    <div class="page-header col-md-6 col-md-offset-3">
      <div class="row">
      {% if result.0 == 'Ok' %}
        <div class="alert alert-info" style="background-color: #3fb618;" role="alert">
	  {{ result.1 }}
        </div>
      {% elif result.0 == 'Bad' %}
        <div class="alert alert-danger" style="background-color: #ff0039" role="alert">
	  {{ result.1 }}
        </div>
      {% endif %}
      </div>
      <div class="row">
	      <a href="http://dlt.ereuse.org/stamps/create?url={{ rq_url }}" target="_blank">Add one new check in your csv</a>
      </div>
      <div class="row">
	      <a href="http://dlt.ereuse.org/stamps/check?url={{ rq_url }}" target="_blank">Verify a CSV file in here.</a>
      </div>
    </div>

    <div class="row">
      <div class="page-header col-md-6 col-md-offset-3">
	If you want us to verify a document issued by us, upload it using the following form
      </div>
      <div class="col-md-6 col-md-offset-3">
      <form enctype="multipart/form-data" action="" method="post">
        <label for="name">Document: </label>
        <input type="file" name="docUpload" accept="*" /><br />
        <input type="submit" id="send-signup" name="signup" value="Verify" />
      </form>
      </div>
    </div>
</div>
</body>
</html>
