first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Sample Code</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Opening a folder from HTML code</h1>
|
||||
<a href='/home/bizgaze/PycharmProjects/img/output'>Click to open a folder</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
|
||||
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">Gallery</h1>
|
||||
</div>
|
||||
<a class="button button5"href="/">HOME</a>
|
||||
<hr>
|
||||
{% for image_name in image_names %}
|
||||
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
|
||||
<img class="img-responsive" src=" {{url_for('send_image', filename=image_name )}}"style="width:300px;height:300px;">
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
|
||||
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,84 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<style>
|
||||
.button {
|
||||
background-color: #000000; /* Green */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 32px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.button1 {font-size: 10px;}
|
||||
.button2 {font-size: 12px;}
|
||||
.button3 {font-size: 16px;}
|
||||
.button4 {font-size: 50px;}
|
||||
.button5 {font-size: 24px;border-radius: 12px;}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="background-image: url('https://lh3.googleusercontent.com/p/AF1QipONWF8G50u9Bu-dklcj3kzesofOn8Z0q0LdHeU1=w1080-h608-p-no-v0');
|
||||
/* Full height */
|
||||
height: 100%;
|
||||
/ Center and scale the image nicely /
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;">
|
||||
|
||||
|
||||
|
||||
<br> <br>
|
||||
|
||||
<form action="/upload" method="POST" enctype="multipart/form-data">
|
||||
<div class="form-group">
|
||||
|
||||
|
||||
<div class="custom-file">
|
||||
|
||||
<input type="file" class="button button5" name="image" id="image"> <br> <br><br>
|
||||
<div class="bg"></div>
|
||||
<input class="button button5" type="submit"> <br><br></div></div></form>
|
||||
|
||||
|
||||
|
||||
<form action="{{ url_for('predict') }}" method="GET">
|
||||
<input type="submit" class="button button5" value="predict"></form>
|
||||
<br>
|
||||
|
||||
<form action="{{ url_for('json') }}" method="GET">
|
||||
<input type="submit" class="button button5" value="json"></form>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
font-family: 'Helvetica';
|
||||
background-color:#000000;
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
text-align:center;
|
||||
letter-spacing:1.4px;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user