From a657a7d615f548338fe37303b09049948cca8279 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Thu, 26 Jul 2012 15:44:53 +0800 Subject: [PATCH] remove cache --- app/controllers/pages_controller.rb | 2 + public/index.html | 222 ++++++++++++++++++++++ public/panel/news/widget/home_banner.html | 55 ++++++ 3 files changed, 279 insertions(+) create mode 100644 public/index.html create mode 100644 public/panel/news/widget/home_banner.html 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
+ + + +