bootstrap后台模板布局


  1. <!DOCTYPE html>  
  2.   
  3. <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->  
  4.   
  5. <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->  
  6.   
  7. <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->  
  8.   
  9. <!-- BEGIN HEAD -->  
  10.   
  11. <#import "../common/app.ftl" as app>   
  12. <head>  
  13.   
  14.     <meta charset="utf-8" />  
  15.   
  16.     <title>网上订餐</title>  
  17.   
  18.     <meta content="width=device-width, initial-scale=1.0" name="viewport" />  
  19.   
  20.     <meta content="" name="description" />  
  21.   
  22.     <meta content="" name="author" />  
  23.     <link rel="shortcut icon" href="${app.basePath}/resources/images/icon/001.png" type="image/x-icon" />   
  24.   
  25.     <!-- BEGIN GLOBAL MANDATORY STYLES -->  
  26.   
  27.     <link href="${app.basePath}/resources/bootstrap/bootstrap.css" rel="stylesheet" type="text/css"/>  
  28.   
  29.     <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>    
  30.     <script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>  
  31.     <script src="${app.basePath}/resources/bootstrap/bootstrap-paginator.js"></script>  
  32.    
  33.  <style>  
  34.     #headInfo{  
  35.        width:100%;  
  36.        height:90px;  
  37.        background-color:#000;  
  38.     }  
  39.       
  40.     #main{  
  41.       width:100%;  
  42.       min-height:100%;  
  43.       height:100%;  
  44.       background-color:#3d3d3d;  
  45.     }  
  46.       
  47.     #pageSide{  
  48.        width:230px;  
  49.        height:700px;  
  50.        float:left;  
  51.        background-color:#3d3d3d;  
  52.        border:1px solid red;  
  53.          
  54.     }  
  55.       
  56.      #pageContent{  
  57.        width:100%;  
  58.        min-height:100%;  
  59.        height:100%;  
  60.        background-color:#FFF;  
  61.        border:1px solid #FFF;  
  62.         
  63.     }  
  64.       
  65.     #footer{  
  66.        clear: both;   
  67.        width:100%;  
  68.        height:50px;  
  69.        background-color:#3d3d3d;  
  70.        padding-top:15px;  
  71.     }  
  72.       
  73. </style>  
  74.   
  75. </head>  
  76.   
  77. <!-- END HEAD -->  
  78.   
  79. <!-- BEGIN BODY -->  
  80.   
  81. <body style="width:100%;">  
  82.   
  83.    <div id="headInfo" class="">  
  84.      
  85.    </div>  
  86.      
  87.      
  88.    <div id="main">  
  89.       <div id="pageSide">  
  90.           
  91.       </div>  
  92.         
  93.       <div id="pageContent">  
  94.           cdvdfvdfvd  
  95.       </div>  
  96.    </div>  
  97.   
  98.   
  99.   
  100.        
  101.  <div id="footer">  
  102.     <p style="color:#FFF"><span>c君版权所有.联系方式:991433544</span></p>  
  103.  </div>      
  104.   
  105.       
  106.       
  107.       
  108.       
  109.       
  110.       
  111.   
  112.   
  113.   
  114.     <script src="${app.basePath}/resources/media/js/bootstrap.min.js" type="text/javascript"></script>  
  115.   
  116.     <script>  
  117.   
  118.         jQuery(document).ready(function() {      
  119.   
  120.            App.init();  
  121.         
  122.         });  
  123.           
  124.              // load the content for the dashboard page.  
  125.            $('.ajaxify').click(function(){  
  126.               var url=$(this).attr("href");  
  127.               //alert(url);  
  128.               $(".page-content").load(url);  
  129.            });  
  130.           
  131.   
  132.     </script>  
  133.   
  134.   
  135. </body>  
  136.   
  137. </html>  


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值