open new offer pane
This commit is contained in:
parent
bab9e6ad87
commit
cb82d39ea5
2 changed files with 16 additions and 3 deletions
|
|
@ -0,0 +1,8 @@
|
|||
const buttonStartCreateOffer = document.getElementById(
|
||||
'button-start-create-offer'
|
||||
);
|
||||
const createOfferControls = document.getElementById('create-offer-controls');
|
||||
|
||||
buttonStartCreateOffer.addEventListener('click', () => {
|
||||
createOfferControls.style.display = 'block';
|
||||
});
|
||||
|
|
@ -11,9 +11,14 @@
|
|||
<%- include("partials/appCommonHeader") %>
|
||||
|
||||
<div class="over-background">
|
||||
<button class="button-primary">Crear oferta</button>
|
||||
<div style="display: none">
|
||||
<p>Let's create your offer</p>
|
||||
<button id="button-start-create-offer" class="button-primary">
|
||||
Crear nueva oferta
|
||||
</button>
|
||||
<div id="create-offer-controls" style="display: none">
|
||||
<p>Añade los detalles de tu oferta</p>
|
||||
<button id="button-submit-offer" class="button-primary" disabled>
|
||||
Publicar oferta
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue