Update forms
This commit is contained in:
parent
51b0ae9e5e
commit
5e619ea1cf
|
@ -67,30 +67,17 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="d-flex flex-row" style="justify-content: space-between">
|
<div class="d-flex flex-row" style="justify-content: center">
|
||||||
<div class="d-flex p-2" style="width: 40%">
|
<div class="d-flex p-2" style="width: 60%">
|
||||||
<form style="width: 100%" method="GET" action="/Ticket">
|
|
||||||
<h3>Add trip from ticket</h3>
|
|
||||||
<br/>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="text" class="form-control" name="order" placeholder="bahn.de order #">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="text" class="form-control" name="name" placeholder="Last name of traveller">
|
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div class="d-flex p-2" style="width: 40%">
|
|
||||||
<form style="width: 100%" method="GET" action="/OEAPI">
|
<form style="width: 100%" method="GET" action="/OEAPI">
|
||||||
<h3>Add trip from <a href="https://oeffisear.ch" target="_blank">oeffisear.ch</a> or <a href="https://transit.ztn.sh" target="_blank">transit.ztn.sh</a></h3>
|
<h3>Add trip from <a href="https://oeffisear.ch" target="_blank">oeffisear.ch</a> or <a href="https://transit.ztn.sh" target="_blank">transit.ztn.sh</a></h3>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="form-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" name="link" placeholder="paste link / shortcode here">
|
<input type="text" class="form-control" name="link" placeholder="paste link / shortcode here">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -136,35 +136,22 @@ else {
|
||||||
<a class="btn btn-sm btn-secondary" href="/Trip?id=@Request.Query["id"]">Back</a>
|
<a class="btn btn-sm btn-secondary" href="/Trip?id=@Request.Query["id"]">Back</a>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="d-flex flex-row" style="justify-content: space-between">
|
<div class="text-center">
|
||||||
<div class="d-flex p-2" style="width: 40%">
|
<div class="d-flex flex-row" style="justify-content: center">
|
||||||
<form style="width: 100%" method="GET" action="/Ticket">
|
<div class="d-flex p-2" style="width: 60%">
|
||||||
<h3>Add leg(s) from ticket</h3>
|
<form style="width: 100%" method="GET" action="/OEAPI">
|
||||||
<br/>
|
<h3>Add leg(s) from <a href="https://oeffisear.ch" target="_blank">oeffisear.ch</a> or <a href="https://transit.ztn.sh" target="_blank">transit.ztn.sh</a></h3>
|
||||||
<input type="hidden" name="action" value="addleg">
|
<br/>
|
||||||
<input type="hidden" name="tripid" value="@Request.Query["id"]">
|
<input type="hidden" name="action" value="addleg">
|
||||||
<div class="form-group">
|
<input type="hidden" name="tripid" value="@Request.Query["id"]">
|
||||||
<input type="text" class="form-control" name="order" placeholder="bahn.de order #">
|
<div class="input-group">
|
||||||
</div>
|
<input type="text" class="form-control" name="link" placeholder="paste link / shortcode here">
|
||||||
<div class="form-group">
|
<div class="input-group-append">
|
||||||
<input type="text" class="form-control" name="name" placeholder="Last name of traveller">
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
</form>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="d-flex p-2" style="width: 40%">
|
|
||||||
<form style="width: 100%" method="GET" action="/OEAPI">
|
|
||||||
<h3>Add leg(s) from <a href="https://oeffisear.ch" target="_blank">oeffisear.ch</a> or <a href="https://transit.ztn.sh" target="_blank">transitztn.sh</a></h3>
|
|
||||||
<br/>
|
|
||||||
<input type="hidden" name="action" value="addleg">
|
|
||||||
<input type="hidden" name="tripid" value="@Request.Query["id"]">
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="text" class="form-control" name="link" placeholder="oeffisear.ch link / shortcode">
|
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue