Skip to content

Commit

Permalink
fix speaker UI broken and remove sso login with customer account (#230)
Browse files Browse the repository at this point in the history
Co-authored-by: odkhang <odkhang@tma.com.vn>
  • Loading branch information
lcduong and odkhang authored Oct 30, 2024
1 parent 27fe3f7 commit a6dc697
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 118 deletions.
13 changes: 0 additions & 13 deletions src/pretalx/common/templates/common/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@
{% endcompress %}
<div class="panel-group" id="accordion">
{% if not hide_login %}
{% if request.event and request.event.organiser and request.event.organiser.slug %}
{% socialapp_exists request.event.organiser.slug as eventyay_exists %}
{% if eventyay_exists %}
{% if not no_buttons %}
<div class="text-center">
<a class="btn btn-lg btn-primary btn-block mt-3" href="{% provider_login_url request.event.organiser.slug %}?next={{ request.path }}">
{% translate "Login as Attendee with Eventyay-Ticket" %}
</a>
</div>
<hr>
{% endif %}
{% endif %}
{% endif %}
<div class="panel panel-default">
<div class="panel-heading text-center" id="headingOne">
<a class="btn btn-lg btn-primary btn-block mt-3" href='{% url "eventyay_common:oauth2_provider.login" %}'>
Expand Down
9 changes: 0 additions & 9 deletions src/pretalx/common/templatetags/socialapp_extras.py

This file was deleted.

96 changes: 0 additions & 96 deletions src/pretalx/static/agenda/css/_agenda.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,102 +88,6 @@
}
}

.schedule-header {
display: flex;
align-items: flex-end;
> span,
> a,
> div {
margin-left: 8px;
}
a i.fa {
padding-right: 0;
}
}

@function is-dark($color) {
$luminance: (0.2126 * red($color) + 0.7152 * green($color) + 0.0722 * blue($color)) / 255;
@return $luminance < 0.5;
}

@mixin contrast-color($bg-color) {
@if is-dark($bg-color) {
color: #fff;
} @else {
color: #000;
}
}

@mixin active-state($color) {
background-color: $color;
@include contrast-color($color);
}

@mixin outline-button($color) {
color: $color;
border-color: $color;

&:hover, &.active {
@include active-state($color);
}
}

#schedule-nav {
display: flex;
flex-direction: row;
align-content: space-between;
z-index: 900;

a {
font-size: 16px;
font-weight: normal;
border-radius: 0;
margin: 0;
&.active {
}
}

.btn-outline-success {
@include outline-button($brand-primary);
}

.btn-outline-info {
@include outline-button($brand-primary);
}

form {
max-width: 250px;
}

.header-right {
margin-left: auto;
display: flex;
flex-direction: row;
align-items: baseline;
& > * {
margin-right: 8px;
height: 90%;
summary {
height: 100%;
margin-bottom: 3px;
color: $brand-primary;
border-color: $brand-primary;
}
.header-right {
margin-left: auto;
display: flex;
flex-direction: row;
align-items: baseline;
& > * {
margin-right: 8px;
height: 90%;
summary {
height: 100%;
margin-bottom: 3px;
}
}
}

#fahrplan noscript,
.pretalx-tabbed {
max-width: 80vw;
Expand Down

0 comments on commit a6dc697

Please sign in to comment.