+
+
+
+
diff --git a/client-web/src/exlibris-app/exlibris-book-grid.html b/client-web/src/exlibris-app/book/exlibris-book-grid.html
similarity index 89%
rename from client-web/src/exlibris-app/exlibris-book-grid.html
rename to client-web/src/exlibris-app/book/exlibris-book-grid.html
index 20fa5f2..5faffe8 100644
--- a/client-web/src/exlibris-app/exlibris-book-grid.html
+++ b/client-web/src/exlibris-app/book/exlibris-book-grid.html
@@ -18,12 +18,13 @@
~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
-
-
-
-
+
+
+
+
-
+
diff --git a/client-web/src/exlibris-app/exlibris-book-tile.html b/client-web/src/exlibris-app/book/exlibris-book-tile.html
similarity index 96%
rename from client-web/src/exlibris-app/exlibris-book-tile.html
rename to client-web/src/exlibris-app/book/exlibris-book-tile.html
index dcc080b..6d4d3bc 100644
--- a/client-web/src/exlibris-app/exlibris-book-tile.html
+++ b/client-web/src/exlibris-app/book/exlibris-book-tile.html
@@ -17,11 +17,11 @@
~ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
-
-
-
+
+
+
-
+
diff --git a/client-web/src/exlibris-app/exlibris-app.html b/client-web/src/exlibris-app/exlibris-app.html
index 553de66..a8f3147 100644
--- a/client-web/src/exlibris-app/exlibris-app.html
+++ b/client-web/src/exlibris-app/exlibris-app.html
@@ -35,11 +35,20 @@
+
+
+
+
-
+
+
+
+
+
+
@@ -67,15 +76,40 @@
background-color: var(--exlibris-app-primary-color);
color: var(--paper-grey-50);
}
+
+ exlibris-category-dropdown {
+ margin-left: 48px;
+ }
+
+ @media only screen and (max-width: 600px) {
+ .category {
+ display: flex;
+ }
+
+ #dropdown {
+ margin: 0 auto;
+ }
+ }
+
+ exlibris-book-search {
+ width: 40%;
+ margin: 0 auto;
+ }
+
+ use-hash-as-path query-params="{{queryParams}}">
+ data="{{routeData}}"
+ tail="{{subRoute}}">
+
@@ -86,6 +120,7 @@
reserved-count="[[reservedBooks.length]]"
borrowed-count="[[borrowedBooks.length]]">
+
@@ -93,16 +128,23 @@
[[appHeaderTitle]]
+
+
+
+
+
View404
+
+
diff --git a/client-web/src/exlibris-app/exlibris-category-dropdown.html b/client-web/src/exlibris-app/exlibris-category-dropdown.html
new file mode 100644
index 0000000..3b35cb8
--- /dev/null
+++ b/client-web/src/exlibris-app/exlibris-category-dropdown.html
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[item]]
+
+
+
+
+
+
+
+
+
diff --git a/client-web/src/exlibris-app/menu/exlibris-menu-drawer.html b/client-web/src/exlibris-app/menu/exlibris-menu-drawer.html
index 77c7a3b..884df76 100644
--- a/client-web/src/exlibris-app/menu/exlibris-menu-drawer.html
+++ b/client-web/src/exlibris-app/menu/exlibris-menu-drawer.html
@@ -81,42 +81,42 @@
attr-for-selected="data-page"
selected="[[selected]]">
-
-
-
-
-
-
diff --git a/client-web/src/exlibris-app/reducers/exlibris-reducer.html b/client-web/src/exlibris-app/reducers/exlibris-reducer.html
index fae699a..68c7458 100644
--- a/client-web/src/exlibris-app/reducers/exlibris-reducer.html
+++ b/client-web/src/exlibris-app/reducers/exlibris-reducer.html
@@ -18,11 +18,15 @@
~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
-
+
+
+
+
diff --git a/client-web/src/exlibris-app/reducers/loading-status.js b/client-web/src/exlibris-app/reducers/loading-status.js
new file mode 100644
index 0000000..3b469ef
--- /dev/null
+++ b/client-web/src/exlibris-app/reducers/loading-status.js
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2018, TeamDev Ltd. All rights reserved.
+ *
+ * Redistribution and use in source and/or binary forms, with or without
+ * modification, must retain the above copyright notice and the following
+ * disclaimer.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/* exported LoadingStatus */
+
+ExlibrisApp.LoadingStatus = {
+ IN_PROGRESS: "IN_PROGRESS",
+ COMPLETED: "COMPLETED",
+ NOT_FOUND: "NOT_FOUND"
+};
diff --git a/client-web/src/exlibris-app/test_values.js b/client-web/src/exlibris-app/test_values.js
index d8af86e..43acd47 100644
--- a/client-web/src/exlibris-app/test_values.js
+++ b/client-web/src/exlibris-app/test_values.js
@@ -32,6 +32,7 @@ const libraryTestBooks = [
title: "Прежде Чем Он Согрешит ",
image: "https://books.google.com/books/content/images/frontcover/uVVMDwAAQBAJ?fife=w200-h300",
author: "Блейк Пирс",
+ isbn: "9781640293663",
category: "Fiction ",
description: "Блейк Пирс, автор бестселлера «КОГДА ОНА УШЛА» (бестселлера #1 с более чем 900 отзывов с высшей оценкой), представляет книгу #7 в увлекательной серии детективных романов о Макензи Уайт.\n" +
"В «ПРЕЖДЕ ЧЕМ ОН СОГРЕШИТ» (Загадки Макензи Уайт—Книга 7) по всему Вашингтону полиция находит тела священников, распятые перед входом в храмы. Что это, акт возмездия? Искать ли преступника среди служителей церкви? Или это серийный убийца, открывший охоту на священников и движимый более зловещими мотивами?\n" +
@@ -48,6 +49,7 @@ const libraryTestBooks = [
title: "The Martian",
image: "https://books.google.com/books/content/images/frontcover/gdxlAQAAQBAJ?fife=w200-h300",
author: "Andy Weir",
+ isbn: "B017PNMYSK",
category: "Fiction",
description: "The Sunday Times Bestseller behind the major new film from Ridley Scott starring Matt Damon and Jessica Chastain.\n" +
"I’m stranded on Mars.\n" +
@@ -65,10 +67,11 @@ const libraryTestBooks = [
status: "EXPECTED"
}, {
- id: "8535902772",
+ id: "0132350882",
title: "Clean Code: A Handbook of Agile Software Craftsmanship",
image: "https://books.google.com/books/content/images/frontcover/_i6bDeoCQzsC?fife=w200-h300",
author: "Robert C. Martin",
+ isbn: "0132350882",
category: "Programming",
description: "Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way.\n" +
"\n" +
@@ -89,10 +92,11 @@ const libraryTestBooks = [
availableCount: 4,
status: "AVAILABLE"
}, {
- id: "8535902773",
+ id: "0596527756",
title: "Java Generics and Collections: Speed Up the Java Development Process",
image: "https://books.google.com/books/content/images/frontcover/zaoK0Z2STlkC?fife=w200-h300",
author: "Maurice Naftalin",
+ isbn: "0596527756",
category: "Java programming",
description: "This comprehensive guide shows you how to master the most importantchanges to Java since it was first released. Generics and the greatlyexpanded collection libraries have tremendously increased the power ofJava 5 and Java 6. But they have also confused many developers whohaven't known how to take advantage of these new features.\n" +
"Java Generics and Collections covers everything from the mostbasic uses of generics to the strangest corner cases. It teaches youeverything you need to know about the collections libraries, so you'llalways know which collection is appropriate for any given task, andhow to use it.\n" +
@@ -113,10 +117,11 @@ const libraryTestBooks = [
status: "EXPECTED"
}, {
- id: "8535902774",
+ id: "0321563840",
title: "The C++ Programming Language: Edition 4",
image: "https://books.google.com/books/content/images/frontcover/PSUNAAAAQBAJ?fife=w200-h300",
author: "Bjarne Stroustrup",
+ isbn: "0321563840",
category: "C++",
description: "The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, has reorganized, extended, and completely rewritten his definitive reference and tutorial for programmers who want to use C++ most effectively.\n" +
"The C++ Programming Language, Fourth Edition, delivers meticulous, richly explained, and integrated coverage of the entire language—its facilities, abstraction mechanisms, standard libraries, and key design techniques. Throughout, Stroustrup presents concise, “pure C++11” examples, which have been carefully crafted to clarify both usage and program design. To promote deeper understanding, the author provides extensive cross-references, both within the book and to the ISO standard.\n" +
@@ -141,10 +146,11 @@ const libraryTestBooks = [
availableCount: 6,
status: "AVAILABLE"
}, {
- id: "8535902776",
+ id: "0753555638",
title: "Elon Musk: How the Billionaire CEO of SpaceX and Tesla is Shaping our Future",
image: "https://books.google.com/books/content/images/frontcover/_LFSBgAAQBAJ?fife=w200-h300",
author: "Ashlee Vance",
+ isbn: "0753555638",
category: "Biography",
description: "Explore the whole new world of web development and create responsive web apps using PolymerAbout This Book\n" +
"Get to grips with the principles of Material Design and Google Web components\n" +
@@ -173,10 +179,11 @@ const libraryTestBooks = [
status: "AVAILABLE"
}, {
- id: "8535902777",
+ id: "0321965515",
title: "Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability, Edition 3",
image: "https://books.google.com/books/content/images/frontcover/QlduAgAAQBAJ?fife=w200-h300",
author: "Steve Krug",
+ isbn: "0321965515",
category: "Web Design",
description: "Since Don’t Make Me Think was first published in 2000, hundreds of thousands of Web designers and developers have relied on usability guru Steve Krug’s guide to help them understand the principles of intuitive navigation and information design. Witty, commonsensical, and eminently practical, it’s one of the best-loved and most recommended books on the subject.\n" +
"\n" +
@@ -190,28 +197,31 @@ const libraryTestBooks = [
availableCount: 10,
status: "AVAILABLE"
}, {
- id: "8535902778",
+ id: "1617292575",
title: "Node.js в действии. 2-е издание",
image: "https://books.google.com/books/content/images/frontcover/s9VMDwAAQBAJ?fife=w200-h300",
author: "Кантелон МайкХартер МаркГоловайчук TJРайлих Натан",
+ isbn: "1617292575",
description: "Реактивное программирование - совершенно новая и многообещающая парадигма, позволяющая эффективно решать задачи, связанные с созданием распределенных систем и программированием для JVM. Эта книга расскажет, как организовать поток задач, наладить обмен сообщениями между элементами программы, обеспечить параллельную и конкурентную обработку и создавать надежные, отказоустойчивые и гибкие приложения. Перед вами - основополагающая работа по шаблонам проектирования (design patterns) этой парадигмы. Книга проиллюстрирована многочисленными примерами и ориентирована на опытных Java- и Scala-разработчиков",
availableCount: 11,
status: "AVAILABLE"
}, {
- id: "8535902779",
+ id: "9781491931776",
title: "React.js. Быстрый старт",
image: "https://books.google.com/books/content/images/frontcover/g79TDgAAQBAJ?fife=w200-h300",
author: "Стоян Стефанов",
+ isbn: "9781491931776",
description: "Незаменимая вводная книга по технологии React для взыскательных JavaScript-разработчиков. Все самое интересное о сверхпопулярном инструменте от компании Facebook. В книге рассмотрены основные концепции высокопроизводительного программирования при помощи React, реальные примеры кода и доступные блок-схемы. Прочитав ее, вы научитесь: • Создавать и использовать собственные компоненты React наряду с универсальными компонентами DOM • Писать компоненты для таблиц данных, позволяющие редактировать, сортировать таблицу, выполнять в ней поиск и экспортировать ее содержимое • Использовать дополнительный синтаксис JSX в качестве альтернативы для вызовов функций • Запускать низкоуровневый гибкий процесс сборки, который освободит вам время и поможет сосредоточиться на работе с React • Работать с инструментами ESLint, Flow и Jest, позволяющими проверять и тестировать код по мере разработки приложения • Обеспечивать коммуникацию между компонентами при помощи Flux В итоге у вас получится полноценное веб-приложение, позволяющее сохранять данные на стороне клиента.",
availableCount: 0,
status: "EXPECTED"
}, {
- id: "8535902710",
+ id: "1782168877",
title: "Game Programming Using Qt: Beginner's Guide",
image: "https://books.google.com/books/content/images/frontcover/6F0dDAAAQBAJ?fife=w200-h300",
author: "Witold WysotaLorenz Haas",
+ isbn: "1782168877",
category: "Programming",
description: "A complete guide to designing and building fun games with Qt and Qt Quick 2 using associated toolsetsAbout This Book\n" +
"Learn to create simple 2D to complex 3D graphics and games using all possible tools and widgets available for game development in Qt\n" +
@@ -241,19 +251,21 @@ const libraryTestBooks = [
status: "AVAILABLE"
}, {
- id: "8535902711",
+ id: "1484228073",
title: "Pro Spring 5: An In-Depth Guide to the Spring Framework and Its Tools, Edition 5",
image: "https://books.google.com/books/content/images/frontcover/N-U5DwAAQBAJ?fife=w200-h300",
author: "Iuliana CosminaRob HarropChris SchaeferClarence Ho",
+ isbn: "1484228073",
category: "Java Programming",
description: "",
- availableCount: 286,
+ availableCount: 8,
status: "AVAILABLE"
}, {
- id: "8535902712",
+ id: "0596517742",
title: "JavaScript: The Good Parts: The Good Parts",
image: "https://books.google.com/books/content/images/frontcover/PXa2bby0oQ0C?fife=w200-h300",
author: "Douglas Crockford",
+ isbn: "0596517742",
category: "JavaScript",
description: "Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole—a subset you can use to create truly extensible and efficient code.\n" +
"Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables.\n" +
@@ -275,10 +287,11 @@ const libraryTestBooks = [
availableCount: 15,
status: "AVAILABLE"
}, {
- id: "8535902713",
+ id: "9351108511",
title: "Java in a Nutshell: A Desktop Quick Reference, Edition 6",
image: "https://books.google.com/books/content/images/frontcover/trDXBAAAQBAJ?fife=w200-h300",
author: "Benjamin J EvansDavid Flanagan",
+ isbn: "9351108511",
category: "Java Programming",
description: "The latest edition of Java in a Nutshell is designed to help experienced Java programmers get the most out of Java 7 and 8, but it’s also a learning path for new developers. Chock full of examples that demonstrate how to take complete advantage of modern Java APIs and development best practices, the first section of this thoroughly updated book provides a fast-paced, no-fluff introduction to the Java programming language and the core runtime aspects of the Java platform.\n" +
"The second section is a reference to core concepts and APIs that shows you how to perform real programming work in the Java environment.\n" +
@@ -295,10 +308,11 @@ const libraryTestBooks = [
availableCount: 5,
status: "AVAILABLE"
}, {
- id: "8535902714",
+ id: "1491904240",
title: "You Don't Know JS: ES6 & Beyond",
image: "https://books.google.com/books/content/images/frontcover/iOc6CwAAQBAJ?fife=w200-h300",
author: "Kyle Simpson",
+ isbn: '1491904240',
category: "JavaScript",
description: "No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. As part of the \"You Don’t Know JS\" series, this compact guide focuses on new features available in ECMAScript 6 (ES6), the latest version of the standard upon which JavaScript is built.\n" +
"Like other books in this series, You Don’t Know JS: ES6 & Beyond dives into trickier parts of the language that many JavaScript programmers either avoid or know nothing about. Armed with this knowledge, you can achieve true JavaScript mastery.\n" +
@@ -315,10 +329,11 @@ const libraryTestBooks = [
availableCount: 1,
status: "AVAILABLE"
}, {
- id: "8535902715",
+ id: "9781640293663",
title: "Прежде Чем Он Согрешит ",
image: "https://books.google.com/books/content/images/frontcover/uVVMDwAAQBAJ?fife=w200-h300",
author: "Блейк Пирс",
+ isbn: "9781640293663",
category: "Fiction ",
description: "Блейк Пирс, автор бестселлера «КОГДА ОНА УШЛА» (бестселлера #1 с более чем 900 отзывов с высшей оценкой), представляет книгу #7 в увлекательной серии детективных романов о Макензи Уайт.\n" +
"В «ПРЕЖДЕ ЧЕМ ОН СОГРЕШИТ» (Загадки Макензи Уайт—Книга 7) по всему Вашингтону полиция находит тела священников, распятые перед входом в храмы. Что это, акт возмездия? Искать ли преступника среди служителей церкви? Или это серийный убийца, открывший охоту на священников и движимый более зловещими мотивами?\n" +
@@ -335,6 +350,7 @@ const libraryTestBooks = [
title: "The Martian",
image: "https://books.google.com/books/content/images/frontcover/gdxlAQAAQBAJ?fife=w200-h300",
author: "Andy Weir",
+ isbn: "B017PNMYSK",
category: "Fiction ",
description: "The Sunday Times Bestseller behind the major new film from Ridley Scott starring Matt Damon and Jessica Chastain.\n" +
"I’m stranded on Mars.\n" +
@@ -355,6 +371,7 @@ const libraryTestBooks = [
title: "Clean Code: A Handbook of Agile Software Craftsmanship",
image: "https://books.google.com/books/content/images/frontcover/_i6bDeoCQzsC?fife=w200-h300",
author: "Robert C. Martin",
+ isbn: "0132350882",
category: "Programming",
description: "Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way.\n" +
"\n" +
@@ -684,7 +701,8 @@ const userTestBooks = {
"Style and approach\n" +
"This is your guide to designing custom web components, and the concepts are explained in a conversational and easy-to-follow style. Each topic is explained through examples, with detailed explanations wherever required.",
dueDate: new Date(new Date().getTime() + TWO_WEEKS * MILLISECONDS_IN_ONE_DAY),
- status: "BORROWED"
+ status: "BORROWED",
+ isAllowedLoanExtension: true
}],
overdue: [{
id: "8535902722",
@@ -699,7 +717,8 @@ const userTestBooks = {
"Quick Start Guide to JavaFX by J.F. DiMarzio\n" +
"Mastering JavaFX 8 Controls: Create Custom JavaFX 8 Controls for Cross-Platform Applications by Hendrik Ebbers",
dueDate: new Date(new Date().getTime() - TWO_DAYS * MILLISECONDS_IN_ONE_DAY),
- status: "OVERDUE"
+ status: "OVERDUE",
+ isAllowedLoanExtension: false
}],
shouldReturnSoon: [{
id: "8535902724",
@@ -731,8 +750,12 @@ const userTestBooks = {
"Style and approach\n" +
"This is your guide to designing custom web components, and the concepts are explained in a conversational and easy-to-follow style. Each topic is explained through examples, with detailed explanations wherever required.",
dueDate: new Date(new Date().getTime() + THREE_DAYS * MILLISECONDS_IN_ONE_DAY),
- status: "BORROWED"
+ status: "BORROWED",
+ isAllowedLoanExtension: false
}]
}
;
+/*exported testCategories*/
+const testCategories = ["Java Programming", "Web Design", "Business", "JavaScript", "Programming", "Biography", "Fiction", "C++"].sort();
+
diff --git a/client-web/test/exlibris-app/book/exlibris-book-details-buttons_test.html b/client-web/test/exlibris-app/book/exlibris-book-details-buttons_test.html
new file mode 100644
index 0000000..b2300e9
--- /dev/null
+++ b/client-web/test/exlibris-app/book/exlibris-book-details-buttons_test.html
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+ exlibris-book-details buttons test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client-web/test/exlibris-app/book/exlibris-book-details-redirect-link_test.html b/client-web/test/exlibris-app/book/exlibris-book-details-redirect-link_test.html
new file mode 100644
index 0000000..3421a35
--- /dev/null
+++ b/client-web/test/exlibris-app/book/exlibris-book-details-redirect-link_test.html
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+ exlibris-book-details-redirect-link test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client-web/test/exlibris-app/book/exlibris-book-details-store_test.html b/client-web/test/exlibris-app/book/exlibris-book-details-store_test.html
new file mode 100644
index 0000000..70ed623
--- /dev/null
+++ b/client-web/test/exlibris-app/book/exlibris-book-details-store_test.html
@@ -0,0 +1,167 @@
+
+
+
+
+
+
+
+
+ exlibris-book-details store test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client-web/test/exlibris-app/exlibris-book-tile_test.html b/client-web/test/exlibris-app/book/exlibris-book-tile_test.html
similarity index 56%
rename from client-web/test/exlibris-app/exlibris-book-tile_test.html
rename to client-web/test/exlibris-app/book/exlibris-book-tile_test.html
index 504552c..6f53db5 100644
--- a/client-web/test/exlibris-app/exlibris-book-tile_test.html
+++ b/client-web/test/exlibris-app/book/exlibris-book-tile_test.html
@@ -1,4 +1,24 @@
+
+
@@ -7,12 +27,12 @@
exlibris-book-tile test
-
-
-
-
+
+
+
+
-
+
diff --git a/client-web/test/exlibris-app/exlibris-app_store_test.html b/client-web/test/exlibris-app/exlibris-app_store_test.html
new file mode 100644
index 0000000..e69de29
diff --git a/client-web/test/exlibris-app/exlibris-book-search_test.html b/client-web/test/exlibris-app/exlibris-book-search_test.html
new file mode 100644
index 0000000..0a9c62e
--- /dev/null
+++ b/client-web/test/exlibris-app/exlibris-book-search_test.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+ exlibris-book-search test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client-web/test/exlibris-app/menu/exlibris-menu-drawer_test.html b/client-web/test/exlibris-app/menu/exlibris-menu-drawer_test.html
index d5a8899..57bd7fe 100644
--- a/client-web/test/exlibris-app/menu/exlibris-menu-drawer_test.html
+++ b/client-web/test/exlibris-app/menu/exlibris-menu-drawer_test.html
@@ -45,7 +45,7 @@
suite('exlibris-menu-drawer', function () {
let element;
const SELECTED_DATA_PAGE = 'all-books';
- const SELECTED_LINK = '#/' + SELECTED_DATA_PAGE;
+ const SELECTED_LINK = '/#/' + SELECTED_DATA_PAGE;
const MENU_SELECTORS = {
MENU_LIST: '#menu-selector',
@@ -54,12 +54,12 @@
};
const MENU_REFERENCES = [
- '#/all-books',
- '#/expected-soon',
- '#/borrowed-books',
- '#/reserved-books',
- '#/should-return-books',
- '#/overdue-books'];
+ '/#/all-books',
+ '/#/expected-soon',
+ '/#/borrowed-books',
+ '/#/reserved-books',
+ '/#/should-return-books',
+ '/#/overdue-books'];
setup(() => {
element = fixture('BasicTestFixture');
diff --git a/client-web/test/exlibris-app/test_variables.js b/client-web/test/exlibris-app/test_variables.js
index e161b40..7b3ebd5 100644
--- a/client-web/test/exlibris-app/test_variables.js
+++ b/client-web/test/exlibris-app/test_variables.js
@@ -30,7 +30,7 @@
category: "Biography",
description: "В основу этой биографии легли беседы с самим Стивом Джобсом, а также с его родственниками, друзьями, врагами, соперниками и коллегами. Джобс никак не контролировал автора. Он откровенно отвечал на все вопросы и ждал такой же честности от остальных. Это рассказ о жизни, полной падений и взлетов, о сильном человеке и талантливом бизнесмене, который одним из первых понял: чтобы добиться успеха в XXI веке, нужно соединить креативность и технологии.",
status: "AVAILABLE",
- statusMessage: "3 AVAILABLE",
+ statusMessage: "3 available",
availableCount: 3
}, {
id: "123456790",