update template
This commit is contained in:
parent
c12989eafc
commit
2a02a99c8f
|
@ -1,63 +1,63 @@
|
|||
<div class="w-calendar widget-calendar-1" data-module="calendar">
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title ">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="close_box">X</div>
|
||||
<div class="event-header"></div>
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%= stylesheet_link_tag "calendar_widget1" %>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
if(document.getElementById("calendar-widget_module") == null){
|
||||
var tag = document.createElement('script');
|
||||
tag.setAttribute("id", "calendar-widget_module");
|
||||
tag.src = "<%= asset_path('calendar_widget.js') %>";
|
||||
tag.onload = function(){
|
||||
$('div.widget-calendar-1[data-module=calendar][data-subpart-id="{{subpart-id}}"]').each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth1(new Date(), calendar,calendar.data("subpart-id"),"{{more_url}}",false);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
}
|
||||
var head = document.getElementsByTagName("head");
|
||||
head[0].appendChild(tag);
|
||||
}
|
||||
});
|
||||
<div class="w-calendar widget-calendar-1" data-module="calendar">
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title ">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="close_box">X</div>
|
||||
<div class="event-header"></div>
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%= stylesheet_link_tag "calendar_widget1" %>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
if(document.getElementById("calendar-widget_module") == null){
|
||||
var tag = document.createElement('script');
|
||||
tag.setAttribute("id", "calendar-widget_module");
|
||||
tag.src = "<%= asset_path('calendar_widget.js') %>";
|
||||
tag.onload = function(){
|
||||
$('div.widget-calendar-1[data-module=calendar][data-subpart-id="{{subpart-id}}"]').each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth1(new Date(), calendar,calendar.data("subpart-id"),"{{more_url}}",false);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
}
|
||||
var head = document.getElementsByTagName("head");
|
||||
head[0].appendChild(tag);
|
||||
}
|
||||
});
|
||||
</script>
|
|
@ -1,79 +1,79 @@
|
|||
<div class="w-calendar widget-calendar-2" data-module="calendar">
|
||||
<div class="w-calendar-title {{widget_title_class}}">
|
||||
<span>{{calendar_title}}</span>
|
||||
<span>{{widget_title}}</span>
|
||||
</div>
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="event">
|
||||
<div class="event-header">
|
||||
<div class="date">
|
||||
<div class="day"></div>
|
||||
<div class="month"></div>
|
||||
</div>
|
||||
<div class="event-title">
|
||||
<div class="event-inner-title"></div>
|
||||
<div class="duration"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="event-wraper">
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%= stylesheet_link_tag "calendar_widget2" %>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
if(document.getElementById("calendar-widget_module2") == null){
|
||||
var tag = document.createElement('script');
|
||||
tag.setAttribute("id", "calendar-widget_module2");
|
||||
tag.src = "<%= asset_path('calendar_widget2.js') %>";
|
||||
tag.onload = function(){
|
||||
$('div.widget-calendar-2[data-module="calendar"][data-subpart-id="{{subpart-id}}"]').each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth2(new Date(), calendar,calendar.data("subpart-id"),"{{more_url}}",false);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
}
|
||||
var head = document.getElementsByTagName("head");
|
||||
head[0].appendChild(tag);
|
||||
}
|
||||
});
|
||||
<div class="w-calendar widget-calendar-2" data-module="calendar">
|
||||
<div class="w-calendar-title {{widget_title_class}}">
|
||||
<span>{{calendar_title}}</span>
|
||||
<span>{{widget_title}}</span>
|
||||
</div>
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="event">
|
||||
<div class="event-header">
|
||||
<div class="date">
|
||||
<div class="day"></div>
|
||||
<div class="month"></div>
|
||||
</div>
|
||||
<div class="event-title">
|
||||
<div class="event-inner-title"></div>
|
||||
<div class="duration"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="event-wraper">
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%= stylesheet_link_tag "calendar_widget2" %>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
if(document.getElementById("calendar-widget_module2") == null){
|
||||
var tag = document.createElement('script');
|
||||
tag.setAttribute("id", "calendar-widget_module2");
|
||||
tag.src = "<%= asset_path('calendar_widget2.js') %>";
|
||||
tag.onload = function(){
|
||||
$('div.widget-calendar-2[data-module="calendar"][data-subpart-id="{{subpart-id}}"]').each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth2(new Date(), calendar,calendar.data("subpart-id"),"{{more_url}}",false);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
}
|
||||
var head = document.getElementsByTagName("head");
|
||||
head[0].appendChild(tag);
|
||||
}
|
||||
});
|
||||
</script>
|
|
@ -1,41 +1,41 @@
|
|||
<div id="orbit_calendar">
|
||||
<div id="sec1">
|
||||
<div class="btn-toolbar" id="navigation">
|
||||
<div id="calendar-nav">
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm" id="prev_month_btn">
|
||||
<i class="icon-chevron-left"></i>
|
||||
</button>
|
||||
<button class="btn btn-default btn-sm" id="next_month_btn">
|
||||
<i class="icon-chevron-right"></i>
|
||||
</button>
|
||||
<button class="btn btn-default btn-sm" id="today_btn"><%=t('calendar.today')%></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-inline" id="range_selection"></div>
|
||||
</div>
|
||||
<div id='sec3' class="btn-toolbar">
|
||||
<div class="btn-group calendar_mode">
|
||||
<div data-list="modes_info" data-level="0">
|
||||
<button class="btn btn-default mode_switch btn-sm {{active_class}}" data-mode="{{mode}}" >{{trans}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<button id="refresh_btn" class="btn btn-default btn-sm">
|
||||
<i class="icons-cycle"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div id="view_holder">
|
||||
<h3 id="current_title" class="current_day_title">
|
||||
<span style="display: none;">placeholder</span>
|
||||
</h3>
|
||||
<div id="calendar"></div>
|
||||
<div id="calendar_agenda"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="event_quick_view" class="modal" style="width: 300px; display:none; margin:0 0 0 0;"></div>
|
||||
<div id="calendar-loading"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var calendar = new Calendar("#calendar","{{page_id}}");
|
||||
<div id="orbit_calendar">
|
||||
<div id="sec1">
|
||||
<div class="btn-toolbar" id="navigation">
|
||||
<div id="calendar-nav">
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm" id="prev_month_btn">
|
||||
<i class="icon-chevron-left"></i>
|
||||
</button>
|
||||
<button class="btn btn-default btn-sm" id="next_month_btn">
|
||||
<i class="icon-chevron-right"></i>
|
||||
</button>
|
||||
<button class="btn btn-default btn-sm" id="today_btn"><%=t('calendar.today')%></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-inline" id="range_selection"></div>
|
||||
</div>
|
||||
<div id='sec3' class="btn-toolbar">
|
||||
<div class="btn-group calendar_mode">
|
||||
<div data-list="modes_info" data-level="0">
|
||||
<button class="btn btn-default mode_switch btn-sm {{active_class}}" data-mode="{{mode}}" >{{trans}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<button id="refresh_btn" class="btn btn-default btn-sm">
|
||||
<i class="icons-cycle"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div id="view_holder">
|
||||
<h3 id="current_title" class="current_day_title">
|
||||
<span style="display: none;">placeholder</span>
|
||||
</h3>
|
||||
<div id="calendar"></div>
|
||||
<div id="calendar_agenda"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="event_quick_view" class="modal" style="width: 300px; display:none; margin:0 0 0 0;"></div>
|
||||
<div id="calendar-loading"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var calendar = new Calendar("#calendar","{{page_id}}");
|
||||
</script>
|
|
@ -1,55 +1,55 @@
|
|||
<script type="text/javascript" src="<%= asset_path('calendar_widget.js') %>" id="calendar-index_module"></script>
|
||||
{{style_tag}}
|
||||
<div class="w-calendar widget-calendar-1 index2" data-module="calendar" data-page-id="{{page_id}}">
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="close_box">X</div>
|
||||
<div class="event-header"></div>
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("div.index2[data-module=calendar]").each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth1(new Date(), calendar,calendar.data("page-id"),"",true);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
})
|
||||
<script type="text/javascript" src="<%= asset_path('calendar_widget.js') %>" id="calendar-index_module"></script>
|
||||
{{style_tag}}
|
||||
<div class="w-calendar widget-calendar-1 index2" data-module="calendar" data-page-id="{{page_id}}">
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="close_box">X</div>
|
||||
<div class="event-header"></div>
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("div.index2[data-module=calendar]").each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth1(new Date(), calendar,calendar.data("page-id"),"",true);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
|
@ -1,71 +1,71 @@
|
|||
<script type="text/javascript" src="<%= asset_path('calendar_widget2.js') %>" id="calendar-index_module2"></script>
|
||||
{{style_tag}}
|
||||
<div class="w-calendar widget-calendar-2 index3" data-module="calendar" data-page-id="{{page_id}}">
|
||||
<div class="w-calendar-title {{widget_title_class}}">
|
||||
<span>{{calendar_title}}</span>
|
||||
<span>{{widget_title}}</span>
|
||||
</div>
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title ">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="event">
|
||||
<div class="event-header">
|
||||
<div class="date">
|
||||
<div class="day"></div>
|
||||
<div class="month"></div>
|
||||
</div>
|
||||
<div class="event-title">
|
||||
<div class="event-inner-title"></div>
|
||||
<div class="duration"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="event-wraper">
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("div.index3[data-module=calendar]").each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth2(new Date(), calendar,calendar.data("page-id"),"",true);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
})
|
||||
<script type="text/javascript" src="<%= asset_path('calendar_widget2.js') %>" id="calendar-index_module2"></script>
|
||||
{{style_tag}}
|
||||
<div class="w-calendar widget-calendar-2 index3" data-module="calendar" data-page-id="{{page_id}}">
|
||||
<div class="w-calendar-title {{widget_title_class}}">
|
||||
<span>{{calendar_title}}</span>
|
||||
<span>{{widget_title}}</span>
|
||||
</div>
|
||||
<div class='month_template'>
|
||||
<h4 class="widget-title ">
|
||||
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||
</h4>
|
||||
<div class="w-calendar-nav">
|
||||
<a href="#" class="w-calendar-nav-prev">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||
</a>
|
||||
<a href="#" class="w-calendar-nav-next">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-condensed w-calendar-table">
|
||||
<thead>
|
||||
<tr data-list="week_title" data-level="0">
|
||||
<th>{{week_title}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{default_column}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="calendar-events" style="display: none;">
|
||||
<div class="event">
|
||||
<div class="event-header">
|
||||
<div class="date">
|
||||
<div class="day"></div>
|
||||
<div class="month"></div>
|
||||
</div>
|
||||
<div class="event-title">
|
||||
<div class="event-inner-title"></div>
|
||||
<div class="duration"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="event-wraper">
|
||||
<div class="event-containers">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("div.index3[data-module=calendar]").each(function(index){
|
||||
var calendar = $(this),
|
||||
cmi = new CalendarModuleMonth2(new Date(), calendar,calendar.data("page-id"),"",true);
|
||||
cmi.currentMonth();
|
||||
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||
var el = $(this);
|
||||
if(el.hasClass("w-calendar-nav-prev")){
|
||||
cmi.prevMonth();
|
||||
}else if(el.hasClass("w-calendar-nav-next")){
|
||||
cmi.nextMonth();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
|
@ -1,46 +1,46 @@
|
|||
{
|
||||
"frontend": [
|
||||
{
|
||||
"filename" : "index",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 行事曆",
|
||||
"en" : "1. Calendar"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "index2",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 行事曆(和widget樣式1同)",
|
||||
"en" : "2. Calendar(same as widget style 1)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "index3",
|
||||
"name" : {
|
||||
"zh_tw" : "3. 行事曆加公告",
|
||||
"en" : "3. Calendar with announcement"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
}
|
||||
],
|
||||
"widgets" : [
|
||||
{
|
||||
"filename" : "calendar_widget1",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 行事曆",
|
||||
"en" : "1. Calendar"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "calendar_widget2",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 行事曆加公告",
|
||||
"en" : "2. Calendar with announcement"
|
||||
},
|
||||
"thumbnail" : "thumb2.png"
|
||||
}
|
||||
]
|
||||
{
|
||||
"frontend": [
|
||||
{
|
||||
"filename" : "index",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 行事曆",
|
||||
"en" : "1. Calendar"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "index2",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 行事曆(和widget樣式1同)",
|
||||
"en" : "2. Calendar(same as widget style 1)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "index3",
|
||||
"name" : {
|
||||
"zh_tw" : "3. 行事曆加公告",
|
||||
"en" : "3. Calendar with announcement"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
}
|
||||
],
|
||||
"widgets" : [
|
||||
{
|
||||
"filename" : "calendar_widget1",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 行事曆",
|
||||
"en" : "1. Calendar"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "calendar_widget2",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 行事曆加公告",
|
||||
"en" : "2. Calendar with announcement"
|
||||
},
|
||||
"thumbnail" : "thumb2.png"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<h3 class="page-module-title">{{page-title}}</h3>
|
||||
<article>
|
||||
<div data-level="0" data-list="journal_papers">
|
||||
<h3 class="year">{{year}}</h3>
|
||||
<div data-level="1" data-list="jps_list">
|
||||
<h4>{{name}}</h4>
|
||||
<ul data-level="2" data-list="jps">
|
||||
<li>{{title}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{{pagination_goes_here}}
|
|
@ -15,6 +15,14 @@
|
|||
"en" : "2. List which includes search"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "index_by_author",
|
||||
"name" : {
|
||||
"zh_tw" : "3. 作者論文",
|
||||
"en" : "3. List by Author"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
<div class="w-video_data video_data-widget-1">
|
||||
<ul class="video_data__wrap" data-list="videos" data-level="0">
|
||||
<li class="video_data col-sm-4" data-video-url="{{video_url}}" data-video-webm-url="{{video_webm_url}}" data-type="{{video_type}}">
|
||||
<a class="video_link" href="{{video_show_url}}" title="{{video_title_escape}}">
|
||||
<img class="video_snapshot" src="{{snapshot_url}}"/>
|
||||
<div class="video_info">
|
||||
<div class="video_group_time">{{video_post_agency}} | {{video_postdate}}</div>
|
||||
<div class="video_category">{{video_category}}</div>
|
||||
<div class="video_title"><h4>{{video_title}}</h4></div>
|
||||
<div class="video_desc">{{video_desc}}</div>
|
||||
<div class="view_info">
|
||||
<span><img src="{{hd_icon_url}}" alt="HD"></span>
|
||||
<span><img src="{{view_icon_url}}" alt="{{view_count_trans}}>">x {{view_count}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<style>
|
||||
.video_group_time{
|
||||
color: #4487cb;
|
||||
}
|
||||
.video_category{
|
||||
color: #e4374a;
|
||||
}
|
||||
.video_title h4{
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.view_info{
|
||||
float: right;
|
||||
}
|
||||
.view_info img{
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
</div>
|
|
@ -0,0 +1,20 @@
|
|||
<div class="w-video_data video_data-widget-2">
|
||||
<%= javascript_include_tag 'video_pro/jqcloud.min' %>
|
||||
<%= stylesheet_link_tag 'video_pro/jqcloud.min' %>
|
||||
<div class="my_favorite_latin_words jqcloud" style="height: 100px;"></div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('[data-subpart-id="{{subpart-id}}"] .my_favorite_latin_words').jQCloud({{jqcloud_words}}, {
|
||||
autoResize: true,
|
||||
afterCloudRender: function(){
|
||||
var is_chinese = (window.I18n && I18n.locale == "zh_tw" || I18n.locale == "zh_cn");
|
||||
$(this).find('a').each(function(i,v){
|
||||
var $v = $(v);
|
||||
$v.attr('title', is_chinese ? ('另開新視窗前往' + $v.text()) : ('Open ' + $v.text() + ' in new tab'));
|
||||
$v.attr('target', '_blank');
|
||||
})
|
||||
}
|
||||
});
|
||||
})
|
||||
</script>
|
||||
</div>
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"widgets" : [
|
||||
{
|
||||
"filename" : "video_pro_widget1",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 影片列表1 ( 縮圖, 影片資訊, 頁面連結)",
|
||||
"en" : "1. Video List 1 ( snapshot, video info, page link)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "video_pro_widget_jqcloud1",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 影片文字雲(標籤)",
|
||||
"en" : "2. Video Word Cloud(tags)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
}
|
||||
],
|
||||
"frontend" : [
|
||||
{
|
||||
"filename" : "video_pro_index1",
|
||||
"name" : {
|
||||
"zh_tw" : "1. 影片列表1 ( 縮圖, 影片資訊, 頁面連結)",
|
||||
"en" : "1. Video List 1 ( snapshot, video info, page link)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "video_pro_index2",
|
||||
"name" : {
|
||||
"zh_tw" : "2. 影片列表1 + 類別 + 搜尋 ( 縮圖, 影片資訊, 頁面連結)",
|
||||
"en" : "2. Video List 1 + Category filter + Search ( snapshot, video info, page link)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "video_pro_index3",
|
||||
"name" : {
|
||||
"zh_tw" : "3. 影片列表2 + 懸浮框 ( 縮圖, 影片資訊)",
|
||||
"en" : "3. Video List 2 + Modal window ( snapshot, video info)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
},
|
||||
{
|
||||
"filename" : "video_pro_index_post_agency1",
|
||||
"name" : {
|
||||
"zh_tw" : "4. 影片列表3 + 發佈單位篩選 ( 縮圖, 影片資訊, 關鍵字, 頁面連結)",
|
||||
"en" : "4. Video List 3 + Post Agency filter ( snapshot, video info, keyword, page link)"
|
||||
},
|
||||
"thumbnail" : "thumb.png"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
|
@ -0,0 +1,43 @@
|
|||
<div class="i-video_data video_data-index-1">
|
||||
<ul class="video_data__wrap" data-list="videos" data-level="0">
|
||||
<li class="video_data col-sm-4" data-video-url="{{video_url}}" data-video-webm-url="{{video_webm_url}}" data-type="{{video_type}}">
|
||||
<a class="video_link" href="{{video_show_url}}" title="{{video_title_escape}}">
|
||||
<img class="video_snapshot" src="{{snapshot_url}}"/>
|
||||
<div class="video_info">
|
||||
<div class="video_group_time">{{video_post_agency}} | {{video_postdate}}</div>
|
||||
<div class="video_category">{{video_category}}</div>
|
||||
<div class="video_title"><h4>{{video_title}}</h4></div>
|
||||
<div class="video_desc">{{video_desc}}</div>
|
||||
<div class="view_info">
|
||||
<span><img src="{{hd_icon_url}}" alt="HD"></span>
|
||||
<span><img src="{{view_icon_url}}" alt="{{view_count_trans}}>">x {{view_count}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<style>
|
||||
.video_group_time{
|
||||
color: #4487cb;
|
||||
}
|
||||
.video_category{
|
||||
color: #e4374a;
|
||||
}
|
||||
.video_title h4{
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.view_info{
|
||||
float: right;
|
||||
}
|
||||
.view_info img{
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,141 @@
|
|||
<div class="i-video_data video_data-index-2">
|
||||
<div class="video_filter_area col-sm-12">
|
||||
<form>
|
||||
<div class="category_box col-sm-6">
|
||||
<select name="category" id="filter_category_box" data-list="categories" data-level="0">
|
||||
{{option}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="search_box col-sm-6">
|
||||
<div class="search_input">
|
||||
<div class="search_keyword"><input accesskey="S" type="text" id="search" name="search" value="{{search_value}}" placeholder="{{search_placeholder}}"></div>
|
||||
<div class="search_submit"><input type="submit" value="{{search_text1}}" title="{{search_text2}}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="page_tab_box col-sm-12">
|
||||
<ul class="video_tablist" data-list="page_tabs" data-level="0">
|
||||
<li class="{{klass}}"><a title="{{title}}" href="{{url}}">{{title}}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="video_data_wrap" data-list="videos" data-level="0">
|
||||
<li class="video_data col-sm-4" data-video-url="{{video_url}}" data-video-webm-url="{{video_webm_url}}" data-type="{{video_type}}">
|
||||
<a class="video_link" href="{{video_show_url}}" title="{{video_title_escape}}">
|
||||
<img class="video_snapshot" src="{{snapshot_url}}"/>
|
||||
<div class="video_info">
|
||||
<div class="video_group_time">{{video_post_agency}} | {{video_postdate}}</div>
|
||||
<div class="video_category">{{video_category}}</div>
|
||||
<div class="video_title"><h4>{{video_title}}</h4></div>
|
||||
<div class="video_desc">{{video_desc}}</div>
|
||||
<div class="view_info">
|
||||
<span><img src="{{hd_icon_url}}" alt="HD"></span>
|
||||
<span><img src="{{view_icon_url}}" alt="{{view_count_trans}}>">x {{view_count}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<style>
|
||||
.video_filter_area {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#filter_category_box {
|
||||
width: 100%;
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
max-width: none;
|
||||
border: none;
|
||||
padding: 0 1em;
|
||||
}
|
||||
.category_box {
|
||||
padding: 0;
|
||||
}
|
||||
.search_box {
|
||||
padding-right: 0;
|
||||
}
|
||||
@media (max-width: 767px){
|
||||
.search_box {
|
||||
padding: 0;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
}
|
||||
.search_keyword {
|
||||
margin-right: 50px;
|
||||
}
|
||||
.search_input input[type=text] {
|
||||
padding: 0 1em;
|
||||
line-height: 50px;
|
||||
}
|
||||
.search_input input {
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
border: none;
|
||||
}
|
||||
.search_submit {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 50px;
|
||||
height: 100%;
|
||||
}
|
||||
.search_input input[type=submit] {
|
||||
background: url(/assets/video_pro/search_btn.png) center center no-repeat #c9c9c9;
|
||||
font-size: 0;
|
||||
}
|
||||
.video_tablist {
|
||||
overflow: hidden;
|
||||
letter-spacing: 0.1em;
|
||||
margin-bottom: 15px;
|
||||
padding: 0;
|
||||
}
|
||||
.video_tablist>li, .album_tablist>li {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
.video_tablist li.now_view a {
|
||||
background-color: #c47f27;
|
||||
}
|
||||
.video_tablist a {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
background-color: #8d681e;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-size: 120%;
|
||||
}
|
||||
.video_data_wrap {
|
||||
padding-left: 0;
|
||||
}
|
||||
.video_group_time {
|
||||
color: #4487cb;
|
||||
}
|
||||
.video_category {
|
||||
color: #e4374a;
|
||||
}
|
||||
.video_title h4 {
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.view_info {
|
||||
float: right;
|
||||
}
|
||||
.view_info img {
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$('#filter_category_box').on('change', function(){
|
||||
$(this).prop('form').submit();
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,70 @@
|
|||
<div class="i-video_data video_data-index-3 video_data-modal-view">
|
||||
<div class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" title="<%= I18n.t(:close) %>" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body video_goes_here">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="video_data__wrap" data-list="videos" data-level="0">
|
||||
<li class="video_data col-sm-4" data-video-url="{{video_url}}" data-video-webm-url="{{video_webm_url}}" data-type="{{video_type}}">
|
||||
<a class="video_link" href="javascript:void(0)" title="{{video_title_escape}}" data-api-url="{{api_url}}">
|
||||
<div class="video_snapshot_wrap">
|
||||
<img class="video_snapshot" src="{{snapshot_url}}"/>
|
||||
<img src="/assets/video_pro/btn-play.png" alt="" class="play_icon">
|
||||
</div>
|
||||
<div class="video_info">
|
||||
<div class="video_time"><span date-format="%Y/%m/%d">{{video_postdate}}</span></div>
|
||||
<div class="video_title"><h4>{{video_title}}</h4></div>
|
||||
<div class="video_desc">{{video_desc}}</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<style>
|
||||
.video_title h4{
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.video_snapshot_wrap {
|
||||
position: relative;
|
||||
}
|
||||
.video_data-modal-view .modal-dialog {
|
||||
width: 80%;
|
||||
}
|
||||
.video_data-modal-view .play_icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
-moz-transform: translateX(-50%) translateY(-50%);
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
width: 55px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(".video_data-modal-view .video_link").off('click').on('click', function(){
|
||||
var _this = $(this);
|
||||
var modal_window = _this.parents('.video_data-modal-view').find('.modal');
|
||||
if(modal_window.length != 0){
|
||||
var api_url = _this.data('api-url');
|
||||
$.get(api_url).done(function(html){
|
||||
modal_window.find('.video_goes_here').html(html);
|
||||
modal_window.modal('show');
|
||||
})
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,97 @@
|
|||
<div class="i-video_data video_data-post-agency-1">
|
||||
<div class="video_filter_area col-sm-12">
|
||||
<form>
|
||||
<div class="category_box col-sm-12">
|
||||
<select name="poster" id="filter_category_box" data-list="post_agencies" data-level="0">
|
||||
{{option}}
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<ul class="video_data_wrap" data-list="videos" data-level="0">
|
||||
<li class="video_data col-sm-4" data-video-url="{{video_url}}" data-video-webm-url="{{video_webm_url}}" data-type="{{video_type}}">
|
||||
<a class="video_link" href="{{video_show_url}}" title="{{video_title_escape}}">
|
||||
<img class="video_snapshot" src="{{snapshot_url}}"/>
|
||||
<div class="video_info">
|
||||
<div class="video_group_time">{{video_post_agency}} | {{video_postdate}}</div>
|
||||
<div class="video_keyword">{{keyword_trans}}: {{video_keyword}}</div>
|
||||
<div class="video_title"><h4>{{video_title}}</h4></div>
|
||||
<div class="video_desc">{{video_desc}}</div>
|
||||
<div class="view_info">
|
||||
<span><img src="{{hd_icon_url}}" alt="HD"></span>
|
||||
<span><img src="{{view_icon_url}}" alt="{{view_count_trans}}>">x {{view_count}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<style>
|
||||
.video_filter_area {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#filter_category_box {
|
||||
width: 100%;
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
max-width: none;
|
||||
border: none;
|
||||
padding: 0 1em;
|
||||
}
|
||||
.category_box {
|
||||
padding: 0;
|
||||
}
|
||||
.video_tablist {
|
||||
overflow: hidden;
|
||||
letter-spacing: 0.1em;
|
||||
margin-bottom: 15px;
|
||||
padding: 0;
|
||||
}
|
||||
.video_tablist>li, .album_tablist>li {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
.video_tablist li.now_view a {
|
||||
background-color: #c47f27;
|
||||
}
|
||||
.video_tablist a {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
background-color: #8d681e;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-size: 120%;
|
||||
}
|
||||
.video_data_wrap {
|
||||
padding-left: 0;
|
||||
}
|
||||
.video_group_time {
|
||||
color: #4487cb;
|
||||
}
|
||||
.video_category {
|
||||
color: #e4374a;
|
||||
}
|
||||
.video_title h4 {
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.view_info {
|
||||
float: right;
|
||||
}
|
||||
.view_info img {
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$('#filter_category_box').on('change', function(){
|
||||
$(this).prop('form').submit();
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
{{pagination_goes_here}}
|
Loading…
Reference in New Issue