parent
3f31dd0d0c
commit
7a70637b10
|
@ -206,14 +206,14 @@
|
||||||
</p>
|
</p>
|
||||||
<t t-if="record.register_avail.raw_value != 0">
|
<t t-if="record.register_avail.raw_value != 0">
|
||||||
<t t-if="!record.is_subscribed.raw_value">
|
<t t-if="!record.is_subscribed.raw_value">
|
||||||
<input t-att-id="record.id.raw_value" type="text" name="subscribe" class="no_of_seats" value="1" onchange="document.getElementById('btn_sub' +this.id).setAttribute('data-context',JSON.stringify({'ticket':this.value}))"/>
|
<input t-att-id="record.id.raw_value" type="text" name="subscribe" class="no_of_seats" value="1" onchange="document.getElementById('btn_sub' +this.id).setAttribute('data-context',JSON.stringify({'ticket':this.value}))"/>
|
||||||
<button t-att-id="'btn_sub'+record.id.raw_value" type="object" name="subscribe_to_event" class="subscribe_button oe_event_button_subscribe">
|
<button t-att-id="'btn_sub'+record.id.raw_value" type="object" name="subscribe_to_event" class="oe_mail_button_follow">
|
||||||
<span >Subscribe</span>
|
<span >Subscribe</span>
|
||||||
</button>
|
</button>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
<t t-if="record.is_subscribed.raw_value">
|
<t t-if="record.is_subscribed.raw_value">
|
||||||
<button type="object" name="unsubscribe_to_event" class="unsubscribe_button oe_event_button_unsubscribe">
|
<button type="object" name="unsubscribe_to_event" class="oe_mail_button_unfollow">
|
||||||
<span>Subscribed</span>
|
<span>Subscribed</span>
|
||||||
<span class="unsubscribe">Unsubscribe</span>
|
<span class="unsubscribe">Unsubscribe</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -29,63 +29,11 @@
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background-color: #8A89BA;
|
background-color: #8A89BA;
|
||||||
}
|
}
|
||||||
div.oe_fold_column{
|
|
||||||
padding:0px !important;
|
|
||||||
}
|
|
||||||
.oe_event_button_subscribe {
|
|
||||||
color: white;
|
|
||||||
background-color: #8a89ba;
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#8a89ba), to(#807fb4));
|
|
||||||
background-image: -webkit-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -moz-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -ms-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -o-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: linear-gradient(to bottom, #8a89ba, #807fb4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.oe_event_button_unsubscribe {
|
.no_of_seats{
|
||||||
color: white;
|
|
||||||
background-color: #8a89ba;
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#8a89ba), to(#807fb4));
|
|
||||||
background-image: -webkit-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -moz-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -ms-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: -o-linear-gradient(top, #8a89ba, #807fb4);
|
|
||||||
background-image: linear-gradient(to bottom, #8a89ba, #807fb4);;
|
|
||||||
}
|
|
||||||
.oe_event_button_subscribe:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
/*background: #DC5F59 none;*/
|
|
||||||
|
|
||||||
}
|
|
||||||
.oe_event_button_unsubscribe:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
background: #DC5F59 none;
|
|
||||||
}
|
|
||||||
.unsubscribe, .unsubscribe_button:hover span {
|
|
||||||
display: none;
|
|
||||||
background-color: #DC5F59
|
|
||||||
}
|
|
||||||
.unsubscribe_button:hover .unsubscribe {
|
|
||||||
display: inline;
|
|
||||||
background-color: #DC5F59;
|
|
||||||
}
|
|
||||||
.no_of_seats{
|
|
||||||
width:35px;
|
width:35px;
|
||||||
|
|
||||||
}
|
|
||||||
.oe_event_title{
|
|
||||||
font-size: 25px;
|
|
||||||
}
|
|
||||||
.oe_sub1
|
|
||||||
{
|
|
||||||
float:left;
|
|
||||||
height:50px;
|
|
||||||
border-right: 1px solid black;
|
|
||||||
border-color: #DCDCDC;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.oe_mapbox
|
.oe_mapbox
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -95,27 +43,3 @@ div.oe_fold_column{
|
||||||
border: 1px solid #eeeeee;
|
border: 1px solid #eeeeee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oe_td_border
|
|
||||||
{
|
|
||||||
width: 7em;
|
|
||||||
padding: 5px;
|
|
||||||
border-right: 1px solid black;
|
|
||||||
text-align: right;
|
|
||||||
border-color: #DCDCDC;
|
|
||||||
border-spacing:5em
|
|
||||||
}
|
|
||||||
.oe_td_date_border
|
|
||||||
{
|
|
||||||
border-right:1px solid black;
|
|
||||||
border-color: #DCDCDC;
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea.field_text
|
|
||||||
{
|
|
||||||
width: 765px;
|
|
||||||
height: 318px;
|
|
||||||
}
|
|
||||||
td.oe_form_group_nested
|
|
||||||
{
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue