forked from NYCPlanning/edm-metadata-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimport_metadata.php
More file actions
46 lines (41 loc) · 1.26 KB
/
import_metadata.php
File metadata and controls
46 lines (41 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
include ('navbar.php');
// If not logged in, bring user back to main page
if (!isset($_SESSION['user'])) {
header('location: Main.php');
}
?>
<style>
.wrapper {
max-width: 400px;
width: 50%;
margin: 10% auto;
}
.create-searchbar {
width: 400px;
}
textarea:focus, input:focus{
outline: none;
}
</style>
<div class="wrapper">
<h3>Create Table</h3>
<form class="search" method="post" action="edit.php">
<div class="form-group">
<input type="text" class="form-control create-searchbar" name="common_name" id="commonName" placeholder="Common Name" autocomplete="off" required list="common_list">
<datalist id="common_list">
</datalist>
<span id="common_status"></span>
</div>
<div class="form-group">
<input type="text" class="form-control create-searchbar" name="sde_name" placeholder="SDE Name" id="sdeName"autocomplete="off" required list="sde_list">
<datalist id="sde_list">
</datalist>
<span id="sde_status"></span>
</div>
<div class="button">
<!-- Disabled will be removed when common name and sde is not blank and doesn't exist in database -->
<button type="submit" class="btn btn-default" id="create_dataset">Create</button>
</div>
</form>
</div>