Merge branch 'master' into 'master'
Fix bug. Update css files. See merge request spen/seminar!48
This commit is contained in:
commit
6b31d7e969
|
@ -61,3 +61,27 @@ header{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -73,3 +73,25 @@ header{
|
|||
text-align: right;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -65,3 +65,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,3 +72,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -72,3 +72,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -79,3 +79,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,3 +76,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -76,3 +76,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -75,3 +75,26 @@ header{
|
|||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -65,3 +65,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -76,3 +76,25 @@ header{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -64,3 +64,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -70,3 +70,25 @@ header{
|
|||
text-align: right;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -73,3 +73,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -78,3 +78,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
.layout-footer .layout-footer-inner{
|
||||
background: #ffffff;
|
||||
}
|
||||
.layout-header{
|
||||
.layout-header > .container{
|
||||
background: #01538f;
|
||||
}
|
||||
body{
|
||||
|
@ -80,3 +80,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -78,3 +78,25 @@ body{
|
|||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 80%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px)and(max-width: 1199px){
|
||||
.internal-page.seminar_custom_page header{
|
||||
width: 100%;
|
||||
}
|
||||
.internal-page.seminar_custom_page header .container {
|
||||
width: 90%;
|
||||
}
|
||||
.internal-page.seminar_custom_page .mainContent,.internal-page.seminar_custom_page .layout-slide,.internal-page.seminar_custom_page .layout-content-inner.container,.internal-page.seminar_custom_page .container.layout-footer-inner {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
|
@ -109,3 +109,6 @@ li.w-annc__item.row .w-annc__postdate-wrap {
|
|||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
.page-content-box[data-pp="200"],.page-content-box[data-pp="201"]{
|
||||
background:#fff;
|
||||
}
|
|
@ -273,9 +273,13 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<% @custom_set.each_with_index do |attr_custom,custom_index| %>
|
||||
<%
|
||||
seminar_signup_field = SeminarSignupField.where(id:attr_custom.seminar_signup_field_id).first
|
||||
next if seminar_signup_field.nil?
|
||||
%>
|
||||
<tr>
|
||||
<td>
|
||||
<%= SeminarSignupField.where(id:attr_custom.seminar_signup_field_id).first.title rescue '' %>
|
||||
<%= seminar_signup_field.title rescue '' %>
|
||||
</td>
|
||||
<td>
|
||||
<input type="hidden" class="field_set" name='<%= "seminar_main[seminar_signup_field_customs][#{custom_index}][hidden]" %>' value="false">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<% @field_name_translations << t(th) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @seminar.seminar_signup_field_customs.count != 0 %>
|
||||
<% if false #@seminar.seminar_signup_field_customs.count != 0 %>
|
||||
<% @seminar.seminar_signup_field_customs.each do |field_set| %>
|
||||
<% s = SeminarSignupField.where(id:field_set.seminar_signup_field_id).first %>
|
||||
<% title = s.title rescue '' %>
|
||||
|
@ -104,7 +104,7 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
<% seminar_signup_field_customs = SeminarSignupFieldCustom.all.map{|field_set| SeminarSignupField.where(id: field_set.seminar_signup_field_id).first}.select{|s| !s.nil?}.uniq{|s| s.key } %>
|
||||
<% if seminar_signup_field_customs.count != 0 %>
|
||||
<% if false #seminar_signup_field_customs.count != 0 %>
|
||||
<% seminar_signup_field_customs.each do |s| %>
|
||||
<% title = s.title rescue '' %>
|
||||
<% next if title.blank? %>
|
||||
|
|
|
@ -8,9 +8,11 @@
|
|||
<% if @drag%>
|
||||
<th></th>
|
||||
<% end %>
|
||||
<% @field_name_translations.each_with_index do |trans,i|%>
|
||||
<% next unless @display_field.include?(@field_names[i]) %>
|
||||
<th class="span2" id="<%=@field_names[i]%>"><%= trans %></th>
|
||||
<%
|
||||
@field_name_translations = @field_name_translations.map.with_index{|trans,i| [@field_names[i], trans]}.to_h
|
||||
%>
|
||||
<% @display_field.each do |field_name| %>
|
||||
<th class="span2" id="<%= field_name %>"><%= @field_name_translations[field_name] %></th>
|
||||
<% end %>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
Loading…
Reference in New Issue