]> git.phdru.name Git - m_librarian.git/commitdiff
Feat(web): Recompile `search_authors_form.py`
authorOleg Broytman <phd@phdru.name>
Wed, 10 Jan 2024 00:15:47 +0000 (03:15 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 10 Jan 2024 00:15:47 +0000 (03:15 +0300)
[skip ci]

m_librarian/web/views/search_authors_form.py

index a4847874aa8f907d7df2673368a51e112174936d..ab02908feafec37ac80a74aa440c6bef71da4313 100644 (file)
@@ -33,12 +33,12 @@ VFFSL=valueFromFrameOrSearchList
 VFSL=valueFromSearchList
 VFN=valueForName
 currentTime=time.time
-__CHEETAH_version__ = '3.3.3'
-__CHEETAH_versionTuple__ = (3, 3, 3, 'final', 0)
-__CHEETAH_genTime__ = 1704324466.0275428
-__CHEETAH_genTimestamp__ = 'Thu Jan  4 02:27:46 2024'
+__CHEETAH_version__ = '3.3.1'
+__CHEETAH_versionTuple__ = (3, 3, 1, 'final', 0)
+__CHEETAH_genTime__ = 1704845598.452284
+__CHEETAH_genTimestamp__ = 'Wed Jan 10 03:13:18 2024'
 __CHEETAH_src__ = 'search_authors_form.tmpl'
-__CHEETAH_srcLastModified__ = 'Thu Jan  4 02:27:39 2024'
+__CHEETAH_srcLastModified__ = 'Wed Jan 10 03:02:59 2024'
 __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -87,7 +87,7 @@ class search_authors_form(Template):
         ## START - generated method body
         
         if VFFSL(SL,"getVar",False)('search_type', '') == VFFSL(SL,"value",True): # generated from line 4, col 1
-            write('''checked''')
+            write(u'''checked''')
         
         ########################################
         ## END - generated method body
@@ -115,7 +115,7 @@ class search_authors_form(Template):
         ## START - generated method body
         
         if VFFSL(SL,"getVar",False)('case_sensitive', None): # generated from line 9, col 1
-            write('''checked''')
+            write(u'''checked''')
         
         ########################################
         ## END - generated method body
@@ -141,38 +141,38 @@ class search_authors_form(Template):
         ########################################
         ## START - generated method body
         
-        write('''<form action="/search_authors/" method="POST">
+        write(u'''<form action="/search_authors/" method="POST">
   <div style="width: 100%">
   <input name="search_authors" value="''')
         _v = VFFSL(SL,"html_escape",False)(VFFSL(SL,"getVar",False)('search_authors',
   ''))
-        if _v is not None: write(_filter(_v, rawExpr="$html_escape($getVar('search_authors',\n  ''))")) # from line 15, col 39.
-        write('''" type="text" style="width: 100%">
+        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%">
   <br>
   <input name="search_type" value="start" ''')
-        _v = VFFSL(SL,"search_type_checked",False)('start') # "$search_type_checked('start')" on line 18, col 43
-        if _v is not None: write(_filter(_v, rawExpr="$search_type_checked('start')")) # from line 18, col 43.
-        write(''' type="radio">
-  Подстрока в начале
+        _v = VFFSL(SL,"search_type_checked",False)('start') # u"$search_type_checked('start')" on line 18, col 43
+        if _v is not None: write(_filter(_v, rawExpr=u"$search_type_checked('start')")) # from line 18, col 43.
+        write(u''' type="radio">
+  \u041f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0430 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435
   <input name="search_type" value="substring" ''')
-        _v = VFFSL(SL,"search_type_checked",False)('substring') # "$search_type_checked('substring')" on line 20, col 47
-        if _v is not None: write(_filter(_v, rawExpr="$search_type_checked('substring')")) # from line 20, col 47.
-        write(''' type="radio">
-  Подстрока
+        _v = VFFSL(SL,"search_type_checked",False)('substring') # u"$search_type_checked('substring')" on line 20, col 47
+        if _v is not None: write(_filter(_v, rawExpr=u"$search_type_checked('substring')")) # from line 20, col 47.
+        write(u''' type="radio">
+  \u041f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0430
   <input name="search_type" value="full" ''')
-        _v = VFFSL(SL,"search_type_checked",False)('full') # "$search_type_checked('full')" on line 22, col 42
-        if _v is not None: write(_filter(_v, rawExpr="$search_type_checked('full')")) # from line 22, col 42.
-        write(''' type="radio">
-  Точное совпадение
+        _v = VFFSL(SL,"search_type_checked",False)('full') # u"$search_type_checked('full')" on line 22, col 42
+        if _v is not None: write(_filter(_v, rawExpr=u"$search_type_checked('full')")) # from line 22, col 42.
+        write(u''' type="radio">
+  \u0422\u043e\u0447\u043d\u043e\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435
   <br>
   <input name="case_sensitive" type="checkbox" ''')
-        _v = VFFSL(SL,"case_sensitive_checked",True) # '$case_sensitive_checked' on line 25, col 48
-        if _v is not None: write(_filter(_v, rawExpr='$case_sensitive_checked')) # from line 25, col 48.
-        write('''>
-  Различать прописные/строчные
+        _v = VFFSL(SL,"case_sensitive_checked",True) # u'$case_sensitive_checked' on line 25, col 48
+        if _v is not None: write(_filter(_v, rawExpr=u'$case_sensitive_checked')) # from line 25, col 48.
+        write(u'''>
+  \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
   </div>
   <div style="width: 100%; text-align: center">
-  <input name="submit" type="submit" value="Искать авторов">
+  <input name="submit" type="submit" value="\u0418\u0441\u043a\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u043e\u0432">
   </div>
 </form>
 ''')