From 99585c067e4f7d3928446f738c6b7db470bff486 Mon Sep 17 00:00:00 2001 From: WatermelonModders <94921328+WatermelonModders@users.noreply.github.com> Date: Wed, 1 Jun 2022 10:02:43 -0400 Subject: [PATCH] added missing files --- hm_web/templates/base.html | 570 +++++++++++++++++++++++++++ hm_web/templates/changelog.html | 12 + hm_web/templates/deck.html | 58 +++ hm_web/templates/faq.html | 16 + hm_web/templates/hbs.html | 328 +++++++++++++++ hm_web/templates/home.html | 7 + hm_web/templates/ladder.html | 18 + hm_web/templates/login_required.html | 3 + hm_web/templates/mod.html | 30 ++ hm_web/templates/mod_create.html | 74 ++++ hm_web/templates/signin.html | 19 + hm_web/templates/signup.html | 24 ++ 12 files changed, 1159 insertions(+) create mode 100644 hm_web/templates/base.html create mode 100644 hm_web/templates/changelog.html create mode 100644 hm_web/templates/deck.html create mode 100644 hm_web/templates/faq.html create mode 100644 hm_web/templates/hbs.html create mode 100644 hm_web/templates/home.html create mode 100644 hm_web/templates/ladder.html create mode 100644 hm_web/templates/login_required.html create mode 100644 hm_web/templates/mod.html create mode 100644 hm_web/templates/mod_create.html create mode 100644 hm_web/templates/signin.html create mode 100644 hm_web/templates/signup.html diff --git a/hm_web/templates/base.html b/hm_web/templates/base.html new file mode 100644 index 0000000..92e502a --- /dev/null +++ b/hm_web/templates/base.html @@ -0,0 +1,570 @@ +$def with (session, page, loaded, allcards) + + + + + + hearthmod.com + + + + + + + + + + + + + + + + + + + +
+ +
+ + + $:page + +
+ +
+ DISCLAIMER: This service is free of charge. We do not store personal data of any sort. Not affiliated with Blizzard Entertainment. IRC: #hearthmod @ freenode.org | hearthmod.com © 2016 +
+ + diff --git a/hm_web/templates/changelog.html b/hm_web/templates/changelog.html new file mode 100644 index 0000000..649e9fa --- /dev/null +++ b/hm_web/templates/changelog.html @@ -0,0 +1,12 @@ +$def with (sections) + +$for s in sections: +
+
$s[1] ( build: $s[3])
+ $for t in s[2]: +
+ $t.replace("\"", "") +
+ +
+ diff --git a/hm_web/templates/deck.html b/hm_web/templates/deck.html new file mode 100644 index 0000000..79f19b3 --- /dev/null +++ b/hm_web/templates/deck.html @@ -0,0 +1,58 @@ +$def with (cc, stored) + +
+
+ +
+
+
+
+ Choose Hero Power: +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+
+ Search: +
+
+ $for s in stored: + $if(s == 'cards'): + $for v in stored[s]: +
$v['name']
$v['count']
+
+
+
Save
+
Clear
+
+
+ +
+$for c in cc: +
+ +
+ + +
diff --git a/hm_web/templates/faq.html b/hm_web/templates/faq.html new file mode 100644 index 0000000..61d17c9 --- /dev/null +++ b/hm_web/templates/faq.html @@ -0,0 +1,16 @@ +
+ 1. How to install Hearthmod?
+

+ 1) Download Hearthstone client
+ + 2) Download Hearthmod client
+ 3) Extract Hearthstone client and Hearthmod client. Then move Hearthmod client extracted content to Hearthstone client: hearthmod/hearthmod_client
+ 4) If you use Windows, go to hearthmod/hearthmod_client/win32/ and execute hearthmod.exe +

+ + + 2. How to play Hearthmod?
+

