mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
[Cabrillo export] Tweaked layout width
This commit is contained in:
parent
bae96ce1e6
commit
fa947770a8
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
<form class="form" action="<?php echo site_url('cabrillo/export'); ?>" method="post" enctype="multipart/form-data">
|
<form class="form" action="<?php echo site_url('cabrillo/export'); ?>" method="post" enctype="multipart/form-data">
|
||||||
<div class="form-group form-inline row">
|
<div class="form-group form-inline row">
|
||||||
<div class="col-md-2 control-label" for="station_id">Select Station Location: </div>
|
<div class="col-md-3 control-label" for="station_id">Select Station Location: </div>
|
||||||
<select id="station_id" name="station_id" class="custom-select my-1 mr-sm-2 col-md-2">
|
<select id="station_id" name="station_id" class="custom-select my-1 mr-sm-2 col-md-3">
|
||||||
<?php foreach ($station_profile->result() as $station) { ?>
|
<?php foreach ($station_profile->result() as $station) { ?>
|
||||||
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>>Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
|
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>>Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -8,7 +8,7 @@ function loadYears() {
|
|||||||
data: {'station_id': $("#station_id").val()},
|
data: {'station_id': $("#station_id").val()},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data.length > 0) {
|
if (data.length > 0) {
|
||||||
$(".contestyear").append('<div class="col-md-2 control-label" for="year">Select year: </div>' +
|
$(".contestyear").append('<div class="col-md-3 control-label" for="year">Select year: </div>' +
|
||||||
'<select id="year" class="custom-select my-1 mr-sm-2 col-md-2" name="year">' +
|
'<select id="year" class="custom-select my-1 mr-sm-2 col-md-2" name="year">' +
|
||||||
'</select>' +
|
'</select>' +
|
||||||
' <button onclick="loadContests();" class="btn btn-sm btn-primary" type="button">Proceed</button>');
|
' <button onclick="loadContests();" class="btn btn-sm btn-primary" type="button">Proceed</button>');
|
||||||
@ -36,8 +36,8 @@ function loadContests() {
|
|||||||
'station_id': $("#station_id").val()
|
'station_id': $("#station_id").val()
|
||||||
},
|
},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
$(".contestname").append('<div class="col-md-2 control-label" for="contestid">Select contest: </div>' +
|
$(".contestname").append('<div class="col-md-3 control-label" for="contestid">Select contest: </div>' +
|
||||||
'<select class="custom-select my-1 mr-sm-2 col-md-3" id="contestid" name="contestid">' +
|
'<select class="custom-select my-1 mr-sm-2 col-md-4" id="contestid" name="contestid">' +
|
||||||
'</select>' +
|
'</select>' +
|
||||||
' <button onclick="loadContestDates();" class="btn btn-sm btn-primary" type="button">Proceed</button>');
|
' <button onclick="loadContestDates();" class="btn btn-sm btn-primary" type="button">Proceed</button>');
|
||||||
|
|
||||||
@ -60,10 +60,10 @@ function loadContestDates() {
|
|||||||
'contestid': $("#contestid").val(),
|
'contestid': $("#contestid").val(),
|
||||||
'station_id': $("#station_id").val()},
|
'station_id': $("#station_id").val()},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
$(".contestdates").append('<div class="col-md-2 control-label" for="contestdates">Select date range: </div>' +
|
$(".contestdates").append('<div class="col-md-3 control-label" for="contestdates">Select date range: </div>' +
|
||||||
'<select class="custom-select my-1 mr-sm-2 col-md-1" id="contestdatesfrom" name="contestdatesfrom">' +
|
'<select class="custom-select my-1 mr-sm-2 col-md-2" id="contestdatesfrom" name="contestdatesfrom">' +
|
||||||
'</select>' +
|
'</select>' +
|
||||||
'<select class="custom-select my-1 mr-sm-2 col-md-1" id="contestdatesto" name="contestdatesto">' +
|
'<select class="custom-select my-1 mr-sm-2 col-md-2" id="contestdatesto" name="contestdatesto">' +
|
||||||
'</select>' +
|
'</select>' +
|
||||||
' <button class="btn btn-sm btn-primary" type="submit">Export</button>');
|
' <button class="btn btn-sm btn-primary" type="submit">Export</button>');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user