Skip to content

Commit 610f9de

Browse files
committed
Cleaning all the code.
1 parent 88c377d commit 610f9de

27 files changed

+67
-2069
lines changed

.gitignore

+2-4
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,9 @@ healthchecksdb
344344
MigrationBackup/
345345

346346
##
347-
## Visual studio for Mac
347+
## Visual Studio for Mac
348348
##
349349

350-
351350
# globs
352351
Makefile.in
353352
*.userprefs
@@ -365,7 +364,7 @@ test-results/
365364
*.dmg
366365
*.app
367366

368-
# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
367+
# Content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
369368
# General
370369
.DS_Store
371370
.AppleDouble
@@ -374,7 +373,6 @@ test-results/
374373
# Icon must end with two \r
375374
Icon
376375

377-
378376
# Thumbnails
379377
._*
380378

Controllers/ProductController.cs

-26
This file was deleted.

Libraries/Language/Message.Designer.cs

+3-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Models/Product.cs

-10
This file was deleted.

Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
2323
webBuilder.UseStartup<Startup>();
2424
});
2525
}
26-
}
26+
}

Properties/launchSettings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
}
2525
}
2626
}
27-
}
27+
}

Startup.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
4646
else
4747
{
4848
app.UseExceptionHandler("/Home/Error");
49-
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
49+
/* The default HSTS value is 30 days. You may want to change this for production scenarios,
50+
see https://aka.ms/aspnetcore-hsts. */
5051
app.UseHsts();
5152
}
5253
app.UseHttpsRedirection();

Views/Home/Cart.cshtml

+14-15
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<h2 class="title-doc"># Order </h2>
99

10-
1110
<h4 class="subtitle-doc"># Shopping cart
1211
<a href="#" data-html="code_cart" class="showcode">[code]</a>
1312
</h4>
@@ -52,7 +51,7 @@
5251
<div class="price-wrap">
5352
<var class="price">USD 145</var>
5453
<small class="text-muted">(USD5 each)</small>
55-
</div> <!-- price-wrap .// -->
54+
</div>
5655
</td>
5756
<td class="text-right">
5857
<a title="" href="" class="btn btn-outline-success" data-toggle="tooltip"
@@ -89,7 +88,7 @@
8988
<div class="price-wrap">
9089
<var class="price">USD 35</var>
9190
<small class="text-muted">(USD10 each)</small>
92-
</div> <!-- price-wrap .// -->
91+
</div>
9392
</td>
9493
<td class="text-right">
9594
<a title="" href="" class="btn btn-outline-success" data-toggle="tooltip"
@@ -126,7 +125,7 @@
126125
<div class="price-wrap">
127126
<var class="price">USD 45</var>
128127
<small class="text-muted">(USD15 each)</small>
129-
</div> <!-- price-wrap .// -->
128+
</div>
130129
</td>
131130
<td class="text-right">
132131
<a title="" href="" class="btn btn-outline-success" data-toggle="tooltip"
@@ -136,15 +135,15 @@
136135
</tr>
137136
</tbody>
138137
</table>
139-
</div> <!-- card.// -->
140-
</div> <!-- code-wrap.// -->
138+
</div>
139+
</div>
141140
</section>
142141
<br />
143142
<br />
144143
<section class="container">
145144
<div class="row">
146145
<aside class="col-md-4">
147-
<h4 class="subtitle-doc"># Cálculo de frete
146+
<h4 class="subtitle-doc">
148147
<a href="#" data-html="code_desc_simple" class="showcode">[code]</a>
149148
</h4>
150149
<div id="code_desc_simple">
@@ -162,11 +161,11 @@
162161
<dt>Discount:</dt>
163162
<dd>USD 658</dd>
164163
</dl>
165-
</div> <!-- box.// -->
166-
</div> <!-- code-wrap.// -->
164+
</div>
165+
</div>
167166
</aside>
168167
<aside class="col-md-4">
169-
<h4 class="subtitle-doc"># Cupom desconto
168+
<h4 class="subtitle-doc">
170169
<a href="#" data-html="code_desc_align" class="showcode">[code]</a>
171170
</h4>
172171
<div id="code_desc_align">
@@ -187,11 +186,11 @@
187186
<dt>Material:</dt>
188187
<dd>Leather</dd>
189188
</dl>
190-
</div> <!-- box.// -->
191-
</div> <!-- code-wrap.// -->
189+
</div>
190+
</div>
192191
</aside>
193192
<aside class="col-md-4">
194-
<h4 class="subtitle-doc"># Total a pagar
193+
<h4 class="subtitle-doc">
195194
<a href="#" data-html="code_desc_right" class="showcode">[code]</a>
196195
</h4>
197196
<div id="code_desc_right">
@@ -212,8 +211,8 @@
212211
<dt>Total cost: </dt>
213212
<dd class="text-right h5 b"> USD195 </dd>
214213
</dl>
215-
</div> <!-- box.// -->
216-
</div> <!-- code-wrap.// -->
214+
</div>
215+
</div>
217216
</aside>
218217
</div>
219218
</section>

