diff --git a/ForrestHub-app/assets/img/Thumbs.db b/ForrestHub-app/assets/img/Thumbs.db new file mode 100644 index 0000000..bbf4f28 Binary files /dev/null and b/ForrestHub-app/assets/img/Thumbs.db differ diff --git a/ForrestHub-app/config.py b/ForrestHub-app/config.py index 32afa8b..e0ade36 100644 --- a/ForrestHub-app/config.py +++ b/ForrestHub-app/config.py @@ -5,7 +5,7 @@ class Config: - VERSION = "1.2.3" + VERSION = "1.3.0" DATAFILE = "ForrestHub-data.json" LOG_FOLDER = "ForrestHub-logs" ALLOWED_EXTENSIONS = ["json"] diff --git "a/ForrestHub-app/games/Nedokon\304\215en\303\251 k\303\263dy/QRgen.html" "b/ForrestHub-app/games/Nedokon\304\215en\303\251 k\303\263dy/QRgen.html" deleted file mode 100644 index b8a9714..0000000 --- "a/ForrestHub-app/games/Nedokon\304\215en\303\251 k\303\263dy/QRgen.html" +++ /dev/null @@ -1,480 +0,0 @@ - - - - - - Investiční aplikace - - - -
-
-

Investment

-
- - -
-
- -
- - - -
-
-
-
Yes
- -
-
-

Outcome

-
-
- - - - - -
-
- - -
-
-
-
-
-
-
-
-

Investment Log

-
-
- - - - diff --git "a/ForrestHub-app/games/Robo\305\241roti\305\241t\304\233 (2024)/Robosroti-dilna-pocitadlo.html" "b/ForrestHub-app/games/Robo\305\241roti\305\241t\304\233 (2024)/Robosroti-dilna-pocitadlo.html" deleted file mode 100644 index d7f0c4e..0000000 --- "a/ForrestHub-app/games/Robo\305\241roti\305\241t\304\233 (2024)/Robosroti-dilna-pocitadlo.html" +++ /dev/null @@ -1,248 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Pořadové číslo a čas" %} -{% block content %} - - - - -
-
- -
-
- -
-

Výrobní log

- -
- - - -{% endblock %} \ No newline at end of file diff --git "a/ForrestHub-app/games/V\303\275m\304\233na identit (2024)/Vymena tel.html" "b/ForrestHub-app/games/V\303\275m\304\233na identit (2024)/Vymena tel.html" deleted file mode 100644 index f04e4aa..0000000 --- "a/ForrestHub-app/games/V\303\275m\304\233na identit (2024)/Vymena tel.html" +++ /dev/null @@ -1,122 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Pořadové číslo a čas" %} -{% block content %} - - -
-

Zadej přístupový kód:

-
- - - - -
-
-
- - - -{% endblock %} diff --git a/ForrestHub-app/games/demo/decrement.css b/ForrestHub-app/games/demo/decrement.css deleted file mode 100644 index e69de29..0000000 diff --git a/ForrestHub-app/games/demo/decrement.html b/ForrestHub-app/games/demo/decrement.html deleted file mode 100644 index c671a11..0000000 --- a/ForrestHub-app/games/demo/decrement.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Demo - Snížení počítadla" %} -{% block content %} -
-

Demo úkázka použití šablony - podstránka

-

Počítadlo: ?

