<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="initial-scale=1, width=device-width, user-scalable=no" />
  <meta name="format-detection" content="telephone=no,email=no" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <title>My schedule</title>
  <script src='javascript/components/flexible.js'></script>
  <link rel="stylesheet" href="style/share/reset.css">
  <link rel="stylesheet" href="style/share/weui.min.css">
  <link rel="stylesheet" href="style/share/jquery-weui.css">
  <link rel="stylesheet" href="style/pageCss/schaeffler.css">
</head>

<body>
  <div class="container">
    <div class="content" style="padding-top: 0.0667rem;padding-bottom: 1.3333rem">

      <p class="btn register-btn" id="submit">Update my schedule</p>
    </div>


    <script id="template" type="text/x-handlebars-template">

      <div class="meeting-title f16">{{workshop_title_en}}</div>
      <img src="{{workshop_pic}}" alt="" width="100%">

      <ul class="meeting-list f14">
        <li class="color-green bold">Date</li>
        <li>
          {{datetimeformat workshop_time_start}} to {{datetimeformat workshop_time_end}}
        </li>
      </ul>
      <ul class="meeting-list f14">
        <li class="color-green bold">Address</li>
        <li>
          {{workshop_address_en}}
        </li>
      </ul>
      <ul class="meeting-list f14">
        <li class="color-green bold">My Schedule</li>
      </ul>
      {{#if detailsinfo.isHotel}}
      <ul class="meeting-list f14">
        <li class="color-green">Accommodation</li>
        <li>
          <p>Hotel: {{detailsinfo.hotel.titleEn}}</p>
          <p>Location: {{detailsinfo.hotel.hoteladrressEn}}</p>
          <p>Check in:{{detailsinfo.hotel.startDate}}</p>
          <p>Check out:{{detailsinfo.hotel.endDate}}</p>
        </li>
      </ul>
      {{/if}} {{#if detailsinfo.isEat}}
      <ul class="meeting-list f14">
        <li class="color-green">Catering</li>
        <li>
          {{#each detailsinfo.eat}}
          <p>{{eatnameEn}}</p>
          {{/each}}
        </li>
      </ul>
      {{/if}} {{#if detailsinfo.isRelay}}
      <ul class="meeting-list f14">
        <li class="color-green">Pick up/return</li>
        <li>
          <p>Pick up station：</p>
          {{# if detailsinfo.relay.isHigh}}
          <p>Transportation: Train</p>
          <p>Arrival station：{{detailsinfo.relay.high.highsattionEn}}</p>
          <p>Flight/Train no.：{{detailsinfo.relay.shift}}</p>
          <p>Arrival time：{{detailsinfo.relay.arrivetime}}</p>
          {{/if}}
          {{# if detailsinfo.relay.isPlane}}

          <p>Transportation： Flight</p>
          <p>Arrival station：{{detailsinfo.relay.plane.planesattionEn}}</p>
          <p>Flight/Train no.：{{detailsinfo.relay.shift}}</p>
          <p>Arrival time：{{detailsinfo.relay.arrivetime}}</p>
          {{/if}}
          {{# if detailsinfo.relay.isOnedrive}}
          <p>Transportation: 自驾</p>          
          {{/if}}
          {{# if detailsinfo.relay.isOther}}
          <p>Transportation: Other</p>          
          {{/if}}
        </li>
        
        <li>
            <p>Departure station：</p>
            {{# if detailsinfo.send.isHigh}}
            <p>Transportation: Train</p>
            <p>Departure station:{{detailsinfo.send.high.highsattionEn}}</p>
            <p>Flight/Train no.：{{detailsinfo.send.shift1}}</p>
            <p>Departure time:{{detailsinfo.send.arrivetime1}}</p>
            {{/if}}
            {{# if detailsinfo.send.isPlane}}
            <p>Transportation: Flight</p>
            <p>Departure station:{{detailsinfo.send.plane.planesattionEn}}</p>
            <p>Flight/Train no.：{{detailsinfo.send.shift1}}</p>
            <p>Departure time:{{detailsinfo.send.arrivetime1}}</p>
            {{/if}}
            {{# if detailsinfo.send.isOnedrive}}
            <p>Transportation: 自驾</p>
            
            {{/if}}
            {{# if detailsinfo.send.isOther}}
            <p>Transportation: Other</p>          
            {{/if}}
        </li>
       
      </ul>
      {{/if}} {{#if detailsinfo.isTake}}
      <ul class="meeting-list f14">
        <li class="color-green">Test drive</li>
        <li>
          {{#each detailsinfo.take}}
          <p>{{taketimeEn}}</p>
          {{/each}}

        </li>
      </ul>
      {{/if}} {{#if detailsinfo.isfactory}}
      <ul class="meeting-list f14">
        <li class="color-green">Plant tour</li>
        <!--<li class="color-green">Shuttle bus</li>-->
        <li>
          {{#each detailsinfo.factory}}
          <p>{{visittimeEn}}</p>
          {{/each}}

        </li>
      </ul>
      {{/if}} {{#if detailsinfo.isdesc}}
      <ul class="meeting-list f14">
        <li class="color-green">Remark</li>
        <li>

          <p>{{detailsinfo.desc}}</p>


        </li>
      </ul>
      {{/if}}

    </script>
    <!--切换语言-->
    <div class="language">
      <img src="image/language.png" alt="">
      <p class="f8">中文</p>
    </div>
    <!---->
  </div>
</body>
<script src='javascript/components/jquery-2.2.4.min.js'></script>
<script src="javascript/crypto-js-master/crypto-js.js"></script>
<script src="javascript/components/cryptomain.js"></script>
<script src='javascript/components/g.js'></script>
<script src='javascript/components/jquery-weui.js'></script>
<script src='javascript/components/niceClick.js'></script>
<script src='javascript/components/fastclick.js'></script>
<script src='javascript/components/dateUtils.js'></script>
<script src='javascript/components/handlebars.min-latest.js'></script>
<script src='javascript/components/mcfApp.js'></script>
<script src='javascript/components/side.js'></script>
<script src='javascript/pages/my-schedule-list.js'></script>
<script>
  var devMode = G.devMode();
  var bindNextEvent = function (app) {
    var schedulelist = new scheduleList({
      devMode: devMode,
      cfApp: app
    });
    schedulelist.init();
  };
  var cfapp = new cfApp({
    devMode: devMode,
    initWxApi: false,
    nextAction: bindNextEvent,
    registertype: "register",
    vt: new Date().getTime()
  });
  cfapp.init();
</script>

</html>