-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.aspx
130 lines (126 loc) · 6.71 KB
/
home.aspx
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
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="medium_clone.Home" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="HomeContent" ContentPlaceHolderID="Content" runat="server">
<section id="hero">
<div class="container">
<div class="slogan">
<h1 class="font-display text-white font-xl">Curabitur quis maximus</h1>
<p class="slogan-description text-white">
It is a long established fact that a reader will be
distracted by the readable
content of a page when looking at its layout.The point of using Lorem Ipsum is that it has a
more-or-less normal distribution of letters.
</p>
<p>
<a href="javascript:0" onclick="func_login_modal()" class="btn btn-primary-outline btn-big no-radius">keşfet</a>
</p>
</div>
</div>
<%-- LOGIN --%>
<div id="login" class="<%= Request.QueryString.ToString() == "login" ? "show-modal" : ""%>">
<div class="login-modal">
<!-- close button -->
<div class="close">
<a href="/home" class="btn-icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 6L6 18" stroke="#757575" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M6 6L18 18" stroke="#757575" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
</a>
</div>
<!-- title -->
<h2 class="title font-display font-large">Tekrar Hoşgeldin.</h2>
<!-- form -->
<div class="form-user-control">
<div class="form-group">
<asp:TextBox ID="email" runat="server" CssClass="form-control" placeholder="e-posta"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="password" runat="server" CssClass="form-control" TextMode="Password" placeholder="şifre"></asp:TextBox>
</div>
<div class="form-group">
<asp:CheckBox ID="remember_me" runat="server" />
<span>Beni Hatırla</span>
</div>
<% if (isInvalid)
{ %>
<div class="form-group">
<p class="invalid">Kullanıcı bulunamadı.</p>
</div>
<%}
if (isInvalidLength)
{ %>
<div class="form-group">
<p class="invalid">Lütfen alanları doldurun.</p>
</div>
<%} %>
<asp:Button runat="server" class="btn btn-primary" Text="giriş yap" OnClick="func_login"></asp:Button>
<!-- route register -->
<p class="route">
Hesabın yok mu?
<span><a href="javascript:0" onclick="func_register_modal()">Kayıt Ol</a></span>
</p>
</div>
</div>
</div>
<%-- REGISTER --%>
<div id="register" class="<%= Request.QueryString.ToString() == "register" ? "show-modal" : ""%>">
<div class="login-modal">
<!-- close button -->
<div class="close">
<a href="/home" class="btn-icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 6L6 18" stroke="#757575" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M6 6L18 18" stroke="#757575" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
</a>
</div>
<!-- title -->
<h2 class="title font-display font-large">Bize Katıl.</h2>
<!-- form -->
<div class="form-user-control">
<div class="form-group">
<asp:TextBox ID="register_username" CssClass="form-control" autocomplete="off" placeholder="kullanıcı adı" runat="server"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="register_email" CssClass="form-control" autocomplete="off" placeholder="e-posta" runat="server"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="password1" CssClass="form-control" TextMode="Password" autocomplete="off" placeholder="şifre" runat="server"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="password2" CssClass="form-control" TextMode="Password" autocomplete="off" placeholder="şifre" runat="server"></asp:TextBox>
</div>
<% if (isInvalidLength)
{ %>
<div class="form-group">
<p class="invalid">Lütfen alanları doldurun.</p>
</div>
<%} %>
<% if (isInvalidPassword)
{ %>
<div class="form-group">
<p class="invalid">Şifreleriniz eşleşmiyor.</p>
</div>
<%} %>
<% if (isExist)
{ %>
<div class="form-group">
<p class="invalid">Böyle bir kullanıcı var.</p>
</div>
<%} %>
<asp:Button runat="server" class="btn btn-primary" Text="kayıt ol" OnClick="func_register"></asp:Button>
<!-- route register -->
<p class="route">
Hesabın var mı?
<span><a href="javascript:0" onclick="func_login_modal()">Giriş Yap</a></span>
</p>
</div>
</div>
</div>
</section>
</asp:Content>