From 7ba4d5e4967021eefe81264a1b7e5e1300655d45 Mon Sep 17 00:00:00 2001 From: Bryce Murphy Date: Sun, 17 Feb 2019 08:58:13 -0500 Subject: [PATCH] padding and link --- public/ico/outline-timeline-24px.svg | 1 + public/js/profileGen.js | 34 ++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 public/ico/outline-timeline-24px.svg diff --git a/public/ico/outline-timeline-24px.svg b/public/ico/outline-timeline-24px.svg new file mode 100644 index 0000000..201cfaf --- /dev/null +++ b/public/ico/outline-timeline-24px.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/js/profileGen.js b/public/js/profileGen.js index 8e6f972..7001450 100644 --- a/public/js/profileGen.js +++ b/public/js/profileGen.js @@ -12,15 +12,15 @@ function profileGen(username, container) "
\ \
\ -
\ +
\
"+ (user.name != null ? "
"+user.name+"
" : "") +" \
"+user.login+"
\
\
\ - \ -
\ -
\ +
\

"+user.html_url+"

\ " + (user.blog != null ? "

"+user.blog+"

" : "")+" \
\ -
\
    \
  • Followers: "+user.followers+"
  • \
  • Following: "+user.following+"
  • \ @@ -97,6 +113,10 @@ function queryUrl(url, successCallBack, errorCallBack) { }); } -function makeUrl(user) { +function graphUrl(user) { return "/FriendsGraph.html?name="+user; +} + +function timelineUrl(user) { + return "/TimeLineGraph.html?name="+user; } \ No newline at end of file