flpolprojects commited on
Commit
51957b6
·
verified ·
1 Parent(s): e034a6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -28
app.py CHANGED
@@ -276,32 +276,6 @@ def catalog():
276
  font-weight: 700;
277
  text-align: right;
278
  }
279
- .product-old-price {
280
- font-size: 0.9rem;
281
- color: #999;
282
- text-decoration: line-through;
283
- margin-right: 5px;
284
- }
285
- .discount-badge {
286
- position: absolute;
287
- top: 10px;
288
- left: 10px;
289
- background: #ff4444;
290
- color: white;
291
- padding: 5px 10px;
292
- border-radius: 5px;
293
- font-size: 0.8rem;
294
- }
295
- .installment-badge {
296
- position: absolute;
297
- top: 10px;
298
- right: 10px;
299
- background: #00b894;
300
- color: white;
301
- padding: 5px 10px;
302
- border-radius: 5px;
303
- font-size: 0.8rem;
304
- }
305
  .product-button {
306
  display: block;
307
  width: 100%;
@@ -478,8 +452,6 @@ def catalog():
478
  data-name="{{ product['name']|lower }}"
479
  data-description="{{ product['description']|lower }}"
480
  data-category="{{ product.get('category', 'Без категории') }}">
481
- <div class="discount-badge">5% скидка</div>
482
- <div class="installment-badge">0-12</div>
483
  {% if product.get('photos') and product['photos']|length > 0 %}
484
  <div class="product-image">
485
  <img src="https://huggingface.co/datasets/{{ repo_id }}/resolve/main/photos/{{ product['photos'][0] }}"
 
276
  font-weight: 700;
277
  text-align: right;
278
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  .product-button {
280
  display: block;
281
  width: 100%;
 
452
  data-name="{{ product['name']|lower }}"
453
  data-description="{{ product['description']|lower }}"
454
  data-category="{{ product.get('category', 'Без категории') }}">
 
 
455
  {% if product.get('photos') and product['photos']|length > 0 %}
456
  <div class="product-image">
457
  <img src="https://huggingface.co/datasets/{{ repo_id }}/resolve/main/photos/{{ product['photos'][0] }}"