descriptions
This commit is contained in:
parent
dab201f069
commit
0c6ad8bd85
3 changed files with 27 additions and 3 deletions
|
|
@ -91,6 +91,12 @@
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.myoffer-card > div {
|
||||||
|
max-width: 200px;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#create-offer-controls {
|
#create-offer-controls {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,12 @@ h1 {
|
||||||
box-shadow: 0 0 13px #ccc;
|
box-shadow: 0 0 13px #ccc;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subtle-box {
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgb(202, 202, 202);
|
||||||
|
}
|
||||||
|
|
||||||
#login-card > * {
|
#login-card > * {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|
|
||||||
|
|
@ -253,17 +253,29 @@ class MyOffers {
|
||||||
visibilityDescription += ', todos los miembros';
|
visibilityDescription += ', todos los miembros';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const whereAndWhenDescription = `Te va bien quedar: ${someOffer.location_details} | ${someOffer.time_availability_details}.`;
|
||||||
|
|
||||||
|
let otherDescription = '';
|
||||||
|
if (someOffer.are_big_notes_accepted) {
|
||||||
|
otherDescription += 'Se aceptan billetes grandes (100, 200, 500).';
|
||||||
|
}
|
||||||
offersHTML += `
|
offersHTML += `
|
||||||
<div class="shadowed-round-area myoffer-card">
|
<div class="shadowed-round-area myoffer-card">
|
||||||
<div class="trade-description">
|
<div class="subtle-box trade-description">
|
||||||
${tradeDescription}
|
${tradeDescription}
|
||||||
</div>
|
</div>
|
||||||
<div class="payment-methods-description">
|
<div class="subtle-box payment-methods-description">
|
||||||
${paymentMethodsDescription}
|
${paymentMethodsDescription}
|
||||||
</div>
|
</div>
|
||||||
<div class="visibility-description">
|
<div class="subtle-box visibility-description">
|
||||||
${visibilityDescription}
|
${visibilityDescription}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="subtle-box">
|
||||||
|
${whereAndWhenDescription}
|
||||||
|
</div>
|
||||||
|
<div class="subtle-box">
|
||||||
|
${otherDescription}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="shadowed-round-area myoffer-card">
|
<div class="shadowed-round-area myoffer-card">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue