The next generation of the Teknik Services. Written in ASP.NET.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.4 KiB

@model Teknik.Areas.Upload.ViewModels.DownloadViewModel
@using Teknik.Utilities
var encScriptSrc = '@Scripts.Url("~/bundles/cryptoWorker")';
var aesScriptSrc = '@Scripts.Url("~/bundles/crypto")';
var downloadDataUrl = '@Url.SubRouteUrl("upload", "Upload.Action", new { action = "DownloadData" })';
var fileName = '@Model.FileName';
var fileType = '@Model.ContentType';
var iv = '@Model.IV';
var chunkSize = @(Model.Config.UploadConfig.ChunkSize);
<!-- Add UI for downloading info -->
<div class="container">
<div class="page-header text-center">
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="center-block">
<dl class="dl-horizontal">
<dt>File Size</dt>
<div class="row">
<div class="col-sm-12">
<div class="progress" id="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 0%">0%</div>