Merge branch 'master' into 'master'

Fix bug. Update css files.

See merge request spen/seminar!48
This commit is contained in:
chiu 2022-07-13 06:30:08 +00:00
commit 6b31d7e969
22 changed files with 395 additions and 9 deletions

View File

@ -61,3 +61,27 @@ header{
padding: 1em; 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%;
}
}

View File

@ -73,3 +73,25 @@ header{
text-align: right; 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%;
}
}

View File

@ -65,3 +65,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -72,3 +72,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -72,3 +72,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -79,3 +79,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -76,3 +76,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -76,3 +76,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -75,3 +75,26 @@ header{
text-align: right; 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%;
}
}

View File

@ -65,3 +65,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -76,3 +76,25 @@ header{
padding: 1em; 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%;
}
}

View File

@ -64,3 +64,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -70,3 +70,25 @@ header{
text-align: right; 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%;
}
}

View File

@ -73,3 +73,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -78,3 +78,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -7,7 +7,7 @@
.layout-footer .layout-footer-inner{ .layout-footer .layout-footer-inner{
background: #ffffff; background: #ffffff;
} }
.layout-header{ .layout-header > .container{
background: #01538f; background: #01538f;
} }
body{ body{
@ -80,3 +80,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -78,3 +78,25 @@ body{
padding: 1em; 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%;
}
}

View File

@ -109,3 +109,6 @@ li.w-annc__item.row .w-annc__postdate-wrap {
padding-right: 1em; padding-right: 1em;
} }
} }
.page-content-box[data-pp="200"],.page-content-box[data-pp="201"]{
background:#fff;
}

View File

@ -273,9 +273,13 @@
</thead> </thead>
<tbody> <tbody>
<% @custom_set.each_with_index do |attr_custom,custom_index| %> <% @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> <tr>
<td> <td>
<%= SeminarSignupField.where(id:attr_custom.seminar_signup_field_id).first.title rescue '' %> <%= seminar_signup_field.title rescue '' %>
</td> </td>
<td> <td>
<input type="hidden" class="field_set" name='<%= "seminar_main[seminar_signup_field_customs][#{custom_index}][hidden]" %>' value="false"> <input type="hidden" class="field_set" name='<%= "seminar_main[seminar_signup_field_customs][#{custom_index}][hidden]" %>' value="false">

View File

@ -22,7 +22,7 @@
<% @field_name_translations << t(th) %> <% @field_name_translations << t(th) %>
<% end %> <% end %>
<% 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| %> <% @seminar.seminar_signup_field_customs.each do |field_set| %>
<% s = SeminarSignupField.where(id:field_set.seminar_signup_field_id).first %> <% s = SeminarSignupField.where(id:field_set.seminar_signup_field_id).first %>
<% title = s.title rescue '' %> <% title = s.title rescue '' %>
@ -104,7 +104,7 @@
<% end %> <% end %>
<% 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 } %> <% 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| %> <% seminar_signup_field_customs.each do |s| %>
<% title = s.title rescue '' %> <% title = s.title rescue '' %>
<% next if title.blank? %> <% next if title.blank? %>

View File

@ -8,9 +8,11 @@
<% if @drag%> <% if @drag%>
<th></th> <th></th>
<% end %> <% end %>
<% @field_name_translations.each_with_index do |trans,i|%> <%
<% next unless @display_field.include?(@field_names[i]) %> @field_name_translations = @field_name_translations.map.with_index{|trans,i| [@field_names[i], trans]}.to_h
<th class="span2" id="<%=@field_names[i]%>"><%= trans %></th> %>
<% @display_field.each do |field_name| %>
<th class="span2" id="<%= field_name %>"><%= @field_name_translations[field_name] %></th>
<% end %> <% end %>
</tr> </tr>
</thead> </thead>