mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	des ptit problèmes par ci par la
This commit is contained in:
		@@ -51,7 +51,7 @@
 | 
				
			|||||||
{%if not current_user.is_authenticated %}
 | 
					{%if not current_user.is_authenticated %}
 | 
				
			||||||
    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
					    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
				
			||||||
{% else %}
 | 
					{% else %}
 | 
				
			||||||
    <iframe src="/novnc/vnc_lite.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe>
 | 
					    <iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe>
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{%endblock %}
 | 
					{%endblock %}
 | 
				
			||||||
@@ -62,8 +62,3 @@ grafana-cli plugins install frser-sqlite-datasource
 | 
				
			|||||||
printf  "setting up default dashboard"
 | 
					printf  "setting up default dashboard"
 | 
				
			||||||
cp /app/MsRewards-Reborn/config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json 
 | 
					cp /app/MsRewards-Reborn/config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
websockify -D \
 | 
					 | 
				
			||||||
    --web /usr/share/novnc/ \
 | 
					 | 
				
			||||||
    6080 \
 | 
					 | 
				
			||||||
    localhost:2345
 | 
					 | 
				
			||||||
@@ -12,3 +12,8 @@ curl 'http://localhost:1234/grafana/api/dashboards/import' \
 | 
				
			|||||||
  --compressed \
 | 
					  --compressed \
 | 
				
			||||||
  --insecure
 | 
					  --insecure
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					websockify -D \
 | 
				
			||||||
 | 
					    --web /usr/share/novnc/ \
 | 
				
			||||||
 | 
					    6080 \
 | 
				
			||||||
 | 
					    localhost:2345
 | 
				
			||||||
		Reference in New Issue
	
	Block a user