mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 03:12:20 -04:00
commit
a210cb3a4b
@ -129,15 +129,11 @@ void introduceTaskbar(string& content, const string& humanReadableBookId)
|
||||
content,
|
||||
"<head>",
|
||||
replaceRegex(
|
||||
RESOURCE::include_html_part, humanReadableBookId, "__CONTENT__"));
|
||||
content = appendToFirstOccurence(
|
||||
content,
|
||||
"<head>",
|
||||
"<style>" + RESOURCE::taskbar_css
|
||||
+ (noLibraryButtonFlag
|
||||
? " #kiwix_serve_taskbar_library_button { display: none }"
|
||||
: "")
|
||||
+ "</style>");
|
||||
RESOURCE::include_html_part, humanReadableBookId, "__CONTENT__")
|
||||
+ (noLibraryButtonFlag
|
||||
? "<style>#kiwix_serve_taskbar_library_button { display: none }</style>"
|
||||
: "")
|
||||
);
|
||||
if ( humanReadableBookId.empty() ) {
|
||||
content = appendToFirstOccurence(
|
||||
content,
|
||||
|
@ -1,5 +1,3 @@
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.min.css" rel="Stylesheet" />
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
|
||||
<span class="kiwix">
|
||||
<span id="kiwixtoolbar" class="ui-widget-header">
|
||||
<div class="kiwix_centered">
|
||||
|
@ -1,3 +1,6 @@
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.min.css" rel="Stylesheet" />
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
|
||||
<link type="text/css" href="/skin/taskbar.css" rel="Stylesheet" />
|
||||
<script type="text/javascript" src="/skin/jquery-ui/external/jquery/jquery.js"></script>
|
||||
<script type="text/javascript" src="/skin/jquery-ui/jquery-ui.min.js"></script>
|
||||
<script>
|
||||
|
@ -1,5 +1,3 @@
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.min.css" rel="Stylesheet" />
|
||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
|
||||
<span class="kiwix">
|
||||
<span id="kiwixtoolbar" class="ui-widget-header">
|
||||
<div class="kiwix_centered">
|
||||
|
Loading…
x
Reference in New Issue
Block a user