/
app.php
61 lines (59 loc) · 2.42 KB
/
app.php
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
<?php include 'header.php'; ?>
<main class="container">
<div class="create-view-note ">
<section class="create-edit-note hidden">
<form class="create-edit-form" name="create-edit-form">
<input type="text" name="note-id" class="hidden" placeholder="id of Note" disabled>
<input type="text" name="note-title" id="note-title" placeholder="Title of Note">
<textarea name="note-content" placeholder="Enter Note" id="note-content"></textarea>
<span>
<label for="fav">Favorite</label>
<input type="checkbox" name="fav" id="fav">
</span>
<input type="submit" class="create-edit-btn"value="Create Note">
</form>
</section>
<section class="note-list">
<form class="search-bar" action="#" method="get">
<input type="search" name="search" id="searchField">
<button type="submit"><i class="fa fa-search"></i></button>
</form>
<ul class="note-list-items">
<!-- <a href="#">
<li>
<h1>Title <span><i class="fa-regular fa-heart"></i></span><span><i class="fa-solid fa-trash"></i></span></h1>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit amet consectetur adipisicing elit amet elit....</p>
</li>
</a> -->
<!-- 106wchar-->
loading..
</ul>
</section>
</div>
<a href="#" class="create-btn"><i class="fa fa-plus"></i></a>
</main>
<div class="modal-overlay">
<span class="close">close</span>
<div class="modal">
<div class="display-details">
<span class="edit">edit</span>
<h1>Name: <?php echo $_SESSION['fullname'];?></h1>
<h3>Email: <?php echo $_SESSION['email'];?></h3>
<h3>Password: ***</h3>
<p>Joined: <?php echo $_SESSION['datejoined']?></p>
</div>
<div class="edit-details hidden">
<span class="cancel">cancel</span>
<form class="register profile">
<div class="name-input">
<input type="text" name="fname" id="fname" placeholder="First Name">
<input type="text" name="lname" id="lname" placeholder="Last Name">
</div>
<input type="email" name="email" id="email" placeholder="Email">
<input type="password" name="pwd" id="pwd" placeholder="Password">
<input type="submit" id="regSubmit" value="Update">
</form>
</div>
</div>
</div>
<?php include 'footer.php'; ?>