AdminLTE学习笔记-AdminLTE表格使用

发布时间:2017-12-07 浏览次数:8492 次

AdminLTE表格使用

为了方便所有的iframe页面使用,我们添加一个布局页,它包含了引入的js和css等

layout.cshtml 如下

@{

   ViewBag.Title = "Home Page";

   Layout = null;

}


<!DOCTYPE html>

<html>

<head>

   <meta charset="utf-8">

   <meta http-equiv="X-UA-Compatible" content="IE=edge">

   <title>AdminLTE 2 | Dashboard</title>

   <!-- Tell the browser to be responsive to screen width -->

   <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

   <!-- Bootstrap 3.3.7 -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/bootstrap/dist/css/bootstrap.min.css">

   <!-- Font Awesome -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/font-awesome/css/font-awesome.min.css">

   <!-- Ionicons -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/Ionicons/css/ionicons.min.css">

   <!-- Theme style -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/dist/css/AdminLTE.min.css">

   <!-- AdminLTE Skins. Choose a skin from the css/skins

        folder instead of downloading all of them to reduce the load. -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/dist/css/skins/_all-skins.min.css">

   <!-- Morris chart -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/morris.js/morris.css">

   <!-- jvectormap -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/jvectormap/jquery-jvectormap.css">

   <!-- Date Picker -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">

   <!-- Daterange picker -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/bower_components/bootstrap-daterangepicker/daterangepicker.css">

   <!-- bootstrap wysihtml5 - text editor -->

   <link rel="stylesheet" href="/AdminLTE-2.4.2/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">

   <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->

   <!-- WARNING: Respond.js doesn't work if you view the page via file:/ -->

   <!--[if lt IE 9]>

   <script src="https:/oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>

   <script src="https:/oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

   <![endif]-->

   <!-- Google Font -->

   <link rel="stylesheet" href="https:/fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">

</head>

<body class="hold-transition skin-blue sidebar-mini">

   <div class="wrapper">

       <div class="content-wrapper">

           @RenderBody()

       </div>

       <!-- /.content-wrapper -->

       <footer class="main-footer">

           <div class="pull-right hidden-xs">

               <b>Version</b> 2.4.0

           </div>

           <strong>Copyright &copy; 2014-2016 <a href="https:/adminlte.io">Almsaeed Studio</a>.</strong> All rights

           reserved.

       </footer>

   </div>

   <!-- ./wrapper -->

   <!-- jQuery 3 -->

   <script src="/AdminLTE-2.4.2/bower_components/jquery/dist/jquery.min.js"></script>

   <!-- jQuery UI 1.11.4 -->

   <script src="/AdminLTE-2.4.2/bower_components/jquery-ui/jquery-ui.min.js"></script>

   <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->

   <script>

       $.widget.bridge('uibutton', $.ui.button);

   </script>

   <!-- Bootstrap 3.3.7 -->

   <script src="/AdminLTE-2.4.2/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

   <!-- Morris.js charts -->

   <script src="/AdminLTE-2.4.2/bower_components/raphael/raphael.min.js"></script>

   <script src="/AdminLTE-2.4.2/bower_components/morris.js/morris.min.js"></script>

   <!-- Sparkline -->

   <script src="/AdminLTE-2.4.2/bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>

   <!-- jvectormap -->

   <script src="/AdminLTE-2.4.2/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>

   <script src="/AdminLTE-2.4.2/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>

   <!-- jQuery Knob Chart -->

   <script src="/AdminLTE-2.4.2/bower_components/jquery-knob/dist/jquery.knob.min.js"></script>

   <!-- daterangepicker -->

   <script src="/AdminLTE-2.4.2/bower_components/moment/min/moment.min.js"></script>

   <script src="/AdminLTE-2.4.2/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>

   <!-- datepicker -->

   <script src="/AdminLTE-2.4.2/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>

   <!-- Bootstrap WYSIHTML5 -->

   <script src="/AdminLTE-2.4.2/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>

   <!-- Slimscroll -->

   <script src="/AdminLTE-2.4.2/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>

   <!-- FastClick -->

   <script src="/AdminLTE-2.4.2/bower_components/fastclick/lib/fastclick.js"></script>

   <!-- AdminLTE App -->

   <script src="/AdminLTE-2.4.2/dist/js/adminlte.min.js"></script>

   <!-- AdminLTE dashboard demo (This is only for demo purposes) -->

   <script src="/AdminLTE-2.4.2/dist/js/pages/dashboard.js"></script>

   <!-- AdminLTE for demo purposes -->

   <script src="/AdminLTE-2.4.2/dist/js/demo.js"></script>

</body>

</html>


主要就是把主题内容改为renderbody 然后去掉头部 和侧栏等部分 只保留主题内容部分


同时 我们在userindex的视图中 改为下面的 table标签


