Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newnewnew final files submitted #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions CreatePostLogged.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" meda="all" href="../stylesheets/noire.css">
<link rel="stylesheet" href="../stylesheets/styles.css">
<link rel="stylesheet" href="../stylesheets/navbar.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kahit Ano | Creating a Post</title>
</head>
<body>
<nav class="hori">
<div id="logo"><a href="HomeLogged.html"><img src="../images/logo.png"></a></div>
<div class="filler"></div>
<input type="text" placeholder="Search..." id="searchbar">
<div class="filler"></div>
<a href="CreatePostLogged.html"><div class="button">Create Post</div></a>

<div><img src="../images/profilepicture.jpg" id="prof-pic"></div>
<div class="username-container vert">
<div class="username" id="username">LiveJesusInOurHeartsAmen</div>
<div id="edit-profile" class="button2">Edit Profile</div>
<div id="logout" class="button2">Log Out</div>
<div class="bg"></div>
</div>
</nav>

<div><p class=forum_header style="padding-top: 50px;">CREATE A POST</p></div>
<!-- Container for Posts and the Sidebar -->
<!-- New Silly Comment -->
<div class="hori" style="justify-content: center; ">

<!-- Posts -->
<div class="vert block">

<div class = forum_post>
<div class="hori">
<div class="vert">
<img src="../images/profilepicture.jpg" width="75px" height="75px" class="post_profpic">
<div class = "hori" style="justify-content: center;">
<div id="upvote_icon"></div>
<div ><p class=post_score>0</p></div>
<div id="downvote_icon"></div>
</div>
</div>
<div class="vert">
<div><a href="CreatePostLogged.html" target="self" ><p class=post_author>Posted by LiveJesusInOurHeartsAmen:</p></a></div>
<form class="vert" id="post_template" method ="GET" action="HomeLogged.html">
<input class="post_title" type="text" id="created_title" name="created_title" placeholder="Title..." required>
<textarea class="post_text" type="text" id="created_text" name="created_text" placeholder="Text..." required></textarea>


<button type="submit" class="create_button" onclick="submitPost()">POST</button>
</form>
<!---
<div class="hori">
<div id="comment_icon"></div> <div><a href="homelogged.html" target="self" ><p class=post_options>Comment</p></a></div>
<div id="share_icon"></div> <div><a href="homelogged.html" target="self" ><p class=post_options>Share</p></a></div>
<div id="report_icon"></div> <div><a href="homelogged.html" target="self" ><p class=post_options>Report</p></a></div>
</div>-->
</div>
</div>
</div>


</div>

<!-- Sidebar Elements -->
<div class="vert block">

<div class = side_element>
<p>Welcome to "Kahit Ano," the online forum that celebrates the spirit of open conversation and diverse opinions. As a platform rooted in the Philippines, we invite users from all walks of life to engage in discussions about anything under the sun. By Intervalo, Ladrido, Tan, Rosario</p>
</div>

<div class = side_element>
<p>Current date is: 06/09/2420</p>
</div>

</div>
</div>
<script src="postcreation.js"></script>
<script src="expanded_post_logged.js"></script>
</body>
</html>
70 changes: 70 additions & 0 deletions ExpandedPost.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../stylesheets/noire.css">
<link rel="stylesheet" href="../stylesheets/styles.css">
<title>Expanded Post</title>
</head>
<body>
<nav class="hori">
<div id="logo"><a href="HomeUnlogged.html"><img src="../images/logo.png"></a></div>
<div class="filler"></div>
<input type="text" placeholder="Search..." id="searchbar">
<div class="filler"></div>
<div class="button" id="login">Login</div>
<div class="button" id="register">Register</div>
</nav>
<div class="post vert">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">100</div>
<div class="downvote"></div>
</div>
<div class=vert>
<div class="header">Wtf is wrong with Spy X Family</div>
<div class="user">
<img src="../images/prof_pics/anya.jpg" class="pfp op">
<div class="username">Anyalover69</div>
</div>
<div class="content">When Anya received her first bolt, Henderson had stated that violence automatically gets 3 bolts. But, because of him, it was only 1. It doesn't change the fact that “Violence = 3 bolt”... But, what about that time she saved Ken? She saved a literally life. Loosing a life is more major, than a swollen cheek. (No hate. I love Damian.) Punching Damian for no justified reason would have cost her 3 bolts. But, saving the life of a drowning boy was only worth 1 Stella?</div>
</div>
</div>
<div class="header">Comments:</div>
<div id="comments">
<div class="vert comment">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">100</div>
<div class="downvote"></div>
</div>
<div class="vert">
<div class="user">
<img src="../images/pfp.png" class="pfp">
<div class="username">Anyahater96</div>
</div>
<div class="content">I don't care what you said.</div>
</div>
</div>
</div>
<div class="vert comment">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">100</div>
<div class="downvote"></div>
</div>
<div class="vert">
<div class="user">
<img src="../images/pfp.png" class="pfp">
<div class="username">k3u</div>
</div>
<div class="content">Who let him cook!!!!</div>
</div>
</div>
</div>
</div>
<script src="expanded_post.js"></script>
</body>
</html>
84 changes: 84 additions & 0 deletions ExpandedPostLogged.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../stylesheets/noire.css">
<link rel="stylesheet" href="../stylesheets/styles.css">
<title>Expanded Post</title>
</head>
<body>
<nav class="hori">
<div id="logo"><a href="HomeLogged.html"><img src="../images/logo.png"></a></div>
<div class="filler"></div>
<input type="text" placeholder="Search..." id="searchbar">
<div class="filler"></div>
<a href="CreatePostLogged.html"><div class="button">Create Post</div></a>

<div><img src="../images/profilepicture.jpg" id="prof-pic"></div>
<div class="username-container vert">
<div class="username" id="username">LiveJesusInOurHeartsAmen</div>
<div id="edit-profile" class="button2">Edit Profile</div>
<div id="logout" class="button2">Log Out</div>
<div class="bg"></div>
</div>
</nav>

<div class="post vert">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">100</div>
<div class="downvote"></div>
</div>
<div class=vert>
<div class="header">Wtf is wrong with Spy X Family</div>
<div class="user">
<img src="../images/prof_pics/anya.jpg" class="pfp op">
<div class="username">Anyalover69</div>
</div>
<div class="content">When Anya received her first bolt, Henderson had stated that violence automatically gets 3 bolts. But, because of him, it was only 1. It doesn't change the fact that “Violence = 3 bolt”... But, what about that time she saved Ken? She saved a literally life. Loosing a life is more major, than a swollen cheek. (No hate. I love Damian.) Punching Damian for no justified reason would have cost her 3 bolts. But, saving the life of a drowning boy was only worth 1 Stella?</div>
</div>
</div>
<textarea placeholder="Add a comment..." id="add-comment"></textarea>
<div class="header">Comments:</div>
<div id="comments">
<div class="vert main comment">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">-10</div>
<div class="downvote"></div>
</div>
<div class="vert comment-proper">
<div class="user">
<img src="../images/pfp.png" class="pfp">
<div class="username">Anyahater96</div>
</div>
<div class="content">I don't care what you said.</div>
<textarea class="add-reply" placeholder="Add a reply..."></textarea>
</div>
</div>
</div>
<div class="vert main comment">
<div class="hori">
<div class="vert rate">
<div class="upvote"></div>
<div class="vote">0</div>
<div class="downvote"></div>
</div>
<div class="vert comment-proper">
<div class="user">
<img src="../images/prof_pics/lmao.jpg" class="pfp">
<div class="username">dankmeemer</div>
</div>
<div class="content">Haha funi</div>
<textarea class="add-reply" placeholder="Add a reply..."></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="expanded_post_logged.js"></script>
</body>
</html>
Loading