Skip to content

Instantly share code, notes, and snippets.

@dolph
Last active July 26, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolph/5e2e122d2f8e8ff5f2da481d269e15b5 to your computer and use it in GitHub Desktop.
Save dolph/5e2e122d2f8e8ff5f2da481d269e15b5 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<title>Image Uploader</title>
</head>
<body>
<div class="container" style="margin-top: 2em;">
<div class="row">
<div class="col-3"></div>
<div class="col-6">
<h1>Image uploader</h1>
<form action="https://afdb42fb.ngrok.io/" method="get">
<div class="form-group">
<div class="custom-file">
<label for="image">Image</label>
<input type="url" class="form-control" id="image" placeholder="URL of an image">
<small id="imageHelp" class="form-text text-muted">Something might happen to your image after you give a link to it.</small>
</div>
<input type="submit" class="btn btn-primary" value="Go" />
</div>
</form>
</div>
<div class="col-3"></div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment