mirror of https://github.com/status-im/codimd.git
Fix some code styles and user avatar style for PR #122
This commit is contained in:
parent
4058306d4e
commit
aa34faf8ab
|
@ -250,7 +250,7 @@ input {
|
||||||
.ui-avatar {
|
.ui-avatar {
|
||||||
border-radius: 15em;
|
border-radius: 15em;
|
||||||
height: auto;
|
height: auto;
|
||||||
width: 200px;
|
width: 60px;
|
||||||
}
|
}
|
||||||
.ui-history-close {
|
.ui-history-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -32,7 +32,7 @@ function pageInit() {
|
||||||
$('.ui-signin').hide();
|
$('.ui-signin').hide();
|
||||||
$('.ui-or').hide();
|
$('.ui-or').hide();
|
||||||
$('.ui-welcome').show();
|
$('.ui-welcome').show();
|
||||||
$('.ui-avatar').prop('src',data.photo);
|
$('.ui-avatar').prop('src', data.photo);
|
||||||
$('.ui-name').html(data.name);
|
$('.ui-name').html(data.name);
|
||||||
$('.ui-signout').show();
|
$('.ui-signout').show();
|
||||||
$(".ui-history").click();
|
$(".ui-history").click();
|
||||||
|
@ -42,7 +42,7 @@ function pageInit() {
|
||||||
$('.ui-signin').slideDown();
|
$('.ui-signin').slideDown();
|
||||||
$('.ui-or').slideDown();
|
$('.ui-or').slideDown();
|
||||||
$('.ui-welcome').hide();
|
$('.ui-welcome').hide();
|
||||||
$('.ui-avatar').prop('src','');
|
$('.ui-avatar').prop('src', '');
|
||||||
$('.ui-name').html('');
|
$('.ui-name').html('');
|
||||||
$('.ui-signout').hide();
|
$('.ui-signout').hide();
|
||||||
parseStorageToHistory(historyList, parseHistoryCallback);
|
parseStorageToHistory(historyList, parseHistoryCallback);
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
<p>Below are history from browser</p>
|
<p>Below are history from browser</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui-signout" style="display:none;">
|
<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>
|
<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="<%- url %>/new" class="btn btn-default">New note</a> Or
|
||||||
<a href="#" class="btn btn-danger ui-logout">Sign Out</a>
|
<a href="#" class="btn btn-danger ui-logout">Sign Out</a>
|
||||||
|
|
Loading…
Reference in New Issue