From: Oleg Broytman Date: Sat, 26 May 2018 16:57:44 +0000 (+0300) Subject: Fix(web:authors): Улучшить дизайн формы поиска по авторам X-Git-Tag: 0.1.4~20 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=34b5437b097b0cfa0b87471029d14308106e3862;p=m_librarian.git Fix(web:authors): Улучшить дизайн формы поиска по авторам --- diff --git a/m_librarian/web/views/search_authors_form.py b/m_librarian/web/views/search_authors_form.py index 8ab0a8b..b5229bc 100644 --- a/m_librarian/web/views/search_authors_form.py +++ b/m_librarian/web/views/search_authors_form.py @@ -35,10 +35,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '3.1.0' __CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1) -__CHEETAH_genTime__ = 1522963362.420098 -__CHEETAH_genTimestamp__ = 'Fri Apr 6 00:22:42 2018' +__CHEETAH_genTime__ = 1527353789.984589 +__CHEETAH_genTimestamp__ = 'Sat May 26 19:56:29 2018' __CHEETAH_src__ = 'search_authors_form.tmpl' -__CHEETAH_srcLastModified__ = 'Fri Apr 6 00:22:40 2018' +__CHEETAH_srcLastModified__ = 'Sat May 26 19:56:28 2018' __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -142,34 +142,38 @@ class search_authors_form(Template): ## START - generated method body write(u'''
+
+ _v = VFFSL(SL,"html_escape",False)(VFFSL(SL,"getVar",False)('search_authors', + '')) + if _v is not None: write(_filter(_v, rawExpr=u"$html_escape($getVar('search_authors',\n ''))")) # from line 15, col 39. + write(u'''" type="text" style="width: 100%">
\u041f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0430 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u041f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0430 \u0422\u043e\u0447\u043d\u043e\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435
\u0420\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435/\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 -
+
+
+
''') diff --git a/m_librarian/web/views/search_authors_form.tmpl b/m_librarian/web/views/search_authors_form.tmpl index c3aa07c..675d7cb 100644 --- a/m_librarian/web/views/search_authors_form.tmpl +++ b/m_librarian/web/views/search_authors_form.tmpl @@ -11,7 +11,9 @@ checked#slurp #end if #end def
- +
+
Подстрока в начале @@ -22,6 +24,8 @@ checked#slurp
Различать прописные/строчные -
+
+
+