From: Oleg Broytman Date: Tue, 16 Jul 2024 17:50:54 +0000 (+0300) Subject: Feat(web): Fix button "Save" at the bottom of the screen X-Git-Tag: 0.4.1~1 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0585baf663f897287a3010498c208db66d0b64c7;p=m_librarian.git Feat(web): Fix button "Save" at the bottom of the screen [skip ci] --- diff --git a/m_librarian/web/static/style.css b/m_librarian/web/static/style.css index 128d5ed..98c2ef5 100644 --- a/m_librarian/web/static/style.css +++ b/m_librarian/web/static/style.css @@ -52,3 +52,16 @@ td, th { .center { text-align: center; } + +#list_books { + width: 100%; + margin-bottom: 3ex; +} + +#bottom { + position: fixed; + bottom: 0; + width: 100%; + height: 3ex; + background-color: white; +} diff --git a/m_librarian/web/views/list_books.py b/m_librarian/web/views/list_books.py index 2da3e3e..0b0fa39 100644 --- a/m_librarian/web/views/list_books.py +++ b/m_librarian/web/views/list_books.py @@ -36,10 +36,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '3.3.1' __CHEETAH_versionTuple__ = (3, 3, 1, 'final', 0) -__CHEETAH_genTime__ = 1721134725.866559 -__CHEETAH_genTimestamp__ = 'Tue Jul 16 15:58:45 2024' +__CHEETAH_genTime__ = 1721152062.147147 +__CHEETAH_genTimestamp__ = 'Tue Jul 16 20:47:42 2024' __CHEETAH_src__ = 'list_books.tmpl' -__CHEETAH_srcLastModified__ = 'Tue Jul 16 15:57:52 2024' +__CHEETAH_srcLastModified__ = 'Tue Jul 16 20:47:39 2024' __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -117,7 +117,7 @@ function toggleSeries(name, value) { ''') if VFFSL(SL,"books_by_author",True): # generated from line 31, col 1 - _orig_filter_31788103 = _filter + _orig_filter_65030134 = _filter filterName = u'WebSafe' if "WebSafe" in self._CHEETAH__filters: _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName] @@ -125,7 +125,7 @@ function toggleSeries(name, value) { _filter = self._CHEETAH__currentFilter = \ self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter write(u'''
- +
@@ -221,16 +221,13 @@ function toggleSeries(name, value) { ''') write(u''' ''') - write(u''' - - -
+ write(u''' +
+ +
''') - _filter = self._CHEETAH__currentFilter = _orig_filter_31788103 + _filter = self._CHEETAH__currentFilter = _orig_filter_65030134 else: # generated from line 89, col 1 write(u'''

\u041d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0438!

''') diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 4a5c283..2557a50 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -31,7 +31,7 @@ function toggleSeries(name, value) { #if $books_by_author #filter WebSafe
- +
@@ -80,10 +80,10 @@ $series, 1#slurp #end for #end for - - -
+
+ +
#end filter WebSafe #else