@{

   Layout = null;

}


   <!-- Content Header (Page header) -->

<section class="content-header">

   <h1>

       Data Tables

       <small>advanced tables</small>

   </h1>

   <ol class="breadcrumb">

       <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>

       <li><a href="#">Tables</a></li>

       <li class="active">Data tables</li>

   </ol>

</section>

<!-- Main content -->

<section class="content">

   <div class="row">

       <div class="col-xs-12">

           <div class="box">

               <div class="box-header">

                   <h3 class="box-title">Hover Data Table</h3>

               </div>

               <!-- /.box-header -->

               <div class="box-body">

                   <table id="example2" class="table table-bordered table-hover">

                       <thead>

                           <tr>

                               <th>Rendering engine</th>

                               <th>Browser</th>

                               <th>Platform(s)</th>

                               <th>Engine version</th>

                               <th>CSS grade</th>

                           </tr>

                       </thead>

                       <tbody>

                           <tr>

                               <td>哈哈哈</td>

                               <td>

                                   Internet

                                   Explorer 4.0

                               </td>

                               <td>Win 95+</td>

                               <td> 4</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 5.0

                               </td>

                               <td>Win 95+</td>

                               <td>5</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 5.5

                               </td>

                               <td>Win 95+</td>

                               <td>5.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 6

                               </td>

                               <td>Win 98+</td>

                               <td>6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>Internet Explorer 7</td>

                               <td>Win XP SP2+</td>

                               <td>7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>AOL browser (AOL desktop)</td>

                               <td>Win XP</td>

                               <td>6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 1.0</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 1.5</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 2.0</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>的水电费水电费 3.0</td>

                               <td>Win 2k+ / OSX.3+</td>

                               <td>1.9</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Camino 1.0</td>

                               <td>OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Camino 1.5</td>

                               <td>OSX.3+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape 7.2</td>

                               <td>Win 95+ / Mac OS 8.6-9.2</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape Browser 8</td>

                               <td>Win 98SE+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape Navigator 9</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.0</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.1</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.2</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.2</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.3</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.4</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.4</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.5</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.6</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.7</td>

                               <td>Win 98+ / OSX.1+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.8</td>

                               <td>Win 98+ / OSX.1+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Seamonkey 1.1</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Epiphany 2.20</td>

                               <td>Gnome</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 1.2</td>

                               <td>OSX.3</td>

                               <td>125.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 1.3</td>

                               <td>OSX.3</td>

                               <td>312.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 2.0</td>

                               <td>OSX.4+</td>

                               <td>419.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 3.0</td>

                               <td>OSX.4+</td>

                               <td>522.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>OmniWeb 5.5</td>

                               <td>OSX.4+</td>

                               <td>420</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>iPod Touch / iPhone</td>

                               <td>iPod</td>

                               <td>420.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>S60</td>

                               <td>S60</td>

                               <td>413</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 7.0</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 7.5</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 8.0</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 8.5</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.0</td>

                               <td>Win 95+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.2</td>

                               <td>Win 88+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.5</td>

                               <td>Win 88+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera for Wii</td>

                               <td>Wii</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Nokia N800</td>

                               <td>N800</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Nintendo DS browser</td>

                               <td>Nintendo DS</td>

                               <td>8.5</td>

                               <td>C/A<sup>1</sup></td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.1</td>

                               <td>KDE 3.1</td>

                               <td>3.1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.3</td>

                               <td>KDE 3.3</td>

                               <td>3.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.5</td>

                               <td>KDE 3.5</td>

                               <td>3.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 4.5</td>

                               <td>Mac OS 8-9</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 5.1</td>

                               <td>Mac OS 7.6-9</td>

                               <td>1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 5.2</td>

                               <td>Mac OS 8-X</td>

                               <td>1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>NetFront 3.1</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>NetFront 3.4</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Dillo 0.8</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Links</td>

                               <td>Text only</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Lynx</td>

                               <td>Text only</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>IE Mobile</td>

                               <td>Windows Mobile 6</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>PSP browser</td>

                               <td>PSP</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Other browsers</td>

                               <td>All others</td>

                               <td>-</td>

                               <td>-</td>

                               <td>U</td>

                           </tr>

                       </tbody>

                       <tfoot>

                           <tr>

                               <th>Rendering engine</th>

                               <th>Browser</th>

                               <th>Platform(s)</th>

                               <th>Engine version</th>

                               <th>CSS grade</th>

                           </tr>

                       </tfoot>

                   </table>

               </div>

               <!-- /.box-body -->

           </div>

           <!-- /.box -->

           <div class="box">

               <div class="box-header">

                   <h3 class="box-title">Data Table With Full Features</h3>

               </div>

               <!-- /.box-header -->

               <div class="box-body">

                   <table id="example1" class="table table-bordered table-striped">

                       <thead>

                           <tr>

                               <th>Rendering engine</th>

                               <th>Browser</th>

                               <th>Platform(s)</th>

                               <th>Engine version</th>

                               <th>CSS grade</th>

                           </tr>

                       </thead>

                       <tbody>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 4.0

                               </td>

                               <td>Win 95+</td>

                               <td> 4</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 5.0

                               </td>

                               <td>Win 95+</td>

                               <td>5</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 5.5

                               </td>

                               <td>Win 95+</td>

                               <td>5.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>

                                   Internet

                                   Explorer 6

                               </td>

                               <td>Win 98+</td>

                               <td>6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>Internet Explorer 7</td>

                               <td>Win XP SP2+</td>

                               <td>7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Trident</td>

                               <td>AOL browser (AOL desktop)</td>

                               <td>Win XP</td>

                               <td>6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 1.0</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 1.5</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 2.0</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Firefox 3.0</td>

                               <td>Win 2k+ / OSX.3+</td>

                               <td>1.9</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Camino 1.0</td>

                               <td>OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Camino 1.5</td>

                               <td>OSX.3+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape 7.2</td>

                               <td>Win 95+ / Mac OS 8.6-9.2</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape Browser 8</td>

                               <td>Win 98SE+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Netscape Navigator 9</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.0</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.1</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.2</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.2</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.3</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.4</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.4</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.5</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.6</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>1.6</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.7</td>

                               <td>Win 98+ / OSX.1+</td>

                               <td>1.7</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Mozilla 1.8</td>

                               <td>Win 98+ / OSX.1+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Seamonkey 1.1</td>

                               <td>Win 98+ / OSX.2+</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Gecko</td>

                               <td>Epiphany 2.20</td>

                               <td>Gnome</td>

                               <td>1.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 1.2</td>

                               <td>OSX.3</td>

                               <td>125.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 1.3</td>

                               <td>OSX.3</td>

                               <td>312.8</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 2.0</td>

                               <td>OSX.4+</td>

                               <td>419.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>Safari 3.0</td>

                               <td>OSX.4+</td>

                               <td>522.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>OmniWeb 5.5</td>

                               <td>OSX.4+</td>

                               <td>420</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>iPod Touch / iPhone</td>

                               <td>iPod</td>

                               <td>420.1</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Webkit</td>

                               <td>S60</td>

                               <td>S60</td>

                               <td>413</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 7.0</td>

                               <td>Win 95+ / OSX.1+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 7.5</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 8.0</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 8.5</td>

                               <td>Win 95+ / OSX.2+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.0</td>

                               <td>Win 95+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.2</td>

                               <td>Win 88+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera 9.5</td>

                               <td>Win 88+ / OSX.3+</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Opera for Wii</td>

                               <td>Wii</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Nokia N800</td>

                               <td>N800</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Presto</td>

                               <td>Nintendo DS browser</td>

                               <td>Nintendo DS</td>

                               <td>8.5</td>

                               <td>C/A<sup>1</sup></td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.1</td>

                               <td>KDE 3.1</td>

                               <td>3.1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.3</td>

                               <td>KDE 3.3</td>

                               <td>3.3</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>KHTML</td>

                               <td>Konqureror 3.5</td>

                               <td>KDE 3.5</td>

                               <td>3.5</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 4.5</td>

                               <td>Mac OS 8-9</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 5.1</td>

                               <td>Mac OS 7.6-9</td>

                               <td>1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Tasman</td>

                               <td>Internet Explorer 5.2</td>

                               <td>Mac OS 8-X</td>

                               <td>1</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>NetFront 3.1</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>NetFront 3.4</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>A</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Dillo 0.8</td>

                               <td>Embedded devices</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Links</td>

                               <td>Text only</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>Lynx</td>

                               <td>Text only</td>

                               <td>-</td>

                               <td>X</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>IE Mobile</td>

                               <td>Windows Mobile 6</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Misc</td>

                               <td>PSP browser</td>

                               <td>PSP</td>

                               <td>-</td>

                               <td>C</td>

                           </tr>

                           <tr>

                               <td>Other browsers</td>

                               <td>All others</td>

                               <td>-</td>

                               <td>-</td>

                               <td>U</td>

                           </tr>

                       </tbody>

                       <tfoot>

                           <tr>

                               <th>Rendering engine</th>

                               <th>Browser</th>

                               <th>Platform(s)</th>

                               <th>Engine version</th>

                               <th>CSS grade</th>

                           </tr>

                       </tfoot>

                   </table>

               </div>

               <!-- /.box-body -->

           </div>

           <!-- /.box -->

       </div>

       <!-- /.col -->

   </div>

   <!-- /.row -->

</section>

<!-- /.content -->

对了 还要修改 layout

@{

   Layout = "~/Views/Shared/_Layout.cshtml";

}