mirror of
https://github.com/YGGverse/HLState.git
synced 2025-02-10 22:14:14 +00:00
init master server configuration
This commit is contained in:
parent
741f6a3227
commit
acec164041
5
.env
5
.env
@ -43,7 +43,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|||||||
# HLState
|
# HLState
|
||||||
|
|
||||||
# Application version, used for API and media cache
|
# Application version, used for API and media cache
|
||||||
APP_VERSION="1.1.0"
|
APP_VERSION="1.2.0"
|
||||||
|
|
||||||
# Application name
|
# Application name
|
||||||
APP_NAME="HLState"
|
APP_NAME="HLState"
|
||||||
@ -56,6 +56,9 @@ APP_META_KEYWORDS="Half-Life, HLState, YGGverse, Servers, Stats, Online, Analyti
|
|||||||
# Application template
|
# Application template
|
||||||
APP_THEME="default"
|
APP_THEME="default"
|
||||||
|
|
||||||
|
# Masters list, server:port comma separated
|
||||||
|
APP_MASTERS=""
|
||||||
|
|
||||||
# Servers registry, URL or filepath
|
# Servers registry, URL or filepath
|
||||||
# https://github.com/YGGverse/HLServers
|
# https://github.com/YGGverse/HLServers
|
||||||
APP_HLSERVERS="https://raw.githubusercontent.com/YGGverse/HLServers/main/config.json"
|
APP_HLSERVERS="https://raw.githubusercontent.com/YGGverse/HLServers/main/config.json"
|
||||||
|
@ -5,6 +5,7 @@ twig:
|
|||||||
version: '%app.version%'
|
version: '%app.version%'
|
||||||
name: '%app.name%'
|
name: '%app.name%'
|
||||||
theme: '%app.theme%'
|
theme: '%app.theme%'
|
||||||
|
masters: '%app.masters%'
|
||||||
meta:
|
meta:
|
||||||
title: '%env(APP_META_TITLE)%'
|
title: '%env(APP_META_TITLE)%'
|
||||||
description: '%env(APP_META_DESCRIPTION)%'
|
description: '%env(APP_META_DESCRIPTION)%'
|
||||||
|
@ -7,6 +7,7 @@ parameters:
|
|||||||
app.version: '%env(APP_VERSION)%'
|
app.version: '%env(APP_VERSION)%'
|
||||||
app.name: '%env(APP_NAME)%'
|
app.name: '%env(APP_NAME)%'
|
||||||
app.theme: '%env(APP_THEME)%'
|
app.theme: '%env(APP_THEME)%'
|
||||||
|
app.masters: '%env(APP_MASTERS)%'
|
||||||
app.hlservers: '%env(APP_HLSERVERS)%'
|
app.hlservers: '%env(APP_HLSERVERS)%'
|
||||||
app.meta.title: '%env(APP_META_TITLE)%'
|
app.meta.title: '%env(APP_META_TITLE)%'
|
||||||
app.meta.description: '%env(APP_META_DESCRIPTION)%'
|
app.meta.description: '%env(APP_META_DESCRIPTION)%'
|
||||||
|
@ -102,6 +102,8 @@ footer
|
|||||||
display: block;
|
display: block;
|
||||||
margin: 16px auto;
|
margin: 16px auto;
|
||||||
max-width: var(--container-max-width);
|
max-width: var(--container-max-width);
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* framework */
|
/* framework */
|
||||||
@ -167,6 +169,16 @@ a.color-default:visited
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.float-left
|
||||||
|
{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.float-right
|
||||||
|
{
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
.border-default
|
.border-default
|
||||||
{
|
{
|
||||||
border: 1px var(--color-default) solid;
|
border: 1px var(--color-default) solid;
|
||||||
|
@ -31,12 +31,18 @@
|
|||||||
{% block footer_container %}
|
{% block footer_container %}
|
||||||
<footer>
|
<footer>
|
||||||
{% block footer_content %}
|
{% block footer_content %}
|
||||||
<div class="text-align-right">
|
{% if app.masters %}
|
||||||
<small>
|
<small class="float-left">
|
||||||
{{ 'Powered by' | trans }}
|
<strong>{{ 'Master' | trans }}:</strong>
|
||||||
<a href="https://github.com/YGGverse/HLState" target="_blank">HLState</a>
|
{% for i, master in app.masters | split(',') %}
|
||||||
|
{% if i %}•{% endif %} {{ master }}
|
||||||
|
{% endfor %}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
{% endif %}
|
||||||
|
<small class="float-right">
|
||||||
|
{{ 'Powered by' | trans }}
|
||||||
|
<a href="https://github.com/YGGverse/HLState" target="_blank">HLState</a>
|
||||||
|
</small>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</footer>
|
</footer>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user