diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 8e4f3f26..3eedd702 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -3,7 +3,9 @@ class PagesController < ApplicationController include ApplicationHelper before_filter :get_item, :only => [:index_from_link, :show_from_link] + # caches_page :index + def index @item = Page.find_by_name('home') diff --git a/public/index.html b/public/index.html new file mode 100644 index 00000000..d94cc9c5 --- /dev/null +++ b/public/index.html @@ -0,0 +1,222 @@ + + + + + 國立政治大學 + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+
+

測試

+
+
+
+
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+

活動行事曆

+ + prev + next +
+
    +
  • +
    + + +
    + +
    +
  • +
  • +
    + + +
    + +
    +
  • +
  • +
    + + +
    + +
    +
  • +
+
+
+
+ +
+ + +
+
+ + +
+ + + diff --git a/public/panel/news/widget/home_banner.html b/public/panel/news/widget/home_banner.html new file mode 100644 index 00000000..fca8803b --- /dev/null +++ b/public/panel/news/widget/home_banner.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + +

校園新聞

+
+ + 更多+ + + + +
+
previous page
+
next page
+ + + +