python-docx==0.8.10
Wikidata==0.6.1
-librarian==1.8.1
+librarian==1.10
## Django
Django==3.0.4
padding: 1px;
z-index: 2000;
position: absolute;
+ text-align: left;
}
.html-editarea textarea {
var w = $box.outerWidth();
var h = $box.innerHeight();
- if ($origin.is(".annotation-inline-box") | $origin.is('.reference-inline-box')) {
+ if ($origin.is(".annotation-inline-box")) {
w = Math.max(w, 400);
h = Math.max(h, 60);
if($('.htmlview div').offset().left + $('.htmlview div').width() > ($('.vsplitbar').offset().left - 480)){
x = 100;
}
}
+ if ($origin.is('.reference-inline-box')) {
+ w = 400;
+ h = 32;
+ y -= 32;
+ x = Math.min(
+ x,
+ $('.htmlview div').offset().left + $('.htmlview div').width() - 400
+ );
+ }
// start edition on this node
var $overlay = $('<div class="html-editarea"><button class="accept-button">Zapisz</button><button class="delete-button">Usuń</button><button class="tytul-button akap-edit-button">tytuł dzieła</button><button class="wyroznienie-button akap-edit-button">wyróżnienie</button><button class="slowo-button akap-edit-button">słowo obce</button><button class="znak-button akap-edit-button">znak spec.</button><textarea></textarea></div>').css({
{% load i18n %}
+{% load gravatar %}
{% if user.is_authenticated %}
<div class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- {{ user.username }}
+ <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{ user.username }}">
+ <img src="{% gravatar_url item.get_email 26 %}" alt="{{ user.username }}">
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
+ <h6 class="dropdown-header">{{ user.username }}</h6>
{% if user.is_staff %}
<a target="_blank" class="dropdown-item" href="{% url 'admin:index' %}">{% trans "Admin" %}</a>
{% endif %}
{% load i18n %}
<li id="HistoryPerspective" data-ui-related="history-view-editor" data-ui-jsclass="HistoryPerspective" class="nav-item">
- <a href="#" class="nav-link">{% trans "History" %}</a>
+ <a class="nav-link" href="#" title="{% trans "History" %}">
+ <span class="d-xl-none">⏰</span>
+ <span class="d-none d-xl-inline">{% trans "History" %}</span>
+ </a>
</li>
<li id="CodeMirrorPerspective" class="nav-item"
data-ui-related="source-editor"
data-ui-jsclass="CodeMirrorPerspective">
- <a class="nav-link" href="#">{% trans "Source code" %}</a>
+ <a class="nav-link" href="#" title="{% trans "Source code" %}">
+ <span class="d-xl-none"><></span>
+ <span class="d-none d-xl-inline">{% trans "Source code" %}</span>
+ </a>
</li>
{% load i18n %}
<li id="SummaryPerspective" data-ui-related="summary-view-editor" data-ui-jsclass="SummaryPerspective" class="nav-item">
- <a class="nav-link" href="#">{% trans "Summary" %}</a>
+ <a class="nav-link" href="#" title="{% trans "Summary" %}">
+ <span class="d-xl-none">📓</span>
+ <span class="d-none d-xl-inline">{% trans "Summary" %}</span>
+ </a>
</li>
{% load i18n %}
<li id="VisualPerspective" data-ui-related="simple-editor" data-ui-jsclass="VisualPerspective" class="nav-item">
- <a href="#" class="nav-link">{% trans "Visual editor" %}</a>
+ <a class="nav-link" href="#" title="{% trans "Visual editor" %}">
+ <span class="d-xl-none">👁</span>
+ <span class="d-none d-xl-inline">{% trans "Visual editor" %}</span>
+ </a>
</li>