Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ahjoyo
/
idc0007
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
035630ed
authored
May 06, 2019
by
mhasan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logout added
parent
d4d79fb6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
4 deletions
create.php
edit.php
register.php
views/index.html
views/view.html
create.php
View file @
035630ed
...
@@ -33,6 +33,14 @@ session_start();
...
@@ -33,6 +33,14 @@ session_start();
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
</li>
</li>
</ul>
</ul>
<ul
style=
'text-align:end;'
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
class=
'btn btn-info'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</li>
</ul>
</nav>
</nav>
<h2
style=
"text-align: center; margin-top:80px"
>
Create List
</h2>
<h2
style=
"text-align: center; margin-top:80px"
>
Create List
</h2>
...
@@ -51,6 +59,7 @@ session_start();
...
@@ -51,6 +59,7 @@ session_start();
<input
class=
"btn btn-success"
type=
"submit"
name =
"submit"
value=
"submit"
id=
'submit'
>
<br>
<input
class=
"btn btn-success"
type=
"submit"
name =
"submit"
value=
"submit"
id=
'submit'
>
<br>
</form>
</form>
</div>
</div>
<br>
<br>
</body>
</body>
</html>
</html>
...
...
edit.php
View file @
035630ed
...
@@ -36,6 +36,13 @@ require "php/db_conn.php";
...
@@ -36,6 +36,13 @@ require "php/db_conn.php";
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
</li>
</li>
</ul>
</ul>
<ul
style=
'text-align:end;'
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
class=
'btn btn-info'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</li>
</ul>
</nav>
</nav>
<h2
style=
"text-align: center; margin-top:80px; margin-bottom:30px;"
>
Edit Task
</h2>
<h2
style=
"text-align: center; margin-top:80px; margin-bottom:30px;"
>
Edit Task
</h2>
...
@@ -60,7 +67,6 @@ require "php/db_conn.php";
...
@@ -60,7 +67,6 @@ require "php/db_conn.php";
<input
class=
"btn btn-success"
type=
'submit'
id=
'submit'
name=
'save'
value=
'save'
>
<input
class=
"btn btn-success"
type=
'submit'
id=
'submit'
name=
'save'
value=
'save'
>
</form>
</form>
</body>
</body>
</html>
</html>
\ No newline at end of file
register.php
View file @
035630ed
...
@@ -30,6 +30,13 @@
...
@@ -30,6 +30,13 @@
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
</li>
</li>
</ul>
</ul>
<ul
style=
'text-align:end;'
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
class=
'btn btn-info'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</li>
</ul>
</nav>
</nav>
<h2
style=
"text-align: center; margin-top:80px"
>
Registration
</h2>
<h2
style=
"text-align: center; margin-top:80px"
>
Registration
</h2>
...
@@ -55,6 +62,8 @@
...
@@ -55,6 +62,8 @@
</div>
</div>
</body>
</body>
...
...
views/index.html
View file @
035630ed
...
@@ -26,6 +26,15 @@
...
@@ -26,6 +26,15 @@
<li
class=
"nav-item"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
</li>
</li>
</ul>
<ul
style=
' text-align:end;'
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
class=
'btn btn-info'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</li>
</ul>
</ul>
</nav>
</nav>
...
@@ -44,10 +53,12 @@
...
@@ -44,10 +53,12 @@
<br><br>
<br><br>
<input
class=
'btn btn-success'
type=
"submit"
name=
"submit"
value=
"submit"
>
<input
class=
'btn btn-success'
type=
"submit"
name=
"submit"
value=
"submit"
>
</form>
</form>
<br>
<br>
<br>
<br>
<form
class=
'btn btn-success'
method=
"GET"
action=
"php/logout.php"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
type =
'submit'
name =
' logout'
value =
'logout'
>
<input
class=
'btn btn-danger'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</form>
{% if login is not null %}
{% if login is not null %}
<h3
style=
"text-align:center;"
>
Incorrect username and password, please try again!
</h3>
<h3
style=
"text-align:center;"
>
Incorrect username and password, please try again!
</h3>
{% endif %}
{% endif %}
...
...
views/view.html
View file @
035630ed
...
@@ -29,6 +29,14 @@
...
@@ -29,6 +29,14 @@
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
<a
class=
"nav-link"
href=
"faq.php"
>
FAQ
</a>
</li>
</li>
</ul>
</ul>
<ul
style=
'text-align:end;'
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item"
>
<form
method=
"GET"
action=
"php/logout.php"
>
<input
class=
'btn btn-info'
type =
'submit'
name =
' logout'
value =
'logout'
>
</form>
</li>
</ul>
</nav>
</nav>
{% if tasks is not null %}
{% if tasks is not null %}
...
@@ -98,6 +106,7 @@
...
@@ -98,6 +106,7 @@
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
<br>
<br>
</table>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment