Stop editor form field visible on click
This commit is contained in:
parent
85bab1c677
commit
97a17f64a2
|
@ -1,6 +1,6 @@
|
||||||
(function($) {
|
(function($) {
|
||||||
var API_BASE = 'http://localhost:8000/1.0/';
|
var API_BASE = 'http://chalobest.in/1.0/';
|
||||||
console.log(API_BASE);
|
//console.log(API_BASE);
|
||||||
var clickedName = 'stops';
|
var clickedName = 'stops';
|
||||||
var searchQuery = 'None';
|
var searchQuery = 'None';
|
||||||
var url1 = API_BASE + clickedName + '/' + '?q=';
|
var url1 = API_BASE + clickedName + '/' + '?q=';
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/css/styles.css" ></script>
|
<link rel="stylesheet" href="/static/css/styles.css" ></script>
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
|
||||||
<script type = "text/javascript" src="/static/js/underscore-min.js"></script>
|
<script type = "text/javascript" src="/static/js/underscore-min.js"></script>
|
||||||
<script type ="text/javascript" src="/static/js/backbone-min.js"></script>
|
<script type ="text/javascript" src="/static/js/backbone-min.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/buseditor.js"></script>
|
<script type="text/javascript" src="/static/js/thebus.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
console.firebug=true;//fix the openlayer problem
|
console.firebug=true;//fix the openlayer problem
|
||||||
</script>
|
</script>
|
||||||
|
@ -24,7 +25,7 @@
|
||||||
|
|
||||||
<input id="search" type="text" placeholder="Search for Areas and Stops">
|
<input id="search" type="text" placeholder="Search for Areas and Stops">
|
||||||
<input id="stops" type="button" value="Stops">
|
<input id="stops" type="button" value="Stops">
|
||||||
<input id="areas" type="button" value="Areas">
|
<input id="routes" type="button" value="Routes">
|
||||||
<input id="login" type="button" value="Login to OSM" style="float: right;">
|
<input id="login" type="button" value="Login to OSM" style="float: right;">
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,14 +38,16 @@
|
||||||
This BEST Bus stop editor allows you to edit Stops and Areas.
|
This BEST Bus stop editor allows you to edit Stops and Areas.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<input id="sLug" type="text" placeholder="stop-slug" disabled>
|
<input id="sLug" type="text" placeholder="stop-slug" value = "" disabled>
|
||||||
<input id="rOads" type="text" placeholder="Road Name" disabled>
|
<input id="rOads" type="text" placeholder="Road Name" disabled>
|
||||||
<input id="rOutes" type="text" placeholder="Routes" disabled>
|
|
||||||
<input id="dIrection" type="text" placeholder="Direction (u - up/d - Down)" disabled>
|
<input id="dIrection" type="text" placeholder="Direction (u - up/d - Down)" disabled>
|
||||||
<input id="dIsplayName" type="text" placeholder="Display Name" >
|
<input id="dIsplayName" type="text" placeholder="Display Name" >
|
||||||
|
|
||||||
<input id="mArathiName" type="text" placeholder="Marathi Name" >
|
<input id="mArathiName" type="text" placeholder="Marathi Name" >
|
||||||
<input id="aLtName" type="text" placeholder="Alternative Names" >
|
<input id="aLtName" type="text" placeholder="Alternative Names" >
|
||||||
|
<!--<input id="rOutes" type="textarea" placeholder="Routes" disabled>-->
|
||||||
|
<textarea id="rOutes" rows="3" placeholder="Routes" ></textarea>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<input id="save" type="button" value="Save">
|
<input id="save" type="button" value="Save">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user