prepared tabbed area (incomplete)
这个提交包含在:
父节点
2d9b8b6413
当前提交
c258a86455
共有 2 个文件被更改,包括 122 次插入 和 131 次删除
|
|
@ -15,6 +15,7 @@ class SimpleFLE extends CI_Controller {
|
||||||
$data['station_profile'] = $this->stations->all_of_user(); // Used in the view for station location select
|
$data['station_profile'] = $this->stations->all_of_user(); // Used in the view for station location select
|
||||||
$data['bands'] = $this->bands->get_all_bands(); // Fetching Bands for FLE
|
$data['bands'] = $this->bands->get_all_bands(); // Fetching Bands for FLE
|
||||||
$data['active_station_profile'] = $this->stations->find_active(); // Prepopulate active Station in Station Location Selector
|
$data['active_station_profile'] = $this->stations->find_active(); // Prepopulate active Station in Station Location Selector
|
||||||
|
$data['sat_active'] = array_search("SAT", $this->bands->get_user_bands(), true);
|
||||||
|
|
||||||
|
|
||||||
$data['page_title'] = "Simple Fast Log Entry";
|
$data['page_title'] = "Simple Fast Log Entry";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var Bands = <?php echo json_encode($bands);?>;
|
var Bands = <?php echo json_encode($bands); ?>;
|
||||||
var user_id = <?php echo $this->session->userdata('user_id'); ?>;
|
var user_id = <?php echo $this->session->userdata('user_id'); ?>;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
<button type="button" class="btn btn-sm btn-primary mr-1" id="simpleFleInfoButton"><?php echo lang('simplefle_info'); ?></button>
|
<button type="button" class="btn btn-sm btn-primary mr-1" id="simpleFleInfoButton"><?php echo lang('simplefle_info'); ?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if($this->session->flashdata('message')) { ?>
|
<?php if ($this->session->flashdata('message')) { ?>
|
||||||
<!-- Display Message -->
|
<!-- Display Message -->
|
||||||
<div class="alert-message error">
|
<div class="alert-message error">
|
||||||
<p><?php echo $this->session->flashdata('message'); ?></p>
|
<p><?php echo $this->session->flashdata('message'); ?></p>
|
||||||
|
|
@ -28,8 +28,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<header
|
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
|
||||||
class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
|
|
||||||
<div class="col-md-3 mb-2 mb-md-0">
|
<div class="col-md-3 mb-2 mb-md-0">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -40,11 +39,30 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="row mt-4">
|
||||||
|
<!-- START BASIC QSO DATA -->
|
||||||
|
<div class="col-xs-12 col-md-4">
|
||||||
|
|
||||||
|
<div class="card-header">
|
||||||
|
<ul style="font-size: 15px;" class="nav nav-tabs card-header-tabs pull-right" id="myTab" role="tablist">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link active" id="qso-tab" data-toggle="tab" href="#qso" role="tab" aria-controls="qso" aria-selected="true">Main Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" id="general-tab" data-toggle="tab" href="#general" role="tab" aria-controls="general" aria-selected="false"><?php echo lang('general_word_general'); ?></a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<?php if ($sat_active) { ?>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" id="satellite-tab" data-toggle="tab" href="#satellite" role="tab" aria-controls="satellite" aria-selected="false"><?php echo lang('general_word_satellite_short'); ?></a>
|
||||||
|
</li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
<div class="tab-content" id="myTabContent">
|
<div class="tab-content" id="myTabContent">
|
||||||
<div class="tab-pane fade show active" id="qso" role="tabpanel" aria-labelledby="qso-tab">
|
<div class="tab-pane fade show active" id="qso" role="tabpanel" aria-labelledby="qso-tab">
|
||||||
<div class="row mt-4">
|
|
||||||
<div class="col-xs-12 col-md-4">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-lg-12 col-xl-6">
|
<div class="col-xs-12 col-lg-12 col-xl-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
@ -52,24 +70,18 @@
|
||||||
<input type="date" class="form-control" id="qsodate">
|
<input type="date" class="form-control" id="qsodate">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-lg-12 col-xl-6">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="wwff">WWFF/SOTA <span class="text-muted input-example">e.g.
|
|
||||||
OKFF-2068</span></label>
|
|
||||||
<input type="text" class="form-control text-uppercase" id="my-sota-wwff" autofocus>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-lg-6">
|
<div class="col-xs-12 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<!-- <label for="my-call">My Station Callsign </label>
|
|
||||||
<input type="text" class="form-control text-uppercase" id="my-call"> -->
|
|
||||||
<label for="station-call">Station Call</label>
|
<label for="station-call">Station Call</label>
|
||||||
<select name="station_profile" class="station_id custom-select" id="station-call">
|
<select name="station_profile" class="station_id custom-select" id="station-call">
|
||||||
<option value="-">-</option>
|
<option value="-">-</option>
|
||||||
<?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'; } ?>>
|
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) {
|
||||||
|
echo 'selected';
|
||||||
|
} ?>>
|
||||||
<?php echo lang('gen_hamradio_callsign') . ": " . $station->station_callsign . " (" . $station->station_profile_name . ")"; ?>
|
<?php echo lang('gen_hamradio_callsign') . ": " . $station->station_callsign . " (" . $station->station_profile_name . ")"; ?>
|
||||||
</option>
|
</option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -79,13 +91,31 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-lg-6">
|
<div class="col-xs-12 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="operator">Operator <span class="text-muted input-example">e.g.
|
<label for="operator">Operator <span class="text-muted input-example">e.g. OK2CQR</span></label>
|
||||||
OK2CQR</span></label>
|
|
||||||
<input type="text" class="form-control text-uppercase" id="operator" value="<?php echo $this->session->userdata('operator_callsign'); ?>">
|
<input type="text" class="form-control text-uppercase" id="operator" value="<?php echo $this->session->userdata('operator_callsign'); ?>">
|
||||||
<div class="alert alert-danger" role="alert" id="warningOperatorField" style="display: none"> </div>
|
<div class="alert alert-danger" role="alert" id="warningOperatorField" style="display: none"> </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tab-pane" id="general" role="tabpanel" aria-labelledby="general-tab">
|
||||||
|
<div class="col-xs-12 col-lg-12 col-xl-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="wwff">WWFF/SOTA <span class="text-muted input-example">e.g. OKFF-2068</span></label>
|
||||||
|
<input type="text" class="form-control text-uppercase" id="my-sota-wwff" autofocus>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php if ($sat_active) { ?>
|
||||||
|
<div class="tab-pane" id="satellite" role="tabpanel" aria-labelledby="satellite-tab">
|
||||||
|
Test Satellite
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END BASIC QSO DATA -->
|
||||||
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<p>Enter the data</p>
|
<p>Enter the data</p>
|
||||||
|
|
@ -93,6 +123,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-md-8">
|
||||||
QSO list
|
QSO list
|
||||||
<div class="qsoList">
|
<div class="qsoList">
|
||||||
|
|
@ -132,45 +163,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade show" id="settings" role="tabpanel" aria-labelledby="settings-tab">
|
|
||||||
<div class="row mt-4">
|
|
||||||
<div class="col">
|
|
||||||
General
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mt-4">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-3 mt-4">
|
|
||||||
<strong>QSO</strong>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-3">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="my-power">Power (W)</label>
|
|
||||||
<input type="text" class="form-control text-uppercase" id="my-power" value="">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-3">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="my-grid">My grid</label>
|
|
||||||
<input type="text" class="form-control text-uppercase" id="my-grid" value="">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mt-4">
|
|
||||||
<div class="col">
|
|
||||||
Bands
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col col-lg-6">
|
|
||||||
<div class="js-band-settings mt-4 mb-5">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
正在加载…
在新工单中引用