<commit_before><!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="..\..\bower_components/polymer/polymer.html">
<link rel="import" href="..\..\bower_components/paper-item/paper-item.html">
<link rel="import" href="..\..\bower_components/paper-input/paper-input.html">
<link rel="import" href="..\..\bower_components/paper-button/paper-button.html">
<link rel="import" href="..\..\bower_components/iron-ajax/iron-ajax.html">
 <link rel="import" href="../transport-service/transport-service.html">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">

 <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.js"></script>
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js"></script>
      <script type="text/javascript" src="http://mrrio.github.io/jsPDF/dist/jspdf.debug.js"></script>
      <script type="text/javascript" src="http://html2canvas.hertzen.com/build/html2canvas.js"></script>

<style type="text/css">
  
</style>
<dom-module id="studentpass-card">
  <template>
  <div class="student-image" >
   <img id="imgRes">
  </div>
    <div class="left">

          <paper-input class="field" label="Student Name" is="" value="{{value}}" on-keydown="FnInputChanged"></paper-input>
      <paper-listbox class="dropdown-content" id="fetchname" on-iron-select="FnItemSelected">
        <template is="dom-repeat" items="{{itemArray}}" as="item">
          <paper-item>{{item.itemdes}}</paper-item>
        </template>
      </paper-listbox>
      </div>
    <div class="pass">
  <div id="canvas" style="background-image:url(fimage/1.jpg)">

      <div class="front">
     

        <div class="header">
        <div class="logo"><img style="width: 18%; height: 12%; margin-top: 5%;" src="../../images/zeesouth.png"/></div>
        <div class="heading">
          <div class="title">{{schoolname}}</div>
          <div class="address">{{schooladdr}}</div>
        </div>
        </div>
         <hr></hr>
        <div class="body2">
          <div class="studimg">
            <img style="min-height: 12%;min-width: 18%; margin-top: 5%; height: 18%; width: 27%;border: 1px solid;"src="images/{{sid}}.jpg" alt="Paste photo here"/>
          </div>
          <div class="studetail"> 
          <p style="font-size: 16px;">{{studname}}</p>
          <p style="font-size: 16px;">{{stnd}} - {{sec}}</p>
          <p style="font-size: 16px;">Zone - {{zone}}</p>
            </div>
        </div>

  </div>

      <div class="back">
         <div class="body3">
        <div class="backimg">
        <div class="backdetails">
                  <p>Address:
                  S/O,{{parent}} ,
                  {{address1}},<br>
                  {{address2}},<br>
                  {{address3}} 
                  {{town}}-{{pin}}.</p>
                  <hr></hr>
                  <p style="margin: 4px 0 4px 0;">Pick Route:{{pickuprout}}</p>
                  <p style="margin: 4px 0 4px 0;">Pick pt:{{pickup}}</p>
                  <p style="margin: 4px 0 4px 0;">Drop Route:{{droprout}}</p>
                  <p style="margin: 4px 0 4px 0;">Drop pt:{{drop}}</p>

                  <hr></hr>
                  <p>Parents Mob:{{mobno}}</p>
                  <hr></hr>
                  <p>Transport Coordinator no:<br>{{coorno}}</p>
        </div>
        </div>
        </div>

      </div>
    </div>
    <div class="buttons">
         <paper-button class="button" id="print" on-click="print">Print</paper-button>
      </div>
  </div>
     <transport-service id="root"></transport-service>

     <iron-ajax
        auto<commit_msg>capitalizing pick and drop points<commit_after><!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="..\..\bower_components/polymer/polymer.html">
<link rel="import" href="..\..\bower_components/paper-item/paper-item.html">
<link rel="import" href="..\..\bower_components/paper-input/paper-input.html">
<link rel="import" href="..\..\bower_components/paper-button/paper-button.html">
<link rel="import" href="..\..\bower_components/iron-ajax/iron-ajax.html">
 <link rel="import" href="../transport-service/transport-service.html">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">

 <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.js"></script>
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js"></script>
      <script type="text/javascript" src="http://mrrio.github.io/jsPDF/dist/jspdf.debug.js"></script>
      <script type="text/javascript" src="http://html2canvas.hertzen.com/build/html2canvas.js"></script>

<style type="text/css">
  
</style>
<dom-module id="studentpass-card">
  <template>
  <div class="student-image" >
   <img id="imgRes">
  </div>
    <div class="left">

          <paper-input class="field" label="Student Name" is="" value="{{value}}" on-keydown="FnInputChanged"></paper-input>
      <paper-listbox class="dropdown-content" id="fetchname" on-iron-select="FnItemSelected">
        <template is="dom-repeat" items="{{itemArray}}" as="item">
          <paper-item>{{item.itemdes}}</paper-item>
        </template>
      </paper-listbox>
      </div>
    <div class="pass">
  <div id="canvas" style="background-image:url(fimage/1.jpg)">

      <div class="front">
     

        <div class="header">
        <div class="logo"><img style="width: 18%; height: 12%; margin-top: 5%;" src="../../images/zeesouth.png"/></div>
        <div class="heading">
          <div class="title">{{schoolname}}</div>
          <div class="address">{{schooladdr}}</div>
        </div>
        </div>
         <hr></hr>
        <div class="body2">
          <div class="studimg">
            <img style="min-height: 12%;min-width: 18%; margin-top: 5%; height: 18%; width: 27%;border: 1px solid;"src="images/{{sid}}.jpg" alt="Paste photo here"/>
          </div>
          <div class="studetail"> 
          <p style="font-size: 16px;">{{studname}}</p>
          <p style="font-size: 16px;">{{stnd}} - {{sec}}</p>
          <p style="font-size: 16px;">Zone - {{zone}}</p>
            </div>
        </div>

  </div>

      <div class="back">
         <div class="body3">
        <div class="backimg">
        <div class="backdetails">
                  <p>Address:
                  S/O,{{parent}} ,
                  {{address1}},<br>
                  {{address2}},<br>
                  {{address3}} 
                  {{town}}-{{pin}}.</p>
                  <hr></hr>
                  <div><p style="margin: 4px 0 4px 0; display: inline;">Pickup Route:</p><p style="margin: 4px 0 4px 0;text-transform: capitalize; display: inline;">{{pickuprout}}</p></div>
                  <div><p style="margin: 4px 0 4px 0; display: inline;">Pickup:</p><p style="margin: 4px 0 4px 0;text-transform: capitalize; display: inline;">{{pickup}}</p></div>
                  <div><p style="margin: 4px 0 4px 0; display: inline;">Drop Route:</p><p style="margin: 4px 0 4px 0;text-transform: capitalize; display: inline;">{{droprout}}</p></div>
                  <div><p style="margin: 4px 0 4px 0; display: inline;">Drop:</p><p style="margin: 4px 0 4px 0;text-transform: capitalize; display: inline;">{{drop}}</p></div>
                  <hr></hr>
                  <p>Parents Mob:{{mobno}}</p>
                  <hr></hr>
                  <p>Transport Coordinator no:<br>{{coorno}}</p>
        </div>
        </div>
        </div>

      </div>
    </div>
    <div class="buttons">
         <paper-button class="button" id="print" on-click="print">Print</paper-button>
      </div>
  </div>
     <transport-service id="root"></transport-service>

     <iron-ajax
        auto
{'fraction_non_alphanumeric': 0.19743678559057845, 'fraction_numerical': 0.014778893892160258, 'mean_word_length': 2.6273031825795643, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 223, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7385875', 'n_tokens_mistral': 2916, 'n_tokens_neox': 2649, 'n_words': 569}