source: db_tsh/Views/Home/Privacy.cshtml@ 705d6f5

main
Last change on this file since 705d6f5 was 705d6f5, checked in by ardit <ardit@…>, 2 days ago

Commiting all files of project - 20250224

  • Property mode set to 100644
File size: 3.8 KB
Line 
1@{
2 ViewData["Title"] = "Reports";
3}
4<h1>@ViewData["Title"]</h1>
5
6<!DOCTYPE html>
7<html>
8<head>
9 <title>Reports</title>
10 <style>
11 * {
12 box-sizing: border-box;
13 }
14
15 body {
16 font-family: Arial, sans-serif;
17 background-color: #f9f9f9;
18 margin: 0;
19 padding: 20px;
20 }
21
22 h1 {
23 color: #333;
24 text-align: center;
25 margin-top: 0;
26 }
27
28 p {
29 margin-bottom: 20px;
30 text-align: center;
31 }
32
33 form {
34 text-align: center;
35 margin-bottom: 20px;
36 }
37
38 input[type="date"] {
39 padding: 10px;
40 margin-right: 10px;
41 border-radius: 5px;
42 border: 1px solid #ccc;
43 }
44
45 input[type="submit"] {
46 padding: 10px 20px;
47 background-color: #337ab7;
48 color: #fff;
49 border: none;
50 border-radius: 5px;
51 cursor: pointer;
52 }
53
54 .btn {
55 display: inline-block;
56 padding: 10px 20px;
57 background-color: #337ab7;
58 color: #fff;
59 text-decoration: none;
60 border-radius: 5px;
61 border: none;
62 transition: background-color 0.3s ease;
63 cursor: pointer;
64 }
65
66 .btn:hover {
67 background-color: #23527c;
68 }
69
70 .error {
71 color: #ff0000;
72 text-align: center;
73 }
74
75 .dropdown {
76 padding: 10px;
77 font-size: 14px;
78 border: 1px solid #ccc;
79 border-radius: 4px;
80 }
81
82 /*navbarr*/
83 .navbar {
84 background-color: aqua;
85 color: white;
86 font-family: Arial, sans-serif;
87 }
88
89 .navbar-brand {
90 color: white;
91 font-weight: bold;
92 margin-right: 30px;
93 }
94
95 .nav-link {
96 color: white;
97 margin-right: 15px;
98 }
99
100 .nav-link:hover {
101 color: #f8f8f8;
102 text-decoration: none;
103 }
104
105 .navbar-toggler {
106 border: none;
107 background-color: transparent;
108 color: white;
109 }
110
111 .navbar-toggler-icon {
112 background-color: white;
113 }
114
115 .navcontainer {
116 display: flex;
117 align-items: center;
118 }
119 </style>
120</head>
121<body>
122
123
124 @using (Html.BeginForm("Privacy", "Home", FormMethod.Post))
125 {
126 <form>
127 <input type="date" name="datef" placeholder="Start Date" id="datef" />
128 <input type="date" name="datem" placeholder="End Date" id="datem" />
129 <div class="form-group">
130 <label for="customer">Customer</label>
131 <select class="form-control" id="dropdown" name="dropdown" required>
132 <option value="">Select Customer</option>
133 @if (ViewBag.Items != null)
134 {
135 foreach (var item in ViewBag.Items)
136 {
137 <option value="@item.Email">@item.Name</option>
138 }
139 }
140 </select>
141 </div>
142 @*<select name="dropdown" class="dropdown">
143 @if (ViewBag.Items != null)
144 {
145 foreach (var item in ViewBag.Items)
146 {
147 <option value="@item.C_id">@item.Name</option>
148 }
149 }
150 </select>*@
151
152 <input type="submit" name="Generate" value="Generate" />
153 </form>
154 }
155
156
157
158 @if (!string.IsNullOrEmpty(ViewBag.Nodata))
159 {
160 <div class="alert alert-info">@ViewBag.Nodata</div>
161 }
162</body>
163</html>
164<script>
165 document.getElementById("datef").valueAsDate = new Date();
166 document.getElementById("datem").valueAsDate = new Date();
167</script>
168
Note: See TracBrowser for help on using the repository browser.