- - -
- Zpět na Demo -
-{% endblock %} diff --git a/ForrestHub-app/games/demo/decrement.js b/ForrestHub-app/games/demo/decrement.js deleted file mode 100644 index b606d58..0000000 --- a/ForrestHub-app/games/demo/decrement.js +++ /dev/null @@ -1,30 +0,0 @@ -forrestHubLib = window.forrestHubLib || new ForrestHubLib(); - -document.addEventListener('DOMContentLoaded', function () { - const counterElement = document.getElementById('counter'); - const decrementButton = document.getElementById('decrementButton'); - - // Načti počáteční hodnotu počítadla - forrestHubLib.getKey('my_number').then((value) => { - counterElement.innerText = value || 0; - }).catch((err) => { - console.error('Chyba při načítání počítadla:', err); - }); - - // Zvyšení počítadla po kliknutí - decrementButton.addEventListener('click', () => { - let currentValue = parseInt(counterElement.innerText, 10); - let newValue = currentValue - 1; - - forrestHubLib.setKeyBroadcast('my_number', newValue).then((response) => { - counterElement.innerText = newValue; - }).catch((err) => { - console.error('Chyba při ukládání počítadla:', err); - }); - }); - - // Automatické načítání změn v hodnotě počítadla - forrestHubLib.addEventListenerKey('my_number', (data) => { - counterElement.innerText = data || 0; - }); -}); \ No newline at end of file diff --git a/ForrestHub-app/games/demo/increment.css b/ForrestHub-app/games/demo/increment.css deleted file mode 100644 index e69de29..0000000 diff --git a/ForrestHub-app/games/demo/increment.html b/ForrestHub-app/games/demo/increment.html deleted file mode 100644 index 125bcbc..0000000 --- a/ForrestHub-app/games/demo/increment.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "templates/base.html" %} -{% block content %} -
-

Demo úkázka použití šablony

-

Počítadlo: ?

- - -
- Přejít na stránku snížení počítadla -
- - -{% endblock %} diff --git a/ForrestHub-app/games/demo/increment.js b/ForrestHub-app/games/demo/increment.js deleted file mode 100644 index 24bc345..0000000 --- a/ForrestHub-app/games/demo/increment.js +++ /dev/null @@ -1,30 +0,0 @@ -// forrestHubLib = window.forrestHubLib || new ForrestHubLib(); -// -// document.addEventListener('DOMContentLoaded', function () { -// const counterElement = document.getElementById('counter'); -// const incrementButton = document.getElementById('incrementButton'); -// -// // Načti počáteční hodnotu počítadla -// forrestHubLib.getKey('my_number').then((value) => { -// counterElement.innerText = value || 0; -// }).catch((err) => { -// console.error('Chyba při načítání počítadla:', err); -// }); -// -// // Zvyšení počítadla po kliknutí -// incrementButton.addEventListener('click', () => { -// let currentValue = parseInt(counterElement.innerText, 10); -// let newValue = currentValue + 1; -// -// forrestHubLib.setKeyBroadcast('my_number', newValue).then((response) => { -// counterElement.innerText = newValue; -// }).catch((err) => { -// console.error('Chyba při ukládání počítadla:', err); -// }); -// }); -// -// // Automatické načítání změn v hodnotě počítadla -// forrestHubLib.addEventListenerKey('my_number', (data) => { -// counterElement.innerText = data || 0; -// }); -// }); \ No newline at end of file diff --git a/ForrestHub-app/games/dobyvatel-jeden-graf/a.html b/ForrestHub-app/games/dobyvatel-jeden-graf/a.html deleted file mode 100644 index b78b0cd..0000000 --- a/ForrestHub-app/games/dobyvatel-jeden-graf/a.html +++ /dev/null @@ -1,88 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Admin" %} -{% block content %} -
-

Obsazování území - Admin

-
- - - - -
-

Aktuální tým: Žádný

- - -
- -
-
- - - - -{% endblock %} diff --git a/ForrestHub-app/games/dobyvatel-jeden-graf/b.html b/ForrestHub-app/games/dobyvatel-jeden-graf/b.html deleted file mode 100644 index 4cff6d0..0000000 --- a/ForrestHub-app/games/dobyvatel-jeden-graf/b.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Tabule" %} -{% block content %} -
-

Stav obsazení území

- -
- - - - -{% endblock %} diff --git "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/a.html" "b/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/a.html" deleted file mode 100644 index ae3de34..0000000 --- "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/a.html" +++ /dev/null @@ -1,94 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Odesílací stránka" %} -{% block content %} -
-

Obsazování území - Odesílací stránka

-

Název odesílací stránky:

-
- - - - -
-

Aktuální tým: Žádný

- - -
- -
-
- - - - -{% endblock %} diff --git "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/b.html" "b/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/b.html" deleted file mode 100644 index a858901..0000000 --- "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257-adv/b.html" +++ /dev/null @@ -1,84 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Tabule" %} -{% block content %} -
-

Stav obsazení území ze všech zařízení

-
- -
-
- - - - -{% endblock %} diff --git "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/a.html" "b/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/a.html" deleted file mode 100644 index 853b1fa..0000000 --- "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/a.html" +++ /dev/null @@ -1,101 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Konfigurace" %} -{% block content %} -
-

Konfigurace hry

-
-
- - -
-
- -
- -{# set slowdown #} - - - -
-
- -
- - - -
-
-
- - -{% endblock %} diff --git "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/b.html" "b/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/b.html" deleted file mode 100644 index 7ac0ef8..0000000 --- "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/b.html" +++ /dev/null @@ -1,125 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Odesílací stránka" %} -{% block content %} -
-

Obsazování území - Odesílací stránka

-

Název odesílací stránky:

-
- -
-

Aktuální tým: Žádný

- - -
- -
-
- - - -{% endblock %} diff --git "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/c.html" "b/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/c.html" deleted file mode 100644 index f95308c..0000000 --- "a/ForrestHub-app/games/dobyvatel-v\303\255ce graf\305\257/c.html" +++ /dev/null @@ -1,86 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Obsazování území - Tabule" %} -{% block content %} -
-

Stav obsazení území ze všech zařízení

-
- -
-
- - - -{% endblock %} diff --git a/ForrestHub-app/games/dobyvatel/a.html b/ForrestHub-app/games/dobyvatel/a.html deleted file mode 100644 index e69de29..0000000 diff --git a/ForrestHub-app/games/dobyvatel/b.html b/ForrestHub-app/games/dobyvatel/b.html deleted file mode 100644 index e69de29..0000000 diff --git a/ForrestHub-app/games/kraje/b.html b/ForrestHub-app/games/kraje/b.html deleted file mode 100644 index 52ee6d5..0000000 --- a/ForrestHub-app/games/kraje/b.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Hra - Tabule kraje" %} -{% block content %} -
-

Kraj: ?

-
-

Aktuální držitel: Neobsazeno

- - -
-
- - -{% endblock %} diff --git a/ForrestHub-app/games/kraje/kraje.html b/ForrestHub-app/games/kraje/kraje.html deleted file mode 100644 index 3b73f24..0000000 --- a/ForrestHub-app/games/kraje/kraje.html +++ /dev/null @@ -1,66 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Hra - Držení krajů" %} -{% block content %} -
-

Centrální pult

-
-
-

Seznam krajů:

-
    - -
-
-
- -
- Připojení nového zařízení -
-
- - -{% endblock %} diff --git a/ForrestHub-app/games/nahodne-cislo/nahodne-cislo.html b/ForrestHub-app/games/nahodne-cislo/nahodne-cislo.html deleted file mode 100644 index bc373aa..0000000 --- a/ForrestHub-app/games/nahodne-cislo/nahodne-cislo.html +++ /dev/null @@ -1,65 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Náhodné číslo - Zobrazení času" %} -{% block content %} -
-

Vygeneruj náhodné číslo

-
- -
-

Vygenerované číslo:

- -

Poslední změna čísla:

- -
- - -{% endblock %} diff --git "a/ForrestHub-app/games/pen\303\255ze/a.html" "b/ForrestHub-app/games/pen\303\255ze/a.html" deleted file mode 100644 index 3a32713..0000000 --- "a/ForrestHub-app/games/pen\303\255ze/a.html" +++ /dev/null @@ -1,194 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Počítadlo vlivu týmů" %} -{% block content %} -
-

Počítadlo vlivu týmů

-
-
-
- - Modrý tým - -
-
-
-
-
- - Červený tým - -
-
-
-
-
- - Zelený tým - -
-
-
-
-
- - Žlutý tým - -
-
-
-
- -
- - {% for i in range(25) %} -
- {% for j in range(12) %} -
- {% endfor %} -
- {% endfor %} -
-
- - - - -{% endblock %} diff --git "a/ForrestHub-app/games/pen\303\255ze/b.html" "b/ForrestHub-app/games/pen\303\255ze/b.html" deleted file mode 100644 index 52a41fc..0000000 --- "a/ForrestHub-app/games/pen\303\255ze/b.html" +++ /dev/null @@ -1,508 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Investiční hra" %} -{% block content %} -
- -
- -
-

Investice

-
- - -
-
- -
- - - -
-
-
- - -
- -
-

Vyhodnocení

-
-
- - - - - -
-
- - -
-
-
-
-
- -
-
-
- -
-

Investiční Log

-
-
- -
-

Statistiky Investic

-
-
-
- - - - -{% endblock %} diff --git "a/ForrestHub-app/games/po\305\241ta/README.md" "b/ForrestHub-app/games/po\305\241ta/README.md" deleted file mode 100644 index d0544cf..0000000 --- "a/ForrestHub-app/games/po\305\241ta/README.md" +++ /dev/null @@ -1 +0,0 @@ -https://chatgpt.com/share/dc75c8d2-06a6-4459-9698-8513f33aee3d diff --git "a/ForrestHub-app/games/po\305\241ta/generuj-l\303\255stek.html" "b/ForrestHub-app/games/po\305\241ta/generuj-l\303\255stek.html" deleted file mode 100644 index 8aabb61..0000000 --- "a/ForrestHub-app/games/po\305\241ta/generuj-l\303\255stek.html" +++ /dev/null @@ -1,92 +0,0 @@ -{#https://chatgpt.com/share/dc75c8d2-06a6-4459-9698-8513f33aee3d#} -{% extends "templates/base.html" %} -{% set game_name = "Pošta - Generování lístečků" %} -{% block content %} -
-

Generování čekacích lístečků

-

Vyberte kategorii:

- - - -
- -
-

Poslední 3 čísla

- -
-
- - -{% endblock %} diff --git "a/ForrestHub-app/games/po\305\241ta/p\305\231ep\303\241\305\276ka-zam\304\233stnance.html" "b/ForrestHub-app/games/po\305\241ta/p\305\231ep\303\241\305\276ka-zam\304\233stnance.html" deleted file mode 100644 index 8390d13..0000000 --- "a/ForrestHub-app/games/po\305\241ta/p\305\231ep\303\241\305\276ka-zam\304\233stnance.html" +++ /dev/null @@ -1,95 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Pošta - Přepážka" %} -{% block content %} -
-

Poštovní přepážka

-

Celkový počet čekajících: 0

-

Vyberte kategorii:

- - - -
-
- -
- - -{% endblock %} diff --git "a/ForrestHub-app/games/po\305\241ta/tabule-front.html" "b/ForrestHub-app/games/po\305\241ta/tabule-front.html" deleted file mode 100644 index 63b746b..0000000 --- "a/ForrestHub-app/games/po\305\241ta/tabule-front.html" +++ /dev/null @@ -1,82 +0,0 @@ -{#https://chatgpt.com/share/dc75c8d2-06a6-4459-9698-8513f33aee3d#} -{% extends "templates/base.html" %} -{% set game_name = "Pošta - Tabule" %} -{% block content %} -
-

Informace o frontách

-
-
-
-
-

Příjem

-

Čekajících: 0

-
    -
    -
    -
    -
    -
    -
    -

    Odeslání

    -

    Čekajících: 0

    -
      -
      -
      -
      -
      -
      -
      -

      Los

      -

      Čekajících: 0

      -
        -
        -
        -
        -
        -
        - - -{% endblock %} diff --git a/ForrestHub-app/games/synchronizace/index.html b/ForrestHub-app/games/synchronizace/index.html deleted file mode 100644 index 1e9e521..0000000 --- a/ForrestHub-app/games/synchronizace/index.html +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "templates/base.html" %} -{% set game_name = "Pořadové číslo a čas" %} -{% block content %} -
        -

        Odesílání pořadového čísla a času

        -
        - - -
        -

        Pořadová čísla a časy:

        - -
        - - -{% endblock %} diff --git a/ForrestHub-app/setup.py b/ForrestHub-app/setup.py index f41c271..74b5a39 100644 --- a/ForrestHub-app/setup.py +++ b/ForrestHub-app/setup.py @@ -2,7 +2,7 @@ setup( name='ForrestHub App', - version='1.2.3', + version='1.3.0', packages=find_packages(), include_package_data=True, install_requires=[