mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
Improve index layout and UX with UI adjustments and better wording
This commit is contained in:
parent
cf290e86e1
commit
3bcb36b46c
4 changed files with 91 additions and 39 deletions
|
@ -40,8 +40,8 @@ function pageInit() {
|
|||
parseServerToHistory(historyList, parseHistoryCallback);
|
||||
},
|
||||
function () {
|
||||
$('.ui-signin').slideDown();
|
||||
$('.ui-or').slideDown();
|
||||
$('.ui-signin').show();
|
||||
$('.ui-or').show();
|
||||
$('.ui-welcome').hide();
|
||||
$('.ui-avatar').prop('src', '').hide();
|
||||
$('.ui-name').html('');
|
||||
|
@ -57,18 +57,17 @@ $(".masthead-nav li").click(function () {
|
|||
});
|
||||
|
||||
$(".ui-home").click(function () {
|
||||
$(".section").hide();
|
||||
$("#home").fadeIn();
|
||||
if (!$("#home").is(':visible')) {
|
||||
$(".section:visible").hide();
|
||||
$("#home").fadeIn();
|
||||
}
|
||||
});
|
||||
|
||||
$(".ui-history").click(function () {
|
||||
$(".section").hide();
|
||||
$("#history").fadeIn();
|
||||
});
|
||||
|
||||
$(".ui-releasenotes").click(function () {
|
||||
$(".section").hide();
|
||||
$("#releasenotes").fadeIn();
|
||||
if (!$("#history").is(':visible')) {
|
||||
$(".section:visible").hide();
|
||||
$("#history").fadeIn();
|
||||
}
|
||||
});
|
||||
|
||||
function checkHistoryList() {
|
||||
|
@ -292,7 +291,7 @@ $(".ui-logout").click(function () {
|
|||
|
||||
var filtertags = [];
|
||||
$(".ui-use-tags").select2({
|
||||
placeholder: 'Use tags...',
|
||||
placeholder: 'Select tags...',
|
||||
multiple: true,
|
||||
data: function () {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue