Skip to content

Commit

Permalink
game settings
Browse files Browse the repository at this point in the history
  • Loading branch information
n-at committed Sep 7, 2023
1 parent e5ac7bf commit 728acaa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions templates/game_edit.twig
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "layouts/layout.twig" %}

{% block title %}
Edit game - playtime
Game settings - playtime
{% endblock %}

{% block content %}

<h1>Edit game</h1>
<h1>Game settings</h1>
<hr>

<form method="post" action="/games/edit/{{ game.Id }}" enctype="application/x-www-form-urlencoded">
Expand Down
4 changes: 2 additions & 2 deletions templates/games.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{% endblock %}

{% block assets %}
<script src="/assets/upload.js"></script>
<script src="/assets/search.js"></script>
<script src="/assets/games-upload.js"></script>
<script src="/assets/games-search.js"></script>
{% endblock %}

{% block content %}
Expand Down
2 changes: 1 addition & 1 deletion templates/includes/game_menu.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<div class="dropdown-divider"></div>
{% endif %}
<a class="dropdown-item" href="/games/save-states/{{ game.Id }}">Save states</a>
<a class="dropdown-item" href="/games/edit/{{game.Id}}">Game settings</a>
{% if game.OverrideEmulatorSettings %}
<a class="dropdown-item" href="/games/emulation-settings/{{ game.Id }}">Emulation settings</a>
{% endif %}
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{ game.DownloadLink }}" download="{{ game.OriginalFileName }}">Download</a>
<a class="dropdown-item" href="/games/edit/{{game.Id}}">Edit</a>
<a class="dropdown-item" href="/games/delete/{{game.Id}}">Delete</a>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

{% if netplay_enabled %}
<div class="alert alert-info mb-3">
<i class="bi bi-globe"></i> Netplay enabled. Activate netplay in the game properties to play
<i class="bi bi-globe"></i> Netplay enabled. Activate in the game settings to play
</div>
{% endif %}

Expand Down

0 comments on commit 728acaa

Please sign in to comment.