aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-02-26 13:56:08 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-02-26 13:56:08 +0200
commit99fa6ef9b19dc81f10b582ca6749bf1c8cf32c44 (patch)
tree9c5451e2c516e96ada413a6aa4f3f22e49817d8a /Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml
parentbbd04cf9e88d147225cc4b0d782fec31cfe21b6e (diff)
downloadTango-99fa6ef9b19dc81f10b582ca6749bf1c8cf32c44.tar.gz
Tango-99fa6ef9b19dc81f10b582ca6749bf1c8cf32c44.zip
Working on machine service downloads site.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml56
1 files changed, 30 insertions, 26 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml b/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml
index cb3058642..92590521d 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/Index.cshtml
@@ -1,26 +1,30 @@
-<div class="jumbotron">
- <h1>ASP.NET</h1>
- <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
- <p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
-</div>
-<div class="row">
- <div class="col-md-4">
- <h2>Getting started</h2>
- <p>
- ASP.NET Web API is a framework that makes it easy to build HTTP services that reach
- a broad range of clients, including browsers and mobile devices. ASP.NET Web API
- is an ideal platform for building RESTful applications on the .NET Framework.
- </p>
- <p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301870">Learn more &raquo;</a></p>
- </div>
- <div class="col-md-4">
- <h2>Get more libraries</h2>
- <p>NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.</p>
- <p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301871">Learn more &raquo;</a></p>
- </div>
- <div class="col-md-4">
- <h2>Web Hosting</h2>
- <p>You can easily find a web hosting company that offers the right mix of features and price for your applications.</p>
- <p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301872">Learn more &raquo;</a></p>
- </div>
-</div> \ No newline at end of file
+@model Tango.MachineService.Views.Downloads.IndexViewModel
+
+@section styles
+{
+ <link rel="stylesheet" href="~/Styles/Downloads.css">
+}
+
+ <table class="container">
+ <thead>
+ <tr>
+ <th><h1>Name</h1></th>
+ <th><h1>Date</h1></th>
+ <th><h1>User</h1></th>
+ <th><h1>Comments</h1></th>
+ </tr>
+ </thead>
+ <tbody>
+ @foreach (var item in Model.Downloads)
+ {
+ <tr>
+ <td>
+ <a href="/Downloads/Download?id=@item.ID">@item.Name</a>
+ </td>
+ <td>@item.Date</td>
+ <td>@item.User</td>
+ <td>@item.Comments</td>
+ </tr>
+ }
+ </tbody>
+ </table> \ No newline at end of file