Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<div class="row" data-ex-bind="activity" data-ex-activityname="ERP.TourRun" data-ex-activitystyle="VehicleCheck" data-ex-pollmethod="clientPoll">

</div>

We need to replicate fields in Web application as exist in WPF application after adding static headerĀ Vehicle code/rego.

...

Code Block
languagexml
<div class="input-group" data-ex-bind="field" data-ex-fieldid="ODO.Start">
	<span data-ex-attribute="label" class="input-group-addon">ODO</span>
    <input data-ex-attribute="value" type="number" class="form-control" min="0">
</div>


We need to add three tabs "Things to Take", "Report Issue" and "Change Driver" while making first tab "Things to Take" as active tab.

Code Block
languagexml
<ul id="vehicleCheckTabs" class="nav nav-tabs" role="tablist">
	<li role="presentation" class="active">
		<a href="#things" id="things-tab" role="tab" data-toggle="tab">Things To Take</a>
	</li>
	<li role="presentation">
		<a href="#report" role="tab" id="report-tab" data-toggle="tab">Report Isssue</a>
	</li>
	<li role="presentation">
		<a href="#driverChange" role="tab" id="driverChange-tab" data-toggle="tab">Change Driver</a>
	</li>
</ul>


Image Added


Now, we need to add content/fields to each tab.

Code Block
languagexml
<div id="vehicleCheckTabContent" class="tab-content">


</div>