<div class="tab-overflow">
                        <!-- <ul class="nav nav-tabs nav-tabs-inverse">
                            
                            <li class="active"><a href="javascirpt:void(0)" id="newCsvData" data-toggle="tab">Upload New Csv</a></li>
                            <li><a href="javascirpt:void(0)" id="viewCsvData" data-toggle="tab">View Past Data</a></li>
                 
                        </ul> -->
                        <ul class="nav nav-tabs">
							<li class="active"><a href="javascirpt:void(0)" id="newCsvData" data-toggle="tab">Upload New Csv</a></li>
							<li class=""><a href="javascirpt:void(0)" id="viewCsvData" data-toggle="tab">View Past Data</a></li>
						</ul>
                    </div>
			    
			 	<div class="panel panel-inverse" id="showUploadData" style="display: none;">
				   <!--  <div class="panel-heading">
				        <div class="panel-heading-btn">
				           
				        </div>
				        <h4 class="panel-title p-heading">Past data uploads

				        </h4>
				    </div> -->
				    <div class="panel-body">
				        <table id="tblDataUploads" class="table table-striped table-bordered"  width="100%" cellspacing="0">
							<thead>
				            	<tr>
					                <th>Referal</th>
					                <th>Filename</th>
					                <th>Date</th>
					                <th>Status</th>
					                <th>Records Processed</th>
				            	</tr>
			       			</thead>        
						</table>
				    </div>
				</div>	
				<div class="row" >
					<form class="form-horizontal">
						<div class="form-group" style="width:30%;float:left;padding-left:40px;margin-bottom:0px;"><!-- 
							<h1 class="page-header">
								User Aquisition(Installs)
							</h1> -->
                        </div>
						<!-- <div class="form-group" style="width:25%;float:right;margin-bottom:0px;padding-right:25px;">
                                    <label class="col-md-3 control-label">Period</label>
                                    <div class="col-md-9">
                                        <select id="ddlDonoughnutFilter" class="form-control">
                                            <option value="TODAY">Today</option>
                                            <option value="WEEK">This Week</option>
                                            <option value="MONTH" selected>This Month</option>
                                            <option value="YEAR">This Year</option>
                                        </select>
                                    </div>
                        </div> -->
                        
                    </form>

                 </div>
					<!-- <div class="col-md-6 ui-sortable">
							<div class="panel panel-info" data-sortable-id="chart-js-6">
		                        <div class="panel-heading">
	                            	<h4 class="panel-title p-heading" >Install data</h4>
	                        	</div>
		                        <div class="panel-body" >
	                    			<form class="form-horizontal">
								<div class="form-group" style="text-align:center">
	                	            
					                <div class="col-md-12">

					                    <input id="chkDoughnutSwitch" type="checkbox" checked="false" class="BSswitch" data-off-text="Platform" data-on-text="Referals" data-label-text="Platform" data-on-color="success" data-off-color="success">
					                </div>
	                        	</div>
                        	</form>
		                            
		                            <div>
		                                <canvas id="installDoughnutChart" height="300" width="600" ></canvas>
		                            </div>
		                            <div id="legend3" class="legend"></div>
		                            <p ></p>
		                        </div>
		                    </div>
			        </div> -->

			        <div class="col-md-12 ui-sortable" id="showUplad" style="margin-left: -16px;">
	                    <div class="panel panel-info" data-sortable-id="chart-js-6">
	                        <!-- <div class="panel-heading">
	                            	<h4 class="panel-title p-heading" >Install Sources</h4>
                        	</div> -->
	                        <div class="panel-body" style="height:450px;">
	                            <form class="form-horizontal">
	                                <table class="table table-striped" >
		                                <thead>
		                                    <tr>
		                                        <th></th>
		                                        <th></th>
		                                    </tr>
		                                </thead>
		                                <tbody >
											<tr>
												
												<td><span >AppsFlyer</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-success" href="#uploadDialog" data-toggle="modal" onclick="semusiMetrics.setReferal('APPSFLYER');">Upload</button>
												</td>
											</tr>
											<tr>
												<td><span >Apsalar</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default"  onclick="semusiMetrics.setReferal('APPSALAR');">Upload</button>
												</td>
											</tr>	     	                         <tr>
												<td><span >mobileapptracking/ TUNE</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default" >Upload</button>
												</td>
											</tr>
											<tr>
												<td><span >Facebook</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default" >Upload</button>
												</td>
											</tr>
											<tr>
												<td><span >Google Playstore/ Analytics</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default">Upload</button>
												</td>
											</tr>
											<tr>
												<td><span >Apple Store</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default" >Upload</button>
												</td>
											</tr>
											<tr>
												<td><span >Twitter</span></td>
												<td style="text-align:right">
													<button type="button" class="btn btn-sm btn-default" >Upload</button>
												</td>
											</tr>	                       

		                                </tbody>
		                            	</table>
                        			</form>
                        	</div>
                    	</div>
	        		</div>

			        <div class="modal fade" id="uploadDialog">
						<div class="modal-dialog">
							<div class="modal-content">
								<div class="modal-header">
									<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
									<h4 class="modal-title">Upload CSV data</h4>
								</div>
								<div class="modal-body">
									<form class="form-horizontal">
	                                	<div class="form-group">
		                                    <label class="col-md-3 control-label">Referal</label>
		                                    <div class="col-md-9">
		                                        <input type="text" class="form-control" id="txtReferal" disabled="">
		                                    </div>
	                                	</div>
	                                	<div class="form-group">
		                                    <label class="col-md-3 control-label"></label>
		                                    <div class="col-md-9" id="divDataFormats">
		                                        <div class="radio">
	                                            <label>
	                                                <input type="radio" name="optionsDataType" value="android" checked="" id="rdbAndroid">
	                                                Android CSV Data
	                                            </label>
	                                        	</div>
	                                        	<div class="radio">
	                                            <label>
	                                                <input type="radio" name="optionsDataType" value="ios" id="rdbIos" >
	                                                iOS CSV Data
	                                            </label>
	                                        	</div>
	                                        	<div class="radio">
	                                            <label>
	                                                <input type="radio" name="optionsDataType" value="All" id="rdbAll">
	                                                All platform data
	                                            </label>
	                                        	</div>
		                                    </div>
	                                	</div>
	                                	<div class="form-group">
		                                    <label class="col-md-3 control-label">CSV File</label>

	                                	</div>
	                                	<div class="form-group" >
	                                		<label class="col-md-3 control-label"></label>
		                                    <div class="col-md-9" id="loadingDiv" style="display:none">
		                                        <img src="images/dashboard/loading-gif.gif" width="40px" height="40px"/>
		                                        Processing file data.....
		                                    </div>
		                                    <div class="col-md-9" id="statusMessageDiv" style="display:none">

		                                    </div>
	                                	</div>
	                            	</form>	
								</div>
								<div class="modal-footer">
									<button type="button" id="btnUploadCSV" class="btn btn-sm btn-success" >Submit</button>
	                            	<button type="button"  class="btn btn-sm btn-success" data-dismiss="modal">Close</button>
	                                    
								</div>
							</div>
						</div>
					</div>		 	                