When installed, run hearthmod.exe if you use Windows OS or hearthmod if you use linux. When you create a deck and run the Hearthstone client, you must only press Play in the menu section. Once you enter Heroes selection screen, you must press Play button again. When your opponent is found, you enter the game.

+ +
+ diff --git a/hm_web/templates/hbs.html b/hm_web/templates/hbs.html new file mode 100644 index 0000000..41c1319 --- /dev/null +++ b/hm_web/templates/hbs.html @@ -0,0 +1,328 @@ +$def with (signup, signin, cc) + + + +1 + + + + + HearthBleedStone + + + + + + + + + + + + + + +
+ +
+
+ +
+
+
+
+ Choose Hero Power: +
+
+
+
+
+ Choose Hero: +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+ Search: +
+
+
+
Save
+
Clear
+
+
+ +
+$for c in cc: +
"; + +
+ + +
+ +
+ + + diff --git a/hm_web/templates/home.html b/hm_web/templates/home.html new file mode 100644 index 0000000..545d286 --- /dev/null +++ b/hm_web/templates/home.html @@ -0,0 +1,7 @@ +
+ Welcome to HearthStone modding place - #hearthmod

+ Available mods: Defense of the Ancients

+ + +
+ diff --git a/hm_web/templates/ladder.html b/hm_web/templates/ladder.html new file mode 100644 index 0000000..4b6886e --- /dev/null +++ b/hm_web/templates/ladder.html @@ -0,0 +1,18 @@ +$def with (players) + +
+
+
Player
+
Wins
+
Loses
+
Win Rate
+
+ +$for p in players: +
+
$p[0]
+
$p[1]
+
$p[2]
+
$(p[3])%
+
+
diff --git a/hm_web/templates/login_required.html b/hm_web/templates/login_required.html new file mode 100644 index 0000000..065e1e3 --- /dev/null +++ b/hm_web/templates/login_required.html @@ -0,0 +1,3 @@ +
+not authorized, login first +
diff --git a/hm_web/templates/mod.html b/hm_web/templates/mod.html new file mode 100644 index 0000000..95cd28e --- /dev/null +++ b/hm_web/templates/mod.html @@ -0,0 +1,30 @@ +$def with (modes) + +
+
+
+
+
Mod Name:
+
+
+ +
+
Mod URL:
+
+
+ +
+ +
+
+
+ +
+
+ +
+ $for m in modes: +
+ $(m['name']) +
+
diff --git a/hm_web/templates/mod_create.html b/hm_web/templates/mod_create.html new file mode 100644 index 0000000..427292e --- /dev/null +++ b/hm_web/templates/mod_create.html @@ -0,0 +1,74 @@ +$def with (cards, ncards, stored) + +
+ + +
+
1. Select Card
+ + +
+ +$for c in range(0, ncards): + $if(c % 30 == 0): +
+ $if(c == 0): +
+ $else: + + + +
+ +
Page:
+ +
+$for c in range(0, ncards): + $if(c % 30 == 0): +
$((c / 30) + 1)
+
+ +
+ +
+ +
+
2. Edit Card
+
+ + +
+ +
+
+ +
+
3. Enabled Cards
+
+$for s in stored: +
+ $if len(s) == 2: +
$(s[1])
+
R
+
+
+ +
+ +
+
Save Mod
+
+ +
diff --git a/hm_web/templates/signin.html b/hm_web/templates/signin.html new file mode 100644 index 0000000..511b8cc --- /dev/null +++ b/hm_web/templates/signin.html @@ -0,0 +1,19 @@ +
+
+
+
Username:
+
+
+ +
+
Password:
+
+
+ +
+ +
+
+
+ +
diff --git a/hm_web/templates/signup.html b/hm_web/templates/signup.html new file mode 100644 index 0000000..dbbc783 --- /dev/null +++ b/hm_web/templates/signup.html @@ -0,0 +1,24 @@ +
+
+
+
Username:
+
+
+ +
+
Password:
+
+
+ +
+
Confirm Password:
+
+
+ +
+ +
+
+
+ +