Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3> Community At Random Places </h3>

<!-- Submit new entry button -->
<br />
<button id='submit-new'>Submit</button>
<button id='submit-new' onclick="location.href='/submit-form.html'">Submit New</button>

<footer>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
Expand Down
94 changes: 94 additions & 0 deletions submit-form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Magi-CARP</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" />
<link href="styles/font-awesome-all.css" rel="stylesheet" />
<link href="styles/styles.css" rel="stylesheet" />
<link rel="shortcut icon" type="image/png" href="images/favicon.png" width="16px" />
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>


</head>
<body>
<header>
<!-- Heading -->
<div id='heading'>
<h1> Magi-CARP </h1>
<h3> Community At Random Places </h3>
</div>
<!-- Github fork option -->
<!-- TODO css fix for this -->
<!-- <div>
<a href="https://github.com/ILUGD/ILUGD.github.io" target = "_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
</div> -->
</header>

<div class="container">
<!-- Summary -->
<div>
<p>Add the details to mark the presence of your community on Magi-CARP.</p>
</div>

<!-- Submission Form
Community Name
Image
Location
Event
By
Date: Default for the day of upload
Location: Using Map API or Geo Tagged images or manual lat/long
Twitter or github of the contributor to hyperlink with the marker popup.
-->

<form action="#">
<div class="form-group">
<label for="community-name">Community:</label>
<input type="text" class="form-control" id="community-name" placeholder="Community Name" name="community">
</div>
<div class="form-group">
<label for="community-image">Upload Image</label>
<input type="file" class="form-control-file" id="community-image">
</div>
<div class="form-group">
<label for="event">Event Name:</label>
<input type="text" class="form-control" id="pwd" placeholder="Enter event name" name="event-name">
</div>
<div class="form-group">
<label for="latitute">Latitude</label>
<input type="text" class="form-control" id="latitude" placeholder="Enter location Latitude" name="latitude">
</div>
<div class="form-group">
<label for="longitude">Longitude:</label>
<input type="text" class="form-control" id="longitude" placeholder="Enter location Longitude" name="longitude">
</div>
<div class="form-group">
<label for="contributor">Contributed by:</label>
<input type="text" class="form-control" id="contributor" placeholder="Enter your name" name="contributor">
</div>
<!--
<div class="form-group">
<label for="date">Date:</label>
<input type="date" class="form-control" id="pwd" placeholder="Enter event name" name="event-name">
</div>
-->
<div class="form-group">
<label for="twitter">Twitter handle:</label>
<input type="text" class="form-control" id="twitter" placeholder="Enter Twitter handle" name="twitter">
</div>
<button type="submit" class="btn btn-primary">Do the Magic!</button>
</form>
</div>

<footer>
<script src="scripts/main.js"></script>
</footer>
</body>
</html>