Ignore:
Timestamp:
2010/11/05 17:38:15 (16 years ago)
Author:
Seasoft
Message:

#845(管理画面のテンプレートをフロントから分離する)

  • 管理画面のみで使用する画像や JavaScript?, CSS ファイルを /html/user_data/packages/admin/ 配下へ移動
Location:
branches/version-2_5-dev/html/user_data/packages
Files:
4 added
1 deleted
1 edited
4 copied
8 moved

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/user_data/packages/admin/css/admin_contents.css

    r18322 r18900  
    2929} 
    3030h1 { 
    31     background: url(../img/admin/contents/subtitle_back.gif) 0 0 repeat-y #818287; 
     31    background: url(../img/contents/subtitle_back.gif) 0 0 repeat-y #818287; 
    3232    border-top: 1px solid #666666; 
    3333    height: 30px; 
     
    8686    margin: 0; 
    8787    padding: 0; 
    88     background: url(../img/admin/header/header_back.jpg) 0 0 repeat-x; 
     88    background: url(../img/header/header_back.jpg) 0 0 repeat-x; 
    8989} 
    9090#logo {position: absolute; top: 0; left: 0;} 
     
    118118#navi, #navi li { 
    119119    height: 30px; 
    120     background: url(../img/admin/header/navi_back.jpg) 0 0 repeat-x; 
     120    background: url(../img/header/navi_back.jpg) 0 0 repeat-x; 
    121121    z-index:90; 
    122122} 
     
    138138} 
    139139#navi li a span {padding: 0 8px;} 
    140 #navi li a:hover {background: url(../img/admin/header/navi_on.jpg) left 0 repeat-x;} 
    141 #navi li a:hover span {background: url(../img/admin/header/navi_on_right.jpg) right 0 no-repeat;} 
    142 #navi li.on a {background: url(../img/admin/header/navi_on.jpg) left 0 no-repeat;} 
    143 #navi li.on a span {background: url(../img/admin/header/navi_on_right.jpg) right 0 no-repeat;} 
    144 #navi li.sfhover a {background: url(../img/admin/header/navi_on.jpg) left 0 repeat-x;} 
    145 #navi li.sfhover a span {background: url(../img/admin/header/navi_on_right.jpg) right 0 no-repeat;} 
     140#navi li a:hover {background: url(../img/header/navi_on.jpg) left 0 repeat-x;} 
     141#navi li a:hover span {background: url(../img/header/navi_on_right.jpg) right 0 no-repeat;} 
     142#navi li.on a {background: url(../img/header/navi_on.jpg) left 0 no-repeat;} 
     143#navi li.on a span {background: url(../img/header/navi_on_right.jpg) right 0 no-repeat;} 
     144#navi li.sfhover a {background: url(../img/header/navi_on.jpg) left 0 repeat-x;} 
     145#navi li.sfhover a span {background: url(../img/header/navi_on_right.jpg) right 0 no-repeat;} 
    146146 
    147147#navi li ul { 
     
    284284    margin: -125px 0 0 -278px; 
    285285    padding: 36px 0 0 0; 
    286     background: url(../img/admin/contents/admin_login_top.jpg) center top no-repeat; 
     286    background: url(../img/contents/admin_login_top.jpg) center top no-repeat; 
    287287    color: #FFFFFF; 
    288288} 
     
    290290    width: 556px; 
    291291    height: 172px; 
    292     background: url(../img/admin/contents/admin_login_back.jpg) center top repeat-x; 
     292    background: url(../img/contents/admin_login_back.jpg) center top repeat-x; 
    293293} 
    294294#login-main h1 { 
    295     background: url(../img/admin/contents/admin_login_logo.jpg) 0 0 no-repeat; 
     295    background: url(../img/contents/admin_login_logo.jpg) 0 0 no-repeat; 
    296296    border: none; 
    297297    text-indent: -9999em; 
     
    304304    height: 172px; 
    305305    float: right; 
    306     background: url(../img/admin/contents/admin_login_right.jpg) right 0 no-repeat; 
     306    background: url(../img/contents/admin_login_right.jpg) right 0 no-repeat; 
    307307} 
    308308#login-main label {display:block;} 
     
    314314    line-height: 42px; 
    315315    text-align: center; 
    316     background: url(../img/admin/contents/admin_login_bottom.jpg) center bottom no-repeat; 
     316    background: url(../img/contents/admin_login_bottom.jpg) center bottom no-repeat; 
    317317} 
    318318 
  • branches/version-2_5-dev/html/user_data/packages/default/js/navi.js

    r18701 r18900  
    2020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2121 */ 
    22 var preLoadFlag = "false"; 
    2322 
    24 function preLoadImg(URL){ 
    25  
    26     arrImgList = new Array ( 
    27         URL+"img/contents/btn_search_on.jpg",URL+"img/contents/btn_regist_on.jpg", 
    28         URL+"img/contents/btn_csv_on.jpg",URL+"img/contents/arrow_left.jpg",URL+"img/contents/arrow_right.jpg" 
    29     ); 
    30     arrPreLoad = new Array(); 
    31     for (i in arrImgList) { 
    32         arrPreLoad[i] = new Image(); 
    33         arrPreLoad[i].src = arrImgList[i]; 
    34     } 
    35     preLoadFlag = "true"; 
     23// FIXME ŠÖ”íœ(—˜—p‰ÓŠ‚à) 
     24function preLoadImg() { 
    3625} 
    3726 
    3827function chgImg(fileName,img){ 
    39     if (preLoadFlag == "true") { 
    40         if (typeof(img) == "object") { 
    41             img.src = fileName; 
    42         } else { 
    43             document.images[img].src = fileName; 
    44         } 
     28    if (typeof(img) == "object") { 
     29        img.src = fileName; 
     30    } else { 
     31        document.images[img].src = fileName; 
    4532    } 
    4633} 
    4734 
    4835function chgImgImageSubmit(fileName,imgObj){ 
    49 imgObj.src = fileName; 
     36    imgObj.src = fileName; 
    5037} 
Note: See TracChangeset for help on using the changeset viewer.