Browse Source

Fixed unchanged references.

master
Teknikode 6 years ago
parent
commit
f59e444a3e
  1. 3
      Teknik.sln
  2. 4
      Teknik/Areas/Help/Views/Help/Upload.cshtml
  3. 4
      Teknik/Areas/Transparency/Views/Transparency/Index.cshtml
  4. 4
      Teknik/Areas/Upload/Views/Upload/Download.cshtml
  5. 4
      Teknik/Areas/Upload/Views/Upload/Index.cshtml
  6. 3
      Teknik/Areas/User/Views/User/Index.cshtml

3
Teknik.sln

@ -14,8 +14,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution @@ -14,8 +14,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerMaint", "ServerMaint\ServerMaint.csproj", "{E08975F9-1B84-41B0-875A-CEC9778C4F9E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utilities", "Utilities", "{9408DBDE-D7DF-45EE-AAEB-821BABAA6152}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{783361EC-DCD6-4A34-8479-5476DF752C34}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utilities", "Utilities\Utilities\Utilities.csproj", "{F45DE6FC-3754-4954-A20A-4277362CC6C1}"
@ -59,6 +57,5 @@ Global @@ -59,6 +57,5 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{E08975F9-1B84-41B0-875A-CEC9778C4F9E} = {783361EC-DCD6-4A34-8479-5476DF752C34}
{F45DE6FC-3754-4954-A20A-4277362CC6C1} = {9408DBDE-D7DF-45EE-AAEB-821BABAA6152}
EndGlobalSection
EndGlobal

4
Teknik/Areas/Help/Views/Help/Upload.cshtml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
@model Teknik.Areas.Help.ViewModels.HelpViewModel
@using Teknik.Helpers
@using Teknik.Utilities
<div class="container">
<div class="row">
@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
</p>
<h3>Upload Requirements</h3>
<p>
The maximum file size per upload is <b>@Utility.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize)</b>
The maximum file size per upload is <b>@StringHelper.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize)</b>
</p>
<p>
Each file is scanned for viruses at upload. If it fails, it will cancel the upload. Currently only files that are unencrypted when being sent to the server will be scanned successfully for viruses. If the file is encrypted client side, the encrypted data will be checked. This could create a false positive, but since the key is randomly generated, the next attempt should not be flagged.

4
Teknik/Areas/Transparency/Views/Transparency/Index.cshtml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
@model Teknik.Areas.Transparency.ViewModels.TransparencyViewModel
@using Teknik.Helpers
@using Teknik.Utilities
@using Teknik.Areas.Transparency.Models
@Scripts.Render("~/bundles/transparency")
@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
<div class="col-sm-6">
<h3>Uploads</h3>
<p>Number of Uploads: @Model.UploadCount</p>
<p>Total Size: @Utility.GetBytesReadable(Model.UploadSize)</p>
<p>Total Size: @StringHelper.GetBytesReadable(Model.UploadSize)</p>
</div>
<div class="col-sm-6">
<h3>Pastes</h3>

4
Teknik/Areas/Upload/Views/Upload/Download.cshtml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
@model Teknik.Areas.Upload.ViewModels.DownloadViewModel
@using Teknik.Helpers
@using Teknik.Utilities
<script>
var encScriptSrc = '@Scripts.Url("~/bundles/cryptoWorker")';
@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
<dt>Content-Type</dt>
<dd>@Model.ContentType</dd>
<dt>File Size</dt>
<dd>@(Utility.GetBytesReadable(Model.ContentLength))</dd>
<dd>@(StringHelper.GetBytesReadable(Model.ContentLength))</dd>
</dl>
</div>
</div>

4
Teknik/Areas/Upload/Views/Upload/Index.cshtml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
@model Teknik.Areas.Upload.ViewModels.UploadViewModel
@using Teknik.Helpers
@using Teknik.Utilities
<script>
var encScriptSrc = '@Scripts.Url("~/bundles/cryptoWorker")';
@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
To view the file decrypted, you must use the direct Teknik link in a javascript enabled browser or save the key to the server.
</p>
<p>
The maximum file size per upload is <b>@Utility.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize)</b>
The maximum file size per upload is <b>@StringHelper.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize)</b>
</p>
</div>
<div class="text-center">

3
Teknik/Areas/User/Views/User/Index.cshtml

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
@model Teknik.Areas.Users.ViewModels.ProfileViewModel
@using Teknik.Helpers
@using Teknik.Utilities
@using Teknik.Areas.Paste
@using Teknik.Areas.Upload
@ -127,7 +128,7 @@ @@ -127,7 +128,7 @@
<div class="panel-body">
<div class="col-sm-2 text-center">
<label for="size">Size</label>
<p id="size">@Utility.GetBytesReadable(upload.ContentLength)</p>
<p id="size">@StringHelper.GetBytesReadable(upload.ContentLength)</p>
</div>
<div class="col-sm-3 text-center">
<label for="type">Type</label>

Loading…
Cancel
Save