Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
ixnur committed Aug 17, 2023
1 parent 3db90ff commit 3f0dafd
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 8 deletions.
21 changes: 13 additions & 8 deletions app/envanter/teplates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@

header {
background-color: #333;
padding: 20px 0;
padding: 10px 0;
text-align: center;
transition: background-color 0.3s ease;
}


header:hover {
background-color: #555; /* Üzerine gelindiğinde yeni arka plan rengi */
}
nav ul {
padding: 0;
margin: 0;
Expand Down Expand Up @@ -63,7 +68,7 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
background-color: #6b6b6b;
border: 1px solid #ddd;
border-radius: 4px;
padding: 20px;
Expand Down Expand Up @@ -92,14 +97,13 @@

<body>
<header>
<h1>Envanter Yönetimi</h1>
<nav>
<ul>
<li><a href="#">Anasayfa</a></li>
<li><a href="/home/nur/Desktop/envanter/app/envanter/teplates/index.html">Anasayfa</a></li>
<li><a href="#">Parça Listesi</a></li>
<li><a href="#" id="open-popup">Yeni Parça Ekle</a></li>
<li><a href="#">Parça Ara</a></li>
<li><a href="#">Profil</a></li>
<li><a href="/home/nur/Desktop/envanter/app/envanter/teplates/profile.html">Profil</a></li>
</ul>
</nav>
</header>
Expand All @@ -112,13 +116,13 @@ <h1>Envanter Yönetimi</h1>
</form>
<table border="1">
<tr>
<th>Model</th>
<th>Açıklama</th>
<th>Model No</th>
<th>Üretici</th>
<th>Kategori</th>
<th>Paket</th>
<th>Konum</th>
<th>Stok</th>
<th>Açıklama</th>
<th>Stok adedi</th>
</tr>
<!-- Stok tablosu içeriği burada yer alacak -->
</table>
Expand All @@ -136,6 +140,7 @@ <h2>Yeni Parça Ekle</h2>
</select><br>
<label for="model">Model:</label>
<input type="text" id="model" name="model" required><br>

<!-- Diğer form alanları burada yer alacak -->
<button type="submit">Parça Ekle</button>
</form>
Expand Down
124 changes: 124 additions & 0 deletions app/envanter/teplates/profile.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profil</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #1f1f1f; /* Arka planı koyu renk */
color: #fff; /* Yazı rengi beyaz */
}

header {
background-color: #333;
padding: 10px 0;
text-align: center;
transition: background-color 0.3s ease;
}


header:hover {
background-color: #555; /* Üzerine gelindiğinde yeni arka plan rengi */
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
justify-content: center;
}

nav li {
margin: 0 20px;
}

nav a {
text-decoration: none;
color: #fff;
font-weight: bold;
font-size: 16px;
}

.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
}

table {
width: 100%;
border-collapse: collapse;
}

th, td {
padding: 10px;
border: 1px solid #ddd;
text-align: left;
}
.profile-container {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #979797;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-info {
padding: 20px;
border-bottom: 1px solid #ccc;
}

.profile-actions {
padding: 20px;
text-align: center;
}

button {
background-color: #333;
color: #7e7e7e;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
margin: 0 10px;
}

button:hover {
background-color: #555;
}
</style>
</head>
<header>
<nav>
<ul>
<li><a href="/home/nur/Desktop/envanter/app/envanter/teplates/index.html">Anasayfa</a></li>
<li><a href="#">Parça Listesi</a></li>
<li><a href="#" id="open-popup">Yeni Parça Ekle</a></li>
<li><a href="#">Parça Ara</a></li>
<li><a href="/home/nur/Desktop/envanter/app/envanter/teplates/profile.html">Profil</a></li>
</ul>
</nav>
</header>
<body>
{% block content %}
<div class="profile-container">
<div class="profile-info">
<h2>Kullanıcı Adı: {{ user.username }}</h2>
<p>Email: {{ user.email }}</p>
<p>Telefon: {{ user.profile.phone_number }}</p>
<p>Şirket: {{ user.profile.company }}</p>
<p>Şehir: {{ user.location }}</p>
</div>
<div class="profile-actions">
<button>Edit Profile</button>
<button>asdasdasd</button>
<button>asdasda</button>
</div>
</div>
{% endblock %}
</body>
</html>

0 comments on commit 3f0dafd

Please sign in to comment.