Views/Home/Contact.cshtml

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
<dd style="margin-bottom: 0;">(00) 1234-5678</dd>
2424
<dd>sac@onlinestore.com</dd>
2525
</dl>
26-
</div> <!-- box.// -->
27-
</div> <!-- code-wrap.// -->
26+
</div>
27+
</div>
2828
</aside>
2929
<aside class="col-sm-6">
30-
3130
<h4 class="subtitle-doc">
3231
Contact
3332
</h4>

Views/Home/Index.cshtml

+13-18
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
}
55

66
<main role="main">
7-
87
<div id="myCarousel" class="carousel slide" data-ride="carousel">
98
<ol class="carousel-indicators">
109
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
@@ -59,10 +58,6 @@
5958
</a>
6059
</div>
6160

62-
<!-- Lista de Produtos
63-
================================================== -->
64-
<!-- Wrap the rest of the page in another container to center all the content. -->
65-
6661
<div class="container" id="code_prod_complex">
6762
<div class="row">
6863
<div class="col-md-4">
@@ -84,16 +79,16 @@
8479
</ul>
8580
<div class="label-rating">132 reviews</div>
8681
<div class="label-rating">154 orders </div>
87-
</div> <!-- rating-wrap.// -->
82+
</div>
8883
</figcaption>
8984
<div class="bottom-wrap">
9085
<a href="" class="btn btn-sm btn-primary float-right">Order Now</a>
9186
<div class="price-wrap h5">
9287
<span class="price-new">$1280</span> <del class="price-old">$1980</del>
93-
</div> <!-- price-wrap.// -->
94-
</div> <!-- bottom-wrap.// -->
88+
</div>
89+
</div>
9590
</figure>
96-
</div> <!-- col // -->
91+
</div>
9792
<div class="col-md-4">
9893
<figure class="card card-product">
9994
<div class="img-wrap"><img src="images/items/2.jpg"> </div>
@@ -113,16 +108,16 @@
113108
</ul>
114109
<div class="label-rating">132 reviews</div>
115110
<div class="label-rating">154 orders </div>
116-
</div> <!-- rating-wrap.// -->
111+
</div>
117112
</figcaption>
118113
<div class="bottom-wrap">
119114
<a href="" class="btn btn-sm btn-primary float-right">Order Now</a>
120115
<div class="price-wrap h5">
121116
<span class="price-new">$1280</span> <del class="price-old">$1980</del>
122-
</div> <!-- price-wrap.// -->
123-
</div> <!-- bottom-wrap.// -->
117+
</div>
118+
</div>
124119
</figure>
125-
</div> <!-- col // -->
120+
</div>
126121
<div class="col-md-4">
127122
<figure class="card card-product">
128123
<div class="img-wrap"><img src="images/items/3.jpg"></div>
@@ -142,17 +137,17 @@
142137
</ul>
143138
<div class="label-rating">132 reviews</div>
144139
<div class="label-rating">154 orders </div>
145-
</div> <!-- rating-wrap.// -->
140+
</div>
146141
</figcaption>
147142
<div class="bottom-wrap">
148143
<a href="" class="btn btn-sm btn-primary float-right">Order Now</a>
149144
<div class="price-wrap h5">
150145
<span class="price-new">$1280</span> <del class="price-old">$1980</del>
151-
</div> <!-- price-wrap.// -->
152-
</div> <!-- bottom-wrap.// -->
146+
</div>
147+
</div>
153148
</figure>
154-
</div> <!-- col // -->
155-
</div> <!-- row.// -->
149+
</div>
150+
</div>
156151
</div>
157152
</main>
158153

Views/Home/Login.cshtml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<br />
88
<section class="container">
99
<aside class="col-sm-4">
10-
<h3 class="subtitle-doc"># Login form simple
10+
<h3 class="subtitle-doc">
1111
<a href="#" data-html="code_login_1" class="showcode">[code]</a>
1212
</h3>
1313
<div id="code_login_1">
@@ -19,24 +19,24 @@
1919
<div class="form-group">
2020
<label>Your email</label>
2121
<input name="" class="form-control" placeholder="Email" type="email">
22-
</div> <!-- form-group// -->
22+
</div>
2323
<div class="form-group">
2424
<a class="float-right" href="#">Forgot?</a>
2525
<label>Your password</label>
2626
<input class="form-control" placeholder="******" type="password">
27-
</div> <!-- form-group// -->
27+
</div>
2828
<div class="form-group">
2929
<div class="checkbox">
3030
<label> <input type="checkbox"> Save password </label>
31-
</div> <!-- checkbox .// -->
32-
</div> <!-- form-group// -->
31+
</div>
32+
</div>
3333
<div class="form-group">
3434
<button type="submit" class="btn btn-primary btn-block"> Login </button>
35-
</div> <!-- form-group// -->
35+
</div>
3636
</form>
3737
</article>
38-
</div> <!-- card.// -->
39-
</div> <!-- code-wrap.// -->
38+
</div>
39+
</div>
4040
</aside>
4141
</section>
4242
</main>

0 commit comments

Comments
 (0)