File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,6 +247,11 @@ input {
247247.sort .desc {
248248 text-decoration : underline;
249249}
250+ .ui-avatar {
251+ border-radius : 15em ;
252+ height : auto;
253+ width : 200px ;
254+ }
250255.ui-history-close {
251256 position : absolute;
252257 right : 14px ;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ function pageInit() {
3232 $ ( '.ui-signin' ) . hide ( ) ;
3333 $ ( '.ui-or' ) . hide ( ) ;
3434 $ ( '.ui-welcome' ) . show ( ) ;
35+ $ ( '.ui-avatar' ) . prop ( 'src' , data . photo ) ;
3536 $ ( '.ui-name' ) . html ( data . name ) ;
3637 $ ( '.ui-signout' ) . show ( ) ;
3738 $ ( ".ui-history" ) . click ( ) ;
@@ -41,6 +42,7 @@ function pageInit() {
4142 $ ( '.ui-signin' ) . slideDown ( ) ;
4243 $ ( '.ui-or' ) . slideDown ( ) ;
4344 $ ( '.ui-welcome' ) . hide ( ) ;
45+ $ ( '.ui-avatar' ) . prop ( 'src' , '' ) ;
4446 $ ( '.ui-name' ) . html ( '' ) ;
4547 $ ( '.ui-signout' ) . hide ( ) ;
4648 parseStorageToHistory ( historyList , parseHistoryCallback ) ;
Original file line number Diff line number Diff line change 8080 < p> Below are history from browser< / p>
8181 < / div>
8282 < div class = " ui-signout" style= " display:none;" >
83+ < img class = " ui-avatar" / >
8384 < h4 class = " ui-welcome" > Welcome! < span class = " ui-name" >< / span>< / h4>
8485 < a href= " <%- url %>/new" class = " btn btn-default" > New note< / a> Or
8586 < a href= " #" class = " btn btn-danger ui-logout" > Sign Out< / a>
You can’t perform that action at this time.
0 commit comments