<? global $vis_language; ?>

<section id="breadcrumb" class="row m-b m-l-none m-r-none">
	<div class="col-sm-4" id="url_header">
    <h3 class="m-b-xs text-black"><? echo $vis_language['TXTTEAMVIEWER'];?></h3>
    <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
      <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME'];?></a></li>
      <li><a class="link" href="#/remoteaccess/teamviewer_list/<? echo $vis_language['TXTTEAMVIEWER'];?>"><? echo $vis_language['TXTTEAMVIEWER'];?></a></li>
      <li><? echo $teamviewer_meetings['subject'];?></li>
    </ul>
  </div>  
</section>

<section class="padder">
  <section class="panel panel-default">
    <div class="wrapper-sm">
   <a href="javascript:void(0);" class="link pull-right m-t-sm" data-toggle="ajaxModal" data-modal-arguments="vis_module=ticket&vis_operation=new_ticket_step_one&vis_static_area=vis_open_new_dialog&vis_chat_type=teamviewer&vis_email_id=<? echo $chat_object->Email; ?>&vis_domain_id=<? echo $action[3]; ?>&vis_chat_id=<? echo $teamviewer_meetings['id']; ?>" onclick="" type="button"><? echo $vis_language['TXTCONVERTTOTICKET']; ?></a>

      <div class="btn-group">
        <div class="form-group">
          <h5><? echo $teamviewer_meetings['subject'];?></h5>
        </div>
      </div>
    <div class="line b-b line-lg pull-in"></div>
    </div>

    <div class="row m-t">
   <div class="col-md-6"  >
	 <div  id="selectable">
        <div class="row m-b-sm" id="vis_select_all"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTSUBJECT'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><? echo $teamviewer_meetings['subject']; ?></div>
        </div>

        <div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTSTARTDATE'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><? echo $teamviewer_meetings['start']; ?></div>
        </div>

        <div class="row m-b-sm"> <span class="col-xs-3 text-right "><? echo $vis_language['TXTENDDATE'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><?  echo $teamviewer_meetings['end']; ?></div>
        </div>

		<div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTMEETINGID'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><?  echo $teamviewer_meetings['id'];  ?></div>
        </div>

		 <div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTWEBLINK'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><? echo $teamviewer_meetings['participant_web_link']; ?></div>
        </div>

        <div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTCONFERENCECALLINFO']."  ".$vis_language['TXTTYPE'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><? echo $teamviewer_meetings['conference_call_information']['type']; ?></div>
        </div>

		<div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTCONFERENCECALLINFO']."  ".$vis_language['TXTCUSTOMDATA'];?> :</span>
		  <div class=" col-xs-9 text-lt text-muted"><? echo $teamviewer_meetings['conference_call_information']['custom_data']; ?></div>
        </div>
	</div>
	<div class="row m-b-sm"> <span class="col-xs-3 text-right"></span>
          <div class=" col-xs-9 text-lt text-muted"><button type="button" class="btn btn-primary" onclick="selectText('selectable')"><? echo $vis_language['TXTCOPYTOCLIPBOARD']; ?></button></div>
        </div>
      </div>

 </div>

<script type="text/javascript">
    function selectText(containerid) {
        if (document.selection) {
            var range = document.body.createTextRange();
            range.moveToElementText(document.getElementById(containerid));
            range.select();
        } else if (window.getSelection) {
            var range = document.createRange();
            range.selectNode(document.getElementById(containerid));
            window.getSelection().addRange(range);
        }
    }
</script>
