Commit d4a1a1e8 authored by Oraphan Itritmeechai (เฟิร์น)'s avatar Oraphan Itritmeechai (เฟิร์น)
Browse files

edit button

Showing with 6 additions and 16 deletions
+6 -16
public/images/like.png

643 Bytes

......@@ -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>
......
......@@ -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 }}">
......
@extends('layouts.app')
@section('content')
<div class="container">
<h1 style="text-align: center;">YOUR POST</h1>
</div>
@endsection
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment