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

test complete for article api #5

Open
wants to merge 20 commits into
base: master
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ typings/

# dotenv environment variables file
.env

server/.env
server/fancy-to-do-684a7e877064.json
Empty file added client-test/.gitignore
Empty file.
10 changes: 10 additions & 0 deletions client-test/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>404</title>
</head>
<body>
404
</body>
</html>
99 changes: 99 additions & 0 deletions client-test/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<link rel="stylesheet" href="./public/style/custom.css">
<title>To-do Backlogs</title>
</head>
<body>

<nav class="navbar is-transparent is-black">
<div class="navbar-brand">
<a class="navbar-item" href="/">
<h1 class="title has-text-white">BACKLOG</h1>
</a>
<div class="navbar-burger burger" data-target="mainNavigation">
<span></span>
<span></span>
<span></span>
</div>
</div>

<div id="mainNavigation" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">
Home
</a>
<a class="navbar-item" href="/">
Article
</a>
<a class="navbar-item" href="/">
Profile
</a>
</div>


</div>
</nav>

<div id="fb-root"></div>
<section class="hero is-fullheight is-bold is-dark">

<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title">
Welcome
</h1>
<h2 class="subtitle" id="login-process">
Please Login
</h2>
<div class="tile is-ancestor">
<div class="tile is-vertical is-12">
<div class="tile">
<div class="tile is-parent is-vertical">
<article class="tile is-child notification is-primary">
<div class="is-loading" id="spinner">
<a class="button is-loading" style="background:none; border:none;">Loading</a>
</div>
<div class="fb-login-button" data-scope="public_profile, email" onlogin="checkLoginState();" data-max-rows="1" data-size="large" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="false" data-use-continue-as="false"></div>
<button type="button" name="button" class="fb-logout-button logout-style" onclick="logout()">
logout
</button>
</article>
<article class="tile is-child notification is-warning" id="proceed" style="display:none">
<p class="title">Proceed</p>
<a href="/create.html" class="button is-light">Create new Task</a>
<a href="/import.html" class="button is-light">Import from Steam</a>
<a href="/task.html" class="button is-light">My Task</a>

</article>
</div>
</div>
</div>

</div>

</div>




</div>

</div>


</section>

<script src="./public/javascripts/navbar.js" charset="utf-8"></script>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="./public/javascripts/facebook.js" charset="utf-8"></script>
</body>
</html>
Loading