Changeset 490adac41f40…
Parent 73ed58e941d5…
by Clayton Miller <clayton.miller@nexportengineering.com>
Changes to 2 files · Browse files at 490adac41f40 Showing diff from parent 73ed58e941d5 Diff from another changeset...
|
|
|
@@ -17,9 +17,12 @@ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
- <![endif]-->
-
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+ <![endif]-->
+
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
+ <link rel="stylesheet" href="https://rawgit.com/wenzhixin/bootstrap-table/master/dist/bootstrap-table.min.css">
+
</head>
<body>
@@ -71,11 +74,8 @@ </div>
<div class="col-md-9">
-
<div class="row">
-
-
- <table class="table table-striped">
+ <table class="table">
<thead>
<tr>
<th>Catalog</th>
@@ -84,152 +84,22 @@ </tr>
</thead>
<tbody>
- <tr>
- <td>@catalogs[0].name</td>
- <td>@catalogs[0].org_name</td>
- <td>@catalogs[0].date_created</td>
- </tr>
+ @foreach (var catalog in catalogs)
+ {
+ <tr>
+ <td>
+ @catalog.name
+ </td>
+ <td>
+ @catalog.org_name
+ </td>
+ <td>
+ @catalog.date_created
+ </td>
+ </tr>
+ }
</tbody>
- </table>
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$24.99</h4>
- <h4><a href="#">First Product</a>
- </h4>
- <p>See more snippets like this online store item at <a target="_blank" href="http://www.bootsnipp.com">Bootsnipp - http://bootsnipp.com</a>.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">15 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- </p>
- </div>
- </div>
- </div>
-
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$64.99</h4>
- <h4><a href="#">Second Product</a>
- </h4>
- <p>This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">12 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- </p>
- </div>
- </div>
- </div>
-
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$74.99</h4>
- <h4><a href="#">Third Product</a>
- </h4>
- <p>This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">31 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- </p>
- </div>
- </div>
- </div>
-
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$84.99</h4>
- <h4><a href="#">Fourth Product</a>
- </h4>
- <p>This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">6 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- </p>
- </div>
- </div>
- </div>
-
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$94.99</h4>
- <h4><a href="#">Fifth Product</a>
- </h4>
- <p>This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">18 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- </p>
- </div>
- </div>
- </div>
-
-
- <div class="col-sm-4 col-lg-4 col-md-4">
- <div class="thumbnail">
- <img src="http://placehold.it/320x150" alt="">
- <div class="caption">
- <h4 class="pull-right">$94.99</h4>
- <h4>
- <a href="#">Fifth Product</a>
- </h4>
- <p>This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
- </div>
- <div class="ratings">
- <p class="pull-right">18 reviews</p>
- <p>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star"></span>
- <span class="glyphicon glyphicon-star-empty"></span>
- </p>
- </div>
- </div>
- </div>
- <div class="col-sm-4 col-lg-4 col-md-4">
- <h4><a href="#">Like this template?</a>
- </h4>
- <p>If you like this template, then check out <a target="_blank" href="http://maxoffsky.com/code-blog/laravel-shop-tutorial-1-building-a-review-system/">this tutorial</a> on how to build a working review system for your online store!</p>
- <a class="btn btn-primary" target="_blank" href="http://maxoffsky.com/code-blog/laravel-shop-tutorial-1-building-a-review-system/">View Tutorial</a>
- </div>
+ </table>
</div>
@@ -257,10 +127,12 @@ <!-- /.container -->
<!-- jQuery -->
- <script src="js/jquery.js"></script>
+ <script src="~/js/jquery.js"></script>
- <!-- Bootstrap Core JavaScript -->
- <script src="js/bootstrap.min.js"></script>
+ <!-- Bootstrap Core JavaScript -->
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
+
+ <script src="https://rawgit.com/wenzhixin/bootstrap-table/master/dist/bootstrap-table.min.js"></script>
</body>
|
Loading...