<!doctype html>
<html lang="<?php echo $this->locale->setCurrentLanguage(); ?>">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    
    <style>
	    #loader-wrapper {position: absolute; top: 0; left: 50%; z-index: 10001; font-size: 12px; }
	    #loader-content {position: relative; left: -50%; background-color: #F9EDC3; color: #222222; padding: 5px; text-align: center; font-weight: bold; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border: 1px solid #EDC584; -webkit-box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);
box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);}
    </style>

    <link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css" />
    <link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/style.css<?php echo $this->setFileTimestamp(); ?>">

    <title><?php echo $this->settings['app-title']; ?></title>
    
	<script id="global-js-variables" src="<?php echo $this->getPublicUri(); ?>global-js"></script>
    
  </head>
  
  <body class="decorated">
		<div id="loader-wrapper">
		  <div id="loader-content">
		  	<?php echo _('Loading...'); ?>
		  </div>
		</div>
	  
		<input type="hidden" id="api-key" value="<?php echo $this->config['settings']['api-key']; ?>">
		<input type="hidden" id="group-id" value="0"> <!-- Set by login (AJAX) -->
		<input type="hidden" id="user-id" value="0"> <!-- Set by login (AJAX) -->
		<input type="hidden" id="static-uri" value="<?php echo $this->config['settings']['static-uri']; ?>">
	  
  	<div id="main" class="h-100"></div>
  	
  	
	<div id="transfer-manager">
		<div id="tm-arrow-wrapper">
			<div id="tm-arrow"><?php echo _('Done'); ?></div>
		</div>
		<div id="tm-title">
			<div class="row">
				<div class="col-lg-6"><span class="icon-upload3"></span> (<span id="tm-status-label">Online</span>)</div>
				<div class="col-lg-6 clearfix">
					<div class="float-right">
					</div>
				</div>
			</div>
		</div>
				
		<div id="tm-container">
			<form method="post" id="post-tus-upload">
				
				<div class="row">
					<div class="col-lg-2 margin-bottom-20">						
						<input type="file" multiple="multiple" class="" id="tus-upload-control">
						<button type="button" class="btn btn-success" id="tus-upload-select-dialog"><span class="icon-folder-open"></span> </button>
						<button type="button" class="btn btn-primary" id="btn-tus-upload" data-postid="1"><span class="icon-play2"></span></button>
					</div>
					<div class="col-lg-10">
						
						<div id="upload-list-table-wrapper">
							<table class="table table-sm table-hover" id="tus-upload-file-list">
								<thead>
									<tr>
										<!--<th width="5%"><?php echo _('#ID'); ?></th>-->
										<th width="3%"></th>
										<th><?php echo _('Name'); ?></th>
										<th width="15%" class="text-center"></th>
										<th width="10%">MB</th>
										<th width="5%" class="text-center">
											<button type="button" class="btn btn-warning btn-sm btn-clean-upload-list"><span class="icon-paint-format"></span></button>
										</th>
									</tr>
								</thead>
								
								<tbody>
									
								</tbody>
							</table>
						</div>

					</div>
				</div>
			</form>
		</div>
	</div>
  	
  	<div id="overlay">
	  	<div id="text"><img src="/images/spinner.svg" /></div>
  	</div>
  	
  	<link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/fonts.css">
  	<link rel="stylesheet" href="<?php echo $this->getPublicUri(); ?>css/component-chosen.min.css">
    	
  	<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/bootstrap.min.js"></script>
    <script src="//rawgit.com/saribe/eModal/master/dist/eModal.min.js"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/chosen.jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/tus.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/sammy/sammy-latest.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/router.js<?php echo $this->setFileTimestamp(); ?>" type="text/javascript" charset="utf-8"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
    <script src="<?php echo $this->getPublicUri(); ?>js/app.js<?php echo $this->setFileTimestamp(); ?>" type="text/javascript" charset="utf-8"></script>
    <script async defer src="https://maps.googleapis.com/maps/api/js?key=<?php echo $this->config['settings']['google-maps-key']; ?>&language=en&callback=initMap"
  type="text/javascript"></script>
  </body>
</html>