mirror of https://github.com/krateng/maloja.git
Compare commits
3 Commits
c8f9e9c391
...
073448257a
Author | SHA1 | Date |
---|---|---|
krateng | 073448257a | |
krateng | d12229d8a5 | |
krateng | d8f53a56d2 |
|
@ -37,3 +37,4 @@ minor_release_name: "Soyeon"
|
|||
notes:
|
||||
- "[Feature] Made image upload part of regular API"
|
||||
- "[Bugfix] Additional entity name sanitization"
|
||||
- "[Bugfix] Fixed image display on Safari"
|
||||
|
|
|
@ -137,7 +137,7 @@ def print_info():
|
|||
print(col['lightblue']("Configuration Directory:"),conf.dir_settings['config'])
|
||||
print(col['lightblue']("Data Directory: "),conf.dir_settings['state'])
|
||||
print(col['lightblue']("Log Directory: "),conf.dir_settings['logs'])
|
||||
print(col['lightblue']("Network: "),f"IPv{ip_address(conf.malojaconfig['host']).version}, Port {conf.malojaconfig['port']}")
|
||||
print(col['lightblue']("Network: "),f"Dual Stack, Port {conf.malojaconfig['port']}" if conf.malojaconfig['host'] == "*" else f"IPv{ip_address(conf.malojaconfig['host']).version}, Port {conf.malojaconfig['port']}")
|
||||
print(col['lightblue']("Timezone: "),f"UTC{conf.malojaconfig['timezone']:+d}")
|
||||
print()
|
||||
print()
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
{% if pages > 1 %}
|
||||
{% if page > 1 %}
|
||||
<a href='{{ mlj_uri.create_uri("",filterkeys,limitkeys,delimitkeys,amountkeys,{'page':0}) }}'>
|
||||
<span class='stat_selector'>1</span>
|
||||
</a> |
|
||||
<span class='stat_selector'>1</span></a> |
|
||||
{% endif %}
|
||||
|
||||
{% if page > 2 %}
|
||||
|
@ -20,8 +19,7 @@
|
|||
|
||||
{% if page > 0 %}
|
||||
<a href='{{ mlj_uri.create_uri("",filterkeys,limitkeys,delimitkeys,amountkeys,{'page':page-1}) }}'>
|
||||
<span class='stat_selector'>{{ page }}</span>
|
||||
</a> «
|
||||
<span class='stat_selector'>{{ page }}</span></a> «
|
||||
{% endif %}
|
||||
|
||||
<span style='opacity:0.5;' class='stat_selector'>
|
||||
|
@ -30,8 +28,7 @@
|
|||
|
||||
{% if page < pages-1 %}
|
||||
» <a href='{{ mlj_uri.create_uri("",filterkeys,limitkeys,delimitkeys,amountkeys,{'page':page+1}) }}'>
|
||||
<span class='stat_selector'>{{ page+2 }}</span>
|
||||
</a>
|
||||
<span class='stat_selector'>{{ page+2 }}</span></a>
|
||||
{% endif %}
|
||||
|
||||
{% if page < pages-3 %}
|
||||
|
@ -40,8 +37,7 @@
|
|||
|
||||
{% if page < pages-2 %}
|
||||
| <a href='{{ mlj_uri.create_uri("",filterkeys,limitkeys,delimitkeys,amountkeys,{'page':pages-1}) }}'>
|
||||
<span class='stat_selector'>{{ pages }}</span>
|
||||
</a>
|
||||
<span class='stat_selector'>{{ pages }}</span></a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: *
|
||||
Disallow: /
|
||||
|
|
Loading…
Reference in New Issue