reformat info page info_html field
This commit is contained in:
parent
15a0390875
commit
035c17c48b
|
@ -142,7 +142,7 @@ def home():
|
||||||
analytics_tracking_code = ''
|
analytics_tracking_code = ''
|
||||||
|
|
||||||
if config['info_html']:
|
if config['info_html']:
|
||||||
info_html = '<br>\n' + config['info_html']
|
info_html = config['info_html']
|
||||||
else:
|
else:
|
||||||
info_html = ''
|
info_html = ''
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,10 @@
|
||||||
<p><strong>Client API URL:</strong> {{ client_api }}</p>
|
<p><strong>Client API URL:</strong> {{ client_api }}</p>
|
||||||
<p><strong>Streaming API URL:</strong> {{ ws_client_api }}</p>
|
<p><strong>Streaming API URL:</strong> {{ ws_client_api }}</p>
|
||||||
<p><strong>OpenAI-Compatible API URL:</strong> {{ openai_client_api }}</p>
|
<p><strong>OpenAI-Compatible API URL:</strong> {{ openai_client_api }}</p>
|
||||||
|
{% if info_html|length > 1 %}
|
||||||
|
<br>
|
||||||
{{ info_html|safe }}
|
{{ info_html|safe }}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
Reference in New Issue