Commit 6a404826 authored by Tarsvini's avatar Tarsvini

trying

parent 247e4cf2
Pipeline #14598870 passed with stages
in 3 minutes and 49 seconds
......@@ -42,7 +42,7 @@
getUserData(user => {
// Render profile view, post input form, post status button, and logout button
$('#lab8').html(
'<div class="profile">' +
'<div class="container profile">' +
'<img class="cover" src="' + user.cover.source + '" alt="cover" />' +
'<img class="picture" src="' + user.picture.data.url + '" alt="profpic" />' +
'<div class="data">' +
......@@ -51,9 +51,23 @@
'<h3>' + user.email + ' - ' + user.gender + '</h3>' +
'</div>' +
'</div>' +
'<div class="container">'+
'<div class="row">'+
'<div class="col-xs-12">'+
'<input id="postInput" type="text" class="post" placeholder="Ketik Status Anda" />' +
'</div>' +
'</div>' +
'<div class="row">' +
'<div class="col-xs-12 buttons">' +
'<button class="postStatus" onclick="postStatus()">Post ke Facebook</button>' +
'<button class="logout" onclick="facebookLogout()">Logout</button>'
'</div>' +
'</div>' +
'</div>'
);
// After renderin the above view, get home feed data from the logged in account
......
Markdown is supported
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