From 99fa6ef9b19dc81f10b582ca6749bf1c8cf32c44 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 26 Feb 2019 13:56:08 +0200 Subject: Working on machine service downloads site. --- .../Views/Account/Login.cshtml | 36 ++++++++++++++ .../Views/Downloads/Index.cshtml | 56 ++++++++++++---------- .../Views/Downloads/IndexViewModel.cs | 18 +++++++ .../Views/Shared/_Layout.cshtml | 36 +++++--------- 4 files changed, 95 insertions(+), 51 deletions(-) create mode 100644 Software/Visual_Studio/Web/Tango.MachineService/Views/Account/Login.cshtml create mode 100644 Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/IndexViewModel.cs (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Views') diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/Account/Login.cshtml b/Software/Visual_Studio/Web/Tango.MachineService/Views/Account/Login.cshtml new file mode 100644 index 000000000..fbf0cb904 --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/Account/Login.cshtml @@ -0,0 +1,36 @@ +@section styles +{ + +} + +@section scripts +{ + +} + +
+
+
+ +
+

LOGIN

+
+

+ +

+

+ +

+
+
+ + +
+ +
+ +
+

+ +

+
\ No newline at end of file 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 @@ -
-

ASP.NET

-

ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.

-

Learn more »

-
-
-
-

Getting started

-

- 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. -

-

Learn more »

-
-
-

Get more libraries

-

NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.

-

Learn more »

-
-
-

Web Hosting

-

You can easily find a web hosting company that offers the right mix of features and price for your applications.

-

Learn more »

-
-
\ No newline at end of file +@model Tango.MachineService.Views.Downloads.IndexViewModel + +@section styles +{ + +} + + + + + + + + + + + + @foreach (var item in Model.Downloads) + { + + + + + + + } + +

Name

Date

User

Comments

+ @item.Name + @item.Date@item.User@item.Comments
\ No newline at end of file diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/IndexViewModel.cs b/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/IndexViewModel.cs new file mode 100644 index 000000000..43cdfcdef --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/Downloads/IndexViewModel.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using Tango.MachineService.Models; + +namespace Tango.MachineService.Views.Downloads +{ + public class IndexViewModel + { + public List Downloads { get; set; } + + public IndexViewModel() + { + Downloads = new List(); + } + } +} \ No newline at end of file diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_Layout.cshtml b/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_Layout.cshtml index 7b23b2f31..c6448159f 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_Layout.cshtml +++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_Layout.cshtml @@ -4,38 +4,24 @@ @ViewBag.Title - @Styles.Render("~/Content/css") + @*@Styles.Render("~/Content/css")*@ @Scripts.Render("~/bundles/modernizr") + + + @RenderSection("styles", required: false) - + +
+ + +
+
@RenderBody() -
-
- @Scripts.Render("~/bundles/jquery") - @Scripts.Render("~/bundles/bootstrap") + @*@Scripts.Render("~/bundles/bootstrap")*@ @RenderSection("scripts", required: false) -- cgit v1.3.1