hjkljlhkl
This commit is contained in:
parent
52a1768480
commit
6d55bb3d43
|
|
@ -31,6 +31,7 @@
|
|||
console.log(data);
|
||||
var myObject = JSON.parse(data);
|
||||
console.log(myObject);
|
||||
|
||||
var publicProductBidBox = document.getElementById("publicProductBidBox");
|
||||
var liveScreen = document.getElementById("auctionProductLiveScreenBox");
|
||||
if (publicProductBidBox)
|
||||
|
|
|
|||
|
|
@ -80,7 +80,10 @@ public class AuctionController : BasePluginController
|
|||
var auctionDto = await _auctionService.GetAuctionDtoWithAuctionBids(auctionId, true);
|
||||
var activeMapping = auctionDto?.ProductToAuctionDtos.MinBy(x => x.SortIndex);
|
||||
var isAnyItemLive = activeMapping != null;
|
||||
|
||||
if (auctionDto == null)
|
||||
{
|
||||
return new RedirectResult("/", false);
|
||||
}
|
||||
|
||||
var model = new LiveScreenViewModel(auctionDto);
|
||||
Product product;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
<!-- Item Information -->
|
||||
<ul class="list-group mb-3 border-0">
|
||||
<li class="bg-transparent border-0 list-group-item d-flex justify-content-between align-items-center">
|
||||
<li class="bg-transparent fs-4 border-0 list-group-item d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
@await Html.PartialAsync("Product/_ProductSpecifications.cshtml", Model.ActiveProductDetails.ProductSpecificationModel)
|
||||
</div>
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li class="bg-transparent border-0 list-group-item">
|
||||
<li class="bg-transparent border-0 list-group-item fs-5">
|
||||
<span class="font-weight-bold">Description:</span>
|
||||
<p class="mb-0 mt-2 text-muted">
|
||||
@Html.Raw(Model.ActiveProductDetails.FullDescription)
|
||||
|
|
@ -95,9 +95,9 @@
|
|||
else
|
||||
{
|
||||
<div class="row mt-4">
|
||||
<!-- Bid History Table -->
|
||||
|
||||
<div class="col-12">
|
||||
<h1>@Model.AuctionDto.AuctionName</h1>
|
||||
<h1 class="fs-1">@Model.AuctionDto.AuctionName</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,22 +10,22 @@
|
|||
<strong>@T("Products.Specs")</strong>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="data-table table-responsive">
|
||||
<table class="data-table table table-responsive border-0">
|
||||
@* <thead>
|
||||
<tr class="hidden-row">
|
||||
<th width="25%"><span>@T("Products.Specs.AttributeName")</span></th>
|
||||
<th><span>@T("Products.Specs.AttributeValue")</span></th>
|
||||
</tr>
|
||||
</thead> *@
|
||||
<tbody>
|
||||
<tbody border-0>
|
||||
@foreach (var group in Model.Groups)
|
||||
{
|
||||
@if (group.Attributes.Count > 0)
|
||||
{
|
||||
@if (group.Id > 0)
|
||||
{
|
||||
<tr class="spec-header">
|
||||
<td class="spec-group-name" colspan="2">
|
||||
<tr class="spec-header p-3 border-0">
|
||||
<td class="spec-group-name p-1 bg-transparent" colspan="2">
|
||||
@group.Name
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -35,11 +35,11 @@
|
|||
{
|
||||
var attr = group.Attributes[i];
|
||||
|
||||
<tr @(i % 2 == 0 ? Html.Raw(" class=\"odd\"") : Html.Raw(" class=\"even\""))>
|
||||
<td class="spec-name">
|
||||
@attr.Name
|
||||
<tr class="p-3 border-0">
|
||||
<td class="spec-name bg-transparent p-1">
|
||||
@attr.Name:
|
||||
</td>
|
||||
<td class="spec-value">
|
||||
<td class="spec-value bg-transparent p-1">
|
||||
@for (int j = 0; j < attr.Values.Count; j++)
|
||||
{
|
||||
var value = attr.Values[j];
|
||||
|
|
|
|||
|
|
@ -195,10 +195,7 @@
|
|||
|
||||
function refreshPublicBidBox(data) {
|
||||
|
||||
// let HUFFormatter = new Intl.NumberFormat('hu-HU', {
|
||||
// style: 'currency',
|
||||
// currency: 'HUF',
|
||||
// });
|
||||
//TODO: is it for me?
|
||||
|
||||
var widgetPriceElement = document.getElementById("price-value-" + bidBoxPageViewModel.ProductId);
|
||||
var budButtonElement = document.getElementById("signalRBidButton");
|
||||
|
|
|
|||
Loading…
Reference in New Issue