working on front end

got dates to work (sort of) now neet to actually send tranx to backend
This commit is contained in:
Derek McQuay 2016-08-25 14:16:52 -07:00
parent 2da179aee4
commit da62df1bcd
6 changed files with 1029 additions and 18 deletions

125
static.go

File diff suppressed because one or more lines are too long

View File

@ -13,6 +13,7 @@
<!-- Bootstrap Core CSS --> <!-- Bootstrap Core CSS -->
<link href="/static/s/css/bootstrap.min.css" rel="stylesheet"> <link href="/static/s/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/s/css/datepicker.min.css" rel="stylesheet">
<!-- Custom CSS --> <!-- Custom CSS -->
<style> <style>
@ -64,22 +65,27 @@
<div class="row"> <div class="row">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<h1>Enter username</h1> <h1>Enter transaction</h1>
<span id="name-holder" class="input-group"> <span id="cost-holder" class="input-group">
<input type="text" class="form-control input-sm" id="name" placeholder="github username" autofocus> <input type="text" class="form-control input-sm" id="cost" placeholder="cost" autofocus>
</span> </span>
<span id="name-holder" class="input-group"> <span id="vendor-holder" class="input-group">
<button id="send" class="btn btn-default" type="button"> <input type="text" class="form-control input-sm" id="vendor" placeholder="vendor" autofocus>
<span class="glyphicon glyphicon-send"></span> &nbsp; Submit
</button>
</span> </span>
<div class="col-sm-4 text-center"> <span id="info-holder" class="input-group">
<div class="table-responsive"> <input type="text" class="form-control input-sm" id="info" placeholder="info" autofocus>
<table id="table" class="table"> </span>
</table> <span class="input-append date" id="datepicker" data-date="02-2012" data-date-format="mm-yyyy">
</div> <input type="text" readonly="readonly" name="date" >
</div> <span class="add-on"><i class="icon-th"></i></span>
</span>
<span id="name-holder" class="input-group">
<button id="send" class="btn btn-default" type="button">
<span class="glyphicon glyphicon-send"></span> &nbsp; Submit
</button>
</span>
</div> </div>
<!-- /.row --> <!-- /.row -->
</div> </div>
@ -90,6 +96,7 @@
<!-- Bootstrap Core JavaScript --> <!-- Bootstrap Core JavaScript -->
<script src="/static/s/js/bootstrap.min.js"></script> <script src="/static/s/js/bootstrap.min.js"></script>
<script src="/static/s/js/bootstrap-datepicker.min.js"></script>
<script src="/static/s/js/starz.js"></script> <script src="/static/s/js/starz.js"></script>
</body> </body>

873
static/s/css/bootstrap-combined.min.css vendored Normal file

File diff suppressed because one or more lines are too long

9
static/s/css/datepicker.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -57,3 +57,9 @@ function send() {
}); });
} }
}; };
$("#datepicker").datepicker( {
format: "mm-yyyy",
viewMode: "months",
minViewMode: "months"
});