Attendance/templates/uploadcsv.html
2021-09-09 21:29:31 +08:00

40 lines
No EOL
1.6 KiB
HTML

<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="stylesheet" href="/static/allpages.css">
<link rel="stylesheet" href="/static/login.css">
</head>
<body>
<!-- csv form center -->
<div class="container">
<div class="row">
<div class="col-md-4 offset-md-4">
<h1 class="text-center">Upload {{title}}</h1>
<!-- upload csv -->
<form action="{{url}}" method="post" enctype="multipart/form-data">
<!-- input class code -->
<div class="form-group">
<label for="classcode">Class Code</label>
<input type="text" class="form-control" id="classcode" name="classcode"
placeholder="Enter Class Code">
</div>
<div class="form-group">
<label for="csv">{{title}}</label>
<input type="file" class="form-control-file" id="csv" name="csv">
</div>
<button type="submit" class="btn btn-primary">Upload</button>
</form>
</div>
</div>
</div>
<!-- end csv form center -->
</body>
</html>