increased button size for mobile
This commit is contained in:
Родитель
276ee06a9d
Коммит
e28dd4655d
|
@ -59,17 +59,11 @@
|
|||
<div class="col-xs-6 col-sm-6 col-md-1">@shift.Available / @shift.Quantity</div>
|
||||
@if ((await AuthorizationService.AuthorizeAsync(User, "OrgAManager")).Succeeded)
|
||||
{
|
||||
<div class="d-block d-xs-none d-sm-none col-xs-6 col-sm-6 font-weight-bold">@Localizer["TableView"]</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-1">
|
||||
<a class="btn btn-primary mb-2" asp-controller="Shift" asp-action="ViewShift" asp-route-StoreName="@shift.StoreName" asp-route-Start="@shift.Start.ToString("yyyy-MM-ddTHH:mm")" asp-route-End="@shift.End.ToString("yyyy-MM-ddTHH:mm")" asp-route-WorkType="@shift.WorkType" asp-route-Quantity="@shift.Quantity" asp-route-Available="@shift.Available">@Localizer["LinkView"]</a>
|
||||
</div>
|
||||
<a class="btn btn-primary col-xs-6 col-sm-6 col-md-1" asp-controller="Shift" asp-action="ViewShift" asp-route-StoreName="@shift.StoreName" asp-route-Start="@shift.Start.ToString("yyyy-MM-ddTHH:mm")" asp-route-End="@shift.End.ToString("yyyy-MM-ddTHH:mm")" asp-route-WorkType="@shift.WorkType" asp-route-Quantity="@shift.Quantity" asp-route-Available="@shift.Available">@Localizer["LinkView"]</a>
|
||||
}
|
||||
@if ((await AuthorizationService.AuthorizeAsync(User, "OrgBEmployee")).Succeeded)
|
||||
{
|
||||
<div class="d-block d-xs-none d-sm-none col-xs-6 col-sm-6 font-weight-bold">@Localizer["TableBook"]</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-1">
|
||||
<a class="btn btn-primary mb-2" asp-controller="Shift" asp-action="Book" asp-route-StoreName="@shift.StoreName" asp-route-Start="@shift.Start.ToString("yyyy-MM-ddTHH:mm")" asp-route-End="@shift.End.ToString("yyyy-MM-ddTHH:mm")" asp-route-WorkType="@shift.WorkType">@Localizer["LinkBook"]</a>
|
||||
</div>
|
||||
<a class="btn btn-primary col-xs-6 col-sm-6 col-md-1" asp-controller="Shift" asp-action="Book" asp-route-StoreName="@shift.StoreName" asp-route-Start="@shift.Start.ToString("yyyy-MM-ddTHH:mm")" asp-route-End="@shift.End.ToString("yyyy-MM-ddTHH:mm")" asp-route-WorkType="@shift.WorkType">@Localizer["LinkBook"]</a>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче