X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Findex.py;h=e066e53903a503b04f4006f865c9eadcd5b204c9;hb=fdede95cc489c5519b2e38130d66d4c01775e341;hp=9456a5e35ef23c8f8d01c2eabe1e253a5fe1417b;hpb=023023391fc401b00827d001b30ee6d7c29fc5ef;p=m_librarian.git diff --git a/m_librarian/web/views/index.py b/m_librarian/web/views/index.py index 9456a5e..e066e53 100644 --- a/m_librarian/web/views/index.py +++ b/m_librarian/web/views/index.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- @@ -25,6 +26,8 @@ import Cheetah.Filters as Filters import Cheetah.ErrorCatchers as ErrorCatchers from Cheetah.compat import unicode from views.layout import layout +from views.search_authors_form import search_authors_form +from views.search_books_form import search_books_form ################################################## ## MODULE CONSTANTS @@ -34,10 +37,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '3.1.0' __CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1) -__CHEETAH_genTime__ = 1522609706.987582 -__CHEETAH_genTimestamp__ = 'Sun Apr 1 22:08:26 2018' +__CHEETAH_genTime__ = 1527354191.441549 +__CHEETAH_genTimestamp__ = 'Sat May 26 20:03:11 2018' __CHEETAH_src__ = 'index.tmpl' -__CHEETAH_srcLastModified__ = 'Sun Apr 1 22:08:25 2018' +__CHEETAH_srcLastModified__ = 'Sat May 26 20:03:09 2018' __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -70,7 +73,7 @@ class index(layout): - ## CHEETAH: generated from #def body at line 3, col 1. + ## CHEETAH: generated from #def body at line 4, col 1. trans = KWS.get("trans") if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)): trans = self.transaction # is None unless self.awake() was called @@ -85,11 +88,19 @@ class index(layout): ######################################## ## START - generated method body - write(u'''

Index

+ write(u'''

\u041f\u043e\u0438\u0441\u043a \u0430\u0432\u0442\u043e\u0440\u043e\u0432

-

Hello, World!

+''') + _v = VFFSL(SL,"search_authors_form",False)(searchList=VFFSL(SL,"searchList",True)) # u'$search_authors_form(searchList=$searchList)' on line 8, col 1 + if _v is not None: write(_filter(_v, rawExpr=u'$search_authors_form(searchList=$searchList)')) # from line 8, col 1. + write(u''' + +

\u041f\u043e\u0438\u0441\u043a \u043a\u043d\u0438\u0433

-

Quit

+''') + _v = VFFSL(SL,"search_books_form",False)(searchList=VFFSL(SL,"searchList",True)) # u'$search_books_form(searchList=$searchList)' on line 13, col 1 + if _v is not None: write(_filter(_v, rawExpr=u'$search_books_form(searchList=$searchList)')) # from line 13, col 1. + write(u''' ''') ######################################## @@ -141,7 +152,7 @@ class index(layout): _CHEETAH_srcLastModified = __CHEETAH_srcLastModified__ - title = 'Index' + title = 'Поиск' _mainCheetahMethod_for_index = 'writeBody'