|
|
|
@@ -6,40 +6,48 @@ |
|
|
|
|
|
|
|
<h1>Share files</h1> |
|
|
|
<form method="post" enctype="multipart/form-data" asp-controller="Home" asp-action="CreateMessage" class="share-files-form"> |
|
|
|
<label class="label-text">Sharing link avaliability</label> |
|
|
|
<div class="button-box col-lg-12"> |
|
|
|
<div class="single-button-input"> |
|
|
|
<input id="OneTime" checked="checked" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_TIME"> |
|
|
|
<label for="OneTime" class="label-available"><span style="color:#FFA463">One</span> Time</label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input"> |
|
|
|
<input id="OneHour" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_HOUR"/> <label for="OneHour" class="label-available">1 <span style="color:#B9CFE4;">hour</span></label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input"> |
|
|
|
<input id="OneDay" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_DAY"/> <label for="OneDay" class="label-available">1 <span style="color:#B9CFE4;">day</span></label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input"> |
|
|
|
<input id="SevenDays" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_WEEK"/> <label for="SevenDays" class="label-available">7 <span style="color:#B9CFE4;">days</span></label> |
|
|
|
<div class="mb-3"> |
|
|
|
<label class="label-text">Sharing link avaliability</label> |
|
|
|
<div class="button-box row"> |
|
|
|
<div class="single-button-input col-4"> |
|
|
|
<input id="OneTime" checked="checked" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_TIME"> |
|
|
|
<label for="OneTime" class="label-available"><span style="color:#FFA463">One</span> Time</label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input d-none"> |
|
|
|
<input id="OneHour" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_HOUR"/> <label for="OneHour" class="label-available">1 hour</label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input col-4"> |
|
|
|
<input id="OneDay" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_DAY"/> <label for="OneDay" class="label-available">1 day</label> |
|
|
|
</div> |
|
|
|
<div class="single-button-input col-4"> |
|
|
|
<input id="SevenDays" class="radio-input" type="radio" asp-for="ChosenPeriod" value="@PeriodOfValidity.ONE_WEEK"/> <label for="SevenDays" class="label-available">7 days</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<label class="label-text">Message (optional)</label> |
|
|
|
<textarea asp-for="Text" class="input-message"></textarea> |
|
|
|
<label class="label-text">Upload files</label> |
|
|
|
<div id="dropContainer" class="drop-here"> |
|
|
|
<img class="image-file-upload" src="~/img/file-upload-image.png" alt=""/> |
|
|
|
<div class="default-text text-files-upload"> |
|
|
|
<label for="fileInput" class="btn browse-button"> |
|
|
|
<span style="color:#0D1C52">Drag and drop files here or</span> browse |
|
|
|
</label> |
|
|
|
<input asp-for="Files" id="fileInput" type="file" multiple style="display: none"/> |
|
|
|
<input asp-for="FilesAsText" id="fileInputAsText" type="text" style="display:none" value="978682e8-3ce7-4258-b731-d027b5b213aa"/> |
|
|
|
<div class="mb-3"> |
|
|
|
<label class="label-text">Message (optional)</label> |
|
|
|
<textarea asp-for="Text" class="input-message"></textarea> |
|
|
|
</div> |
|
|
|
<div class="mb-3"> |
|
|
|
<label class="label-text">Upload files</label> |
|
|
|
<div id="dropContainer" class="drop-here"> |
|
|
|
<img class="image-file-upload" src="~/img/file-upload-image.png" alt=""/> |
|
|
|
<div class="default-text text-files-upload"> |
|
|
|
<label for="fileInput" class="btn browse-button"> |
|
|
|
<span style="color:#0D1C52">Drag and drop files here or</span> browse |
|
|
|
</label> |
|
|
|
<input asp-for="Files" id="fileInput" type="file" multiple style="display: none"/> |
|
|
|
<input asp-for="FilesAsText" id="fileInputAsText" type="text" style="display:none" value="978682e8-3ce7-4258-b731-d027b5b213aa"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="label-text"> |
|
|
|
Your files |
|
|
|
</div> |
|
|
|
<div id="filesUploaded"> |
|
|
|
<div class="mb-3"> |
|
|
|
<div class="label-text"> |
|
|
|
Your files |
|
|
|
</div> |
|
|
|
<div id="filesUploaded"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<button class=" btn btn-light share-button" type="submit">Share</button> |