mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/IZYIM-Prototype.git
synced 2026-08-19 04:33:55 +00:00
track order size
This commit is contained in:
@@ -341,28 +341,28 @@ License: You must have a valid license purchased only from themeforest(the above
|
||||
<div class="events">
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#0" data-date="01/01/2014" class="border-after-blue bg-after-blue selected">1 Jan </br> <b>Order Date</b></a>
|
||||
<a href="#0" data-date="01/01/2014" class="border-after-blue bg-after-blue selected">1 Jan </br> <span class="small"><b>Order Date</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="10/01/2014" class="border-after-blue bg-after-blue">10 Jan </br> <b>Warehouse Received</b></a>
|
||||
<a href="#0" data-date="10/01/2014" class="border-after-blue bg-after-blue">10 Jan </br> <span class="small"><b>WH Received</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="19/01/2014" class="border-after-blue bg-after-blue">19 Jan </br> <b>Container Loading</b></a>
|
||||
<a href="#0" data-date="19/01/2014" class="border-after-blue bg-after-blue">19 Jan </br> <span class="small"><b>CTN Loading</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="29/01/2014" class="border-after-blue bg-after-blue">29 Jan </br> <b>ETD</b></a>
|
||||
<a href="#0" data-date="29/01/2014" class="border-after-blue bg-after-blue">29 Jan </br><span class="small"><b>ETD</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="05/02/2014" class="border-after-blue bg-after-blue">5 Feb </br> <b>ETA</b></a>
|
||||
<a href="#0" data-date="05/02/2014" class="border-after-blue bg-after-blue">5 Feb </br><span class="small"><b>ETA</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="20/02/2014" class="border-after-blue bg-after-blue">20 Feb </br> <b>Custom Cleareance</b></a>
|
||||
<a href="#0" data-date="20/02/2014" class="border-after-blue bg-after-blue">20 Feb </br><span class="small"><b>Custom Cleareance</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="05/03/2014" class="border-after-blue bg-after-blue">05 Mar </br> <b>Delivery Arrangement</b></a>
|
||||
<a href="#0" data-date="05/03/2014" class="border-after-blue bg-after-blue">05 Mar </br><span class="small"><b>Delivery Arrangement</b></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#0" data-date="30/03/2014" class="border-after-blue bg-after-blue">30 Mar </br> <b>Delivery</b></a>
|
||||
<a href="#0" data-date="30/03/2014" class="border-after-blue bg-after-blue">30 Mar </br><span class="small"><b>Delivery</b></span></a>
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
@@ -646,7 +646,7 @@ License: You must have a valid license purchased only from themeforest(the above
|
||||
</div>
|
||||
<!-- .events-content -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-9" id="without_content" style="display:none;">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@@ -1332,13 +1332,11 @@ License: You must have a valid license purchased only from themeforest(the above
|
||||
//alert('heiiiii');
|
||||
document.getElementById("without_content").style.display = "";
|
||||
document.getElementById("with_content").style.display = "none";
|
||||
document.getElementById("file_manager").style.display = "none";
|
||||
|
||||
}else{
|
||||
//alert('hoooo');
|
||||
document.getElementById("without_content").style.display = "none";
|
||||
document.getElementById("with_content").style.display = "";
|
||||
document.getElementById("file_manager").style.display = "";
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
@@ -1346,7 +1344,6 @@ License: You must have a valid license purchased only from themeforest(the above
|
||||
//alert('hoooo');
|
||||
document.getElementById("without_content").style.display = "none";
|
||||
document.getElementById("with_content").style.display = "";
|
||||
document.getElementById("file_manager").style.display = "";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -6,7 +6,8 @@ jQuery(document).ready(function($){
|
||||
|
||||
function initTimeline(timelines) {
|
||||
timelines.each(function(){
|
||||
eventsMinDistance = $(this).data('spacing');
|
||||
var qweqwe = $(this).data('spacing') - 65;
|
||||
eventsMinDistance = qweqwe;
|
||||
var timeline = $(this),
|
||||
timelineComponents = {};
|
||||
//cache timeline components
|
||||
@@ -129,10 +130,11 @@ jQuery(document).ready(function($){
|
||||
}
|
||||
|
||||
function setDatePosition(timelineComponents, min) {
|
||||
|
||||
for (i = 0; i < timelineComponents['timelineDates'].length; i++) {
|
||||
var distance = daydiff(timelineComponents['timelineDates'][0], timelineComponents['timelineDates'][i]),
|
||||
distanceNorm = Math.round(distance/timelineComponents['eventsMinLapse']) + 2;
|
||||
timelineComponents['timelineEvents'].eq(i).css('left', distanceNorm*min+'px');
|
||||
timelineComponents['timelineEvents'].eq(i).css('left', distanceNorm*min-120+'px');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user