-
Notifications
You must be signed in to change notification settings - Fork 0
/
Admin.master
198 lines (161 loc) · 6.69 KB
/
Admin.master
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Admin.master.cs" Inherits="Admin" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<style>
.vertical-nav {
min-width: 17rem;
width: 17rem;
height: 100vh;
position: fixed;
top: 0;
left: 0;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
transition: all 0.4s;
}
.page-content {
width: calc(100% - 17rem);
margin-left: 17rem;
transition: all 0.4s;
}
/* for toggle behavior */
#sidebar.active {
margin-left: -17rem;
}
#content.active {
width: 100%;
margin: 0;
}
@media (max-width: 768px) {
#sidebar {
margin-left: -17rem;
}
#sidebar.active {
margin-left: 0;
}
#content {
width: 100%;
margin: 0;
}
#content.active {
margin-left: 17rem;
width: calc(100% - 17rem);
}
}
body {
background: #599fd9;
background: -webkit-linear-gradient(to right, #599fd9, #c2e59c);
background: linear-gradient(to right, #599fd9, #c2e59c);
min-height: 100vh;
overflow-x: hidden;
}
.separator {
margin: 3rem 0;
border-bottom: 1px dashed #fff;
}
.text-uppercase {
letter-spacing: 0.1em;
}
.text-gray {
color: #aaa;
}
</style>
<script>
$(function () {
// Sidebar toggle behavior
$('#sidebarCollapse').on('click', function () {
$('#sidebar, #content').toggleClass('active');
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div class="vertical-nav bg-light" id="sidebar">
<div class="py-4 px-3 mb-4 bg-light">
<div class="media d-flex align-items-center">
<asp:Image ID="Image1" runat="server" ImageUrl="/Logo/foto.jpg" CssClass="mr-3 rounded-circle img-thumbnail shadow-sm" Width="55px" Height="55px" />
<div class="media-body">
<h4 class="m-0">Fatma Cafrı</h4>
<p class="font-weight-light text-muted mb-0">Web developer</p>
</div>
</div>
</div>
<p class="text-gray font-weight-bold text-uppercase px-3 small pb-4 mb-0">MENÜLER</p>
<ul class="nav flex-column bg-white mb-0">
<li class="nav-item">
<a href="Kategoriler.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Kategoriler
</a>
</li>
<li class="nav-item">
<a href="Yemekler.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Yemekler
</a>
</li>
<li class="nav-item">
<a href="Tarifler.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Gelen Tarifler
</a>
</li>
<li class="nav-item">
<a href="Yorumlar.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Yorumlar
</a>
</li>
<li class="nav-item">
<a href="Mesajlar.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Mesajlar
</a>
</li>
<li class="nav-item">
<a href="HakkimizdaAdmin.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Hakkımızda
</a>
</li>
<li class="nav-item">
<a href="Anasayfa.aspx" class="nav-link text-dark font-italic bg-light">
<i class="fa fa-chevron-right mr-3 text-primary fa-fw"></i>
Çıkış
</a>
</li>
</ul>
</div>
<!-- Page content holder -->
<div class="page-content p-5" id="content">
<!-- Toggle button -->
<button id="sidebarCollapse" type="button" class="btn btn-light bg-white rounded-pill shadow-sm px-4 mb-4"><i class="fa fa-bars mr-2"></i><small class="text-uppercase font-weight-bold">AÇ/KAPAT</small></button>
<%--<div class="separator"></div>--%>
<div class="row">
<div class="col-lg-5">
<div <%--class="bg-white p-0 rounded my-5 shadow-sm"--%>>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<div class="col-lg-1"></div>
<div class="col-lg-5">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server"></asp:ContentPlaceHolder>
</div>
<div class="col-lg-1"></div>
</div>
<%--<div class="col-lg-2"></div>--%>
</div>
<%--<div class="bg-white rounded my-5 shadow-sm"> </div>--%>
</form>
</body>
</html>