Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Nitipat Lowichakornthikun ( เต้ย )
seedcamp
Commits
d4a1a1e8
Commit
d4a1a1e8
authored
8 years ago
by
Oraphan Itritmeechai (เฟิร์น)
Browse files
Options
Download
Patches
Plain Diff
edit button
parent
722f5fc6
master
develop
feature/Feed
feature/TestCase
feature/edit_postcomment
feature/page
feature/robotTest
feature/test2
feature/verified_email
feature/who'slike
feature/whosLike
page
test
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
public/images/like.png
+0
-0
public/images/like.png
resources/views/layouts/app.blade.php
+0
-2
resources/views/layouts/app.blade.php
resources/views/post/newsfeed.blade.php
+6
-7
resources/views/post/newsfeed.blade.php
resources/views/user/myProfile.blade.php
+0
-7
resources/views/user/myProfile.blade.php
with
6 additions
and
16 deletions
+6
-16
public/images/like.png
deleted
100644 → 0
+
0
−
0
View file @
722f5fc6
643 Bytes
This diff is collapsed.
Click to expand it.
resources/views/layouts/app.blade.php
+
0
−
2
View file @
d4a1a1e8
...
...
@@ -43,8 +43,6 @@
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{ Auth::user()->username }}
</a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"{{ url('/posts') }}"
><i
class=
"fa fa-btn"
></i>
Home
</a></li>
<li><a
href=
"{{ url('/profile') }}"
><i
class=
"fa fa-btn"
></i>
Profile
</a></li>
<li><a
href=
"{{ url('/profile/edit') }}"
><i
class=
"fa fa-btn"
></i>
Edit Profile
</a></li>
<li><a
href=
"{{ url('/logout') }}"
><i
class=
"fa fa-btn fa-sign-out"
></i>
Logout
</a></li>
</ul>
...
...
This diff is collapsed.
Click to expand it.
resources/views/post/newsfeed.blade.php
+
6
−
7
View file @
d4a1a1e8
...
...
@@ -62,7 +62,7 @@
</
div
>
</
div
>
<
hr
>
<
p
>
<
p
data
-
toggle
=
"modal"
data
-
target
=
"#whoLikePost"
>
<
span
id
=
"like_{{
$post->id
}}"
>
{{
$post
->
likeByUsers
()
->
count
()
}}
</
span
>
Likes
</
p
>
<
div
class
=
"input-group"
>
...
...
@@ -77,15 +77,14 @@
<
button
class
=
"btn btn-default"
data
-
loading
-
text
=
"posting..."
id
=
"btn_comment_{{
$post->id
}}"
onclick
=
"commentPost(this, {{
$post->id
}})"
>
<
i
class
=
"glyphicon glyphicon-comment"
></
i
>
</
button
>
</
div
>
<
input
id
=
"comment-message-{{
$post->id
}}"
type
=
"text"
class
=
"form-control"
placeholder
=
"Add a comment.."
onkeydown
=
"commentPostEnter({{
$post->id
}})"
>
<
div
class
=
"input-group-btn"
>
<
button
class
=
"btn btn-default"
id
=
""
onclick
=
""
>
<
div
class
=
"btn btn-default"
>
<
i
class
=
"glyphicon glyphicon-camera icon-gray"
></
i
>
<
input
type
=
"file"
onchange
=
"uploadPhoto(this)"
data
-
loading
-
text
=
"posting..."
name
=
"image"
class
=
"invis-upload"
>
</
button
>
</
div
>
</
div
>
<
input
id
=
"comment-message-{{
$post->id
}}"
type
=
"text"
class
=
"form-control"
placeholder
=
"Add a comment.."
onkeydown
=
"commentPostEnter({{
$post->id
}})"
>
</
div
>
<
div
class
=
"divider"
></
div
>
<
ul
class
=
"list-group"
id
=
"comment-section-{{
$post->id
}}"
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/user/myProfile.blade.php
deleted
100644 → 0
+
0
−
7
View file @
722f5fc6
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
>
<
h1
style
=
"text-align: center;"
>
YOUR
POST
</
h1
>
</
div
>
@
endsection
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets