summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-05-15 12:31:16 +0800
committerCheng-Han, Wu2016-05-15 12:31:16 +0800
commitaa34faf8abeaeb9ef29bf02e58792be4e87a635e (patch)
tree83fc033a0ba0ddfc0170237ee84e04478338c9da /public
parent4058306d4e79ab8c6f384ffd0bc2e8c4da992377 (diff)
Fix some code styles and user avatar style for PR #122
Diffstat (limited to 'public')
-rw-r--r--public/css/cover.css2
-rw-r--r--public/js/cover.js4
-rw-r--r--public/views/index.ejs2
3 files changed, 4 insertions, 4 deletions
diff --git a/public/css/cover.css b/public/css/cover.css
index 351babd0..40e6ed53 100644
--- a/public/css/cover.css
+++ b/public/css/cover.css
@@ -250,7 +250,7 @@ input {
.ui-avatar {
border-radius: 15em;
height: auto;
- width: 200px;
+ width: 60px;
}
.ui-history-close {
position: absolute;
diff --git a/public/js/cover.js b/public/js/cover.js
index a7ee855f..1b6c4221 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -32,7 +32,7 @@ function pageInit() {
$('.ui-signin').hide();
$('.ui-or').hide();
$('.ui-welcome').show();
- $('.ui-avatar').prop('src',data.photo);
+ $('.ui-avatar').prop('src', data.photo);
$('.ui-name').html(data.name);
$('.ui-signout').show();
$(".ui-history").click();
@@ -42,7 +42,7 @@ function pageInit() {
$('.ui-signin').slideDown();
$('.ui-or').slideDown();
$('.ui-welcome').hide();
- $('.ui-avatar').prop('src','');
+ $('.ui-avatar').prop('src', '');
$('.ui-name').html('');
$('.ui-signout').hide();
parseStorageToHistory(historyList, parseHistoryCallback);
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 98641df6..7d16428c 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -80,7 +80,7 @@
<p>Below are history from browser</p>
</div>
<div class="ui-signout" style="display:none;">
- <img class="ui-avatar" />
+ <img class="ui-avatar">
<h4 class="ui-welcome">Welcome! <span class="ui-name"></span></h4>
<a href="<%- url %>/new" class="btn btn-default">New note</a> Or
<a href="#" class="btn btn-danger ui-logout">Sign Out</a>