Updated jquery

This commit is contained in:
absurdo 2024-01-07 01:11:48 +01:00
parent 56be4adbfa
commit e53840fecc
4 changed files with 13 additions and 4 deletions

View file

@ -109,7 +109,7 @@ class I18nField(PhangoField):
def get_type_sql(self): def get_type_sql(self):
return 'TEXT NOT NULL' return 'JSON NOT NULL'
def obtain_lang_value(self, lang, value): def obtain_lang_value(self, lang, value):

View file

@ -73,6 +73,9 @@ class SqlClass:
engine=create_engine("mysql+%s://%s:%s@%s/%s?charset=utf8mb4" % (self.connection['db_type'], self.connection['user'], self.connection['password'], self.connection['host'], self.connection['db']), pool_recycle=self.pool_recycle, echo_pool=True, pool_size=self.pool_size, pool_pre_ping=True) engine=create_engine("mysql+%s://%s:%s@%s/%s?charset=utf8mb4" % (self.connection['db_type'], self.connection['user'], self.connection['password'], self.connection['host'], self.connection['db']), pool_recycle=self.pool_recycle, echo_pool=True, pool_size=self.pool_size, pool_pre_ping=True)
#Postgre
#engine = create_engine("postgresql+psycopg2://scott:tiger@localhost:5432/mydatabase")
except: except:
e = sys.exc_info()[0] e = sys.exc_info()[0]
v = sys.exc_info()[1] v = sys.exc_info()[1]

File diff suppressed because one or more lines are too long

View file

@ -34,7 +34,7 @@ ${load_js()|n}
</%block> </%block>
</head> </head>
<body class="${dark_css}"> <body class="${dark_css}">
<div id="layer_loading" style="display:none;"><div id="container_loading"><div class="lds-dual-ring"></div></div></div> <div id="layer_loading"><div id="container_loading"><div class="lds-dual-ring"></div></div></div>
<div id="languages_general"> <div id="languages_general">
</div> </div>
<div id="logout"> <div id="logout">
@ -208,6 +208,12 @@ ${load_js()|n}
}); });
$(document).ready(function () {
$('#layer_loading').hide();
});
</script> </script>
<%block name="jscript_block"> <%block name="jscript_block">
</%block> </%block>