Skip to content

Commit df8373f

Browse files
committed
CHANGES IN CATEGORIA IN CONTROLLER FUNCIONARIO
1 parent 3d8e865 commit df8373f

19 files changed

+130
-2
lines changed

.vs/CoffeeForCode/v16/.suo

60 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

CoffeeForCode/CoffeeForCode.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
<Content Include="Views\Funcionario\Info.cshtml" />
326326
<Content Include="Views\Funcionario\Categoria.cshtml" />
327327
<Content Include="Views\Funcionario\BuscaCliente.cshtml" />
328-
<Content Include="Views\Funcionario\Cadastra_Cafe.cshtml" />
328+
<Content Include="Views\Funcionario\CategoriaProd.cshtml" />
329329
</ItemGroup>
330330
<ItemGroup>
331331
<Folder Include="App_Data\" />
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
@model AppBancoDominio.Categoria
2+
3+
@{
4+
ViewBag.Title = "CategoriaProd";
5+
Layout = "~/Views/Shared/_CFCfunc.cshtml";
6+
}
7+
8+
<style>
9+
body {
10+
display: flex;
11+
}
12+
13+
section {
14+
/*background: red;*/
15+
margin: auto 10%;
16+
width: 110%;
17+
justify-content: center;
18+
}
19+
20+
section h3 {
21+
}
22+
23+
h2 {
24+
padding-top: 2%;
25+
text-align: center;
26+
font: bold 22pt Comic Sans MS;
27+
text-transform: uppercase;
28+
color: #6b4d41;
29+
}
30+
31+
h3 {
32+
color: #9f4845;
33+
font: bold 15pt Comic Sans MS;
34+
padding-top: 3%;
35+
padding-left: 5%;
36+
display: block;
37+
}
38+
39+
main {
40+
display: flex;
41+
margin: 5% auto;
42+
}
43+
44+
.box {
45+
width: 80%;
46+
margin: 1em 5rem;
47+
display: inline-flex;
48+
background-color: white;
49+
border: solid 5px #fff6e5;
50+
border-radius: 20px;
51+
transition: 0.5s;
52+
box-shadow: 0 15px 15px rgba(0, 0, 0, .5);
53+
cursor: pointer;
54+
}
55+
56+
.box:hover {
57+
border: solid 5px #9f4845;
58+
}
59+
60+
.box img {
61+
width: 3.5em;
62+
}
63+
64+
.box h3 {
65+
position: relative;
66+
margin-bottom: 15px;
67+
text-align: center;
68+
font: bold 18pt Candara;
69+
color: #9f4845;
70+
}
71+
72+
main > a {
73+
font: bold 12pt comic Sans MS;
74+
text-decoration: none;
75+
}
76+
77+
a:hover {
78+
text-decoration: none;
79+
}
80+
</style>
81+
<body>
82+
<section>
83+
<h2>Cadastrar Produto</h2>
84+
<h3>ESCOLHA UMA CATEGORIA:</h3>
85+
<main>
86+
<div class="col_one">
87+
<a href="Cadastra_Cafe" class="container_box">
88+
<div class="box">
89+
<img src="~/fonts/Home_Cliente/Cardapio/coffee.png" style=" margin: auto 1.5rem;" />
90+
<h3>Café</h3>
91+
</div>
92+
</a>
93+
<a href="Cadastra_Choco" class="container_box">
94+
<div class="box">
95+
<img src="~/fonts/Home_Cliente/Cardapio/chocolate.png" style=" margin: auto 2rem;" />
96+
<h3>Chocolate</h3>
97+
</div>
98+
</a>
99+
<a href="Cadastra_MilkShake" class="container_box">
100+
<div class="box">
101+
<img src="~/fonts/Home_Cliente/Cardapio/milkshake.png" style=" margin: auto 1rem;" />
102+
<h3>MilkShake</h3>
103+
</div>
104+
</a>
105+
</div>
106+
<div class="col_two">
107+
<a href="Cadastra_Sanduiche" class="container_box">
108+
<div class="box">
109+
<img src="~/fonts/Home_Cliente/Cardapio/sandwich.png" style=" margin: auto 1.5rem; padding-top:3%;" />
110+
<h3>Sanduíche</h3>
111+
</div>
112+
</a>
113+
<a href="Cadastra_Doces" class="container_box">
114+
<div class="box">
115+
<img src="~/fonts/Home_Cliente/Cardapio/cookies.png" style=" margin: auto 1.5rem; padding-top:3%;" />
116+
<h3>Doces</h3>
117+
</div>
118+
</a>
119+
<a href="Cadastra_Burguer" class="container_box">
120+
<div class="box">
121+
<img src="~/fonts/Home_Cliente/Cardapio/burger.png" style=" margin: auto 1.5rem; padding-top:3%;" />
122+
<h3>Hambúrguer</h3>
123+
</div>
124+
</a>
125+
</div>
126+
</main>
127+
</section>
128+
</body>

CoffeeForCode/Views/Shared/_CFCfunc.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
</a>
174174
</li>
175175
<li>
176-
<a href="Categoria">
176+
<a href="CategoriaProd">
177177
<span class="icon"><i class="fa fa-inbox" aria-hidden="true" style=" color:#fff6e5; font-size:2em;padding-top: 26%;"></i></span>
178178
<span class="title" style="color:#fff6e5;font:bold 1.3em comic Sans MS; padding-top: 7%;">Produtos</span>
179179
</a>

CoffeeForCode/bin/AppBancoDominio.dll

0 Bytes
Binary file not shown.

CoffeeForCode/bin/AppBancoDominio.pdb

0 Bytes
Binary file not shown.

CoffeeForCode/bin/CoffeeForCode.dll

512 Bytes
Binary file not shown.

CoffeeForCode/bin/CoffeeForCode.pdb

0 Bytes
Binary file not shown.
Binary file not shown.
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)