From: elixirel Date: Sat, 12 Sep 2009 16:30:38 +0000 (+0900) Subject: change main-menu-link's method. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=762e7e8014ef980f37de376bbd846e0ebcc5e920;p=feedblog%2Ffeedgenerator.git change main-menu-link's method. --- diff --git a/erbtemp/stylesheet.css b/erbtemp/stylesheet.css index f0c3b11..b5534a9 100644 --- a/erbtemp/stylesheet.css +++ b/erbtemp/stylesheet.css @@ -1,109 +1,113 @@ -body { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - color: #1E4080; - background-image: url('../img/background.jpg'); - background-color: white; - background-repeat: no-repeat; - background-attachment: fixed; - background-position: right bottom; - text-align: center; - margin-left: auto; - margin-right: auto; -} - -table { - border-width: 0px 0px 0px 0px; -} - -td { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; -} - -td.formheader { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - font-weight: bold; - padding: 3px; - border: 1px solid #C5C5DE; - background-color: #FAFAFF; -} - -td.forminput { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - padding: 5px; - border: 1px dotted #C5C5DE; -} - -td.forminputhilight { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - padding: 5px; - border: 1px dotted #BEA5A5; - background-color: #FFFAFA; -} - -td.formnavi { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - padding: 5px; - border: 1px solid #C5C5DE; - background-color: #FAFAFF; -} - -a:link { - text-decoration: none; - color: #A5A5BE; -} - -a:visited { - text-decoration: none; - color: #A5A5BE; -} - -a:active { - text-decoration: none; - color: #A5A5BE; -} - -a:hover { - text-decoration: underline; - color: #A5A5BE; -} - -div.divstyle { - font-size: 9pt; - line-height: 13pt; - text-align: center; - margin-left: auto; - margin-right: auto; - padding: 5px; - border: 1px solid #A5A5BE; -} - -input { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - color: #1E4080; - border: 1px dotted #BABAFE; - background-color: #F5F5FF; -} - -textarea { - font-size: 9pt; - line-height: 13pt; - font-family: sans-serif; - color: #1E4080; - border: 1px dotted #BABAFE; - background-color: #F5F5FF; -} - +body { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + color: #1E4080; + background-image: url('../img/background.jpg'); + background-color: white; + background-repeat: no-repeat; + background-attachment: fixed; + background-position: right bottom; + text-align: center; + margin-left: auto; + margin-right: auto; +} + +table { + border-width: 0px 0px 0px 0px; +} + +td { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; +} + +td.formheader { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + font-weight: bold; + padding: 3px; + border: 1px solid #C5C5DE; + background-color: #FAFAFF; +} + +td.forminput { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + padding: 5px; + border: 1px dotted #C5C5DE; +} + +td.forminputhilight { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + padding: 5px; + border: 1px dotted #BEA5A5; + background-color: #FFFAFA; +} + +td.formnavi { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + padding: 5px; + border: 1px solid #C5C5DE; + background-color: #FAFAFF; +} + +a:link { + text-decoration: none; + color: #A5A5BE; +} + +a:visited { + text-decoration: none; + color: #A5A5BE; +} + +a:active { + text-decoration: none; + color: #A5A5BE; +} + +a:hover { + text-decoration: underline; + color: #A5A5BE; +} + +div.divstyle { + font-size: 9pt; + line-height: 13pt; + text-align: center; + margin-left: auto; + margin-right: auto; + padding: 5px; + border: 1px solid #A5A5BE; +} + +input { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + color: #1E4080; + border: 1px dotted #BABAFE; + background-color: #F5F5FF; +} + +textarea { + font-size: 9pt; + line-height: 13pt; + font-family: sans-serif; + color: #1E4080; + border: 1px dotted #BABAFE; + background-color: #F5F5FF; +} + +.menu_link { + text-decoration: none; + color: #A5A5BE; +} diff --git a/feedgenerator.rb b/feedgenerator.rb index 3f594bf..9a2ea0e 100644 --- a/feedgenerator.rb +++ b/feedgenerator.rb @@ -1053,11 +1053,20 @@ def main end # メニューとして表示されるHTML文字列です +=begin if USEFILEMANAGER == true menu = "
現在編集中のファイル : #{session["filepath"]} [ 他のファイルを選択 ]
[ トップページ | 記事管理 ( 作成 | 編集 | 消去 ) | XML情報編集 | ログ管理 | インポート | ファイル管理 | 初期化 | ログアウト ]
" else menu = "
現在編集中のファイル : #{session["filepath"]} [ 他のファイルを選択 ]
[ トップページ | 記事管理 ( 作成 | 編集 | 消去 ) | XML情報編集 | ログ管理 | インポート | 初期化 | ログアウト ]
" end +=end + + # メニューとして表示されるHTML文字列です + if USEFILEMANAGER == true + menu = "
現在編集中のファイル : #{session["filepath"]} [ 他のファイルを選択 ]
[ トップページ | 記事管理 ( 作成 | 編集 | 消去 ) | XML情報編集 | ログ管理 | インポート | ファイル管理 | 初期化 | ログアウト ]
" + else + menu = "
現在編集中のファイル : #{session["filepath"]} [ 他のファイルを選択 ]
[ トップページ | 記事管理 ( 作成 | 編集 | 消去 ) | XML情報編集 | ログ管理 | インポート | 初期化 | ログアウト ]
" + end # ビュー部分 # modeとactionの相関図は以下のようになります。