From d84651a899a6104fce73d95b9c571627c55e5d16 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 1 Aug 2025 19:48:26 -0300 Subject: bare bones website --- templates/_footer.tmpl | 22 ++++++++++++++ templates/_header.tmpl | 31 +++++++++++++++++++ templates/account_create.tmpl | 22 ++++++++++++++ templates/account_login.tmpl | 13 ++++++++ templates/account_recover.tmpl | 11 +++++++ templates/account_summary.tmpl | 65 ++++++++++++++++++++++++++++++++++++++++ templates/character_create.tmpl | 23 ++++++++++++++ templates/character_profile.tmpl | 60 +++++++++++++++++++++++++++++++++++++ templates/killstatistics.tmpl | 28 +++++++++++++++++ templates/message.tmpl | 6 ++++ templates/world_info.tmpl | 62 ++++++++++++++++++++++++++++++++++++++ templates/world_list.tmpl | 23 ++++++++++++++ 12 files changed, 366 insertions(+) create mode 100644 templates/_footer.tmpl create mode 100644 templates/_header.tmpl create mode 100644 templates/account_create.tmpl create mode 100644 templates/account_login.tmpl create mode 100644 templates/account_recover.tmpl create mode 100644 templates/account_summary.tmpl create mode 100644 templates/character_create.tmpl create mode 100644 templates/character_profile.tmpl create mode 100644 templates/killstatistics.tmpl create mode 100644 templates/message.tmpl create mode 100644 templates/world_info.tmpl create mode 100644 templates/world_list.tmpl (limited to 'templates') diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl new file mode 100644 index 0000000..21a47e3 --- /dev/null +++ b/templates/_footer.tmpl @@ -0,0 +1,22 @@ +{{/* FOOTER START */}} +
+

About

+ + + + + + + + + + + + + +
Client:Tibia Client Version 7.7
Login Server:localhost:7171
RSA Public Key:142996239624163995200701773828988955507954033454661532174705160829347375827760388829672133862046006741453928458538592179906264509724520840657286865659265687630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212883967
+
+ + + +{{/* FOOTER END */}} \ No newline at end of file diff --git a/templates/_header.tmpl b/templates/_header.tmpl new file mode 100644 index 0000000..062c681 --- /dev/null +++ b/templates/_header.tmpl @@ -0,0 +1,31 @@ +{{/* HEADER START */}} + + + + + + + + + + {{.Title}} + + + +
+ +{{/* HEADER END */}} \ No newline at end of file diff --git a/templates/account_create.tmpl b/templates/account_create.tmpl new file mode 100644 index 0000000..6ade0bf --- /dev/null +++ b/templates/account_create.tmpl @@ -0,0 +1,22 @@ +{{template "_header.tmpl" .Common}} +
+

Create Account

+ + + + + + + + + + + + + + + + + +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/account_login.tmpl b/templates/account_login.tmpl new file mode 100644 index 0000000..2b9fbfa --- /dev/null +++ b/templates/account_login.tmpl @@ -0,0 +1,13 @@ +{{template "_header.tmpl" .Common}} +
+

Login

+ + + + + + + + +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/account_recover.tmpl b/templates/account_recover.tmpl new file mode 100644 index 0000000..ee0d750 --- /dev/null +++ b/templates/account_recover.tmpl @@ -0,0 +1,11 @@ +{{template "_header.tmpl" .Common}} +
+

Recover Account

+

Account recovery not currently implemented.

+ + + + + +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/account_summary.tmpl b/templates/account_summary.tmpl new file mode 100644 index 0000000..ae42479 --- /dev/null +++ b/templates/account_summary.tmpl @@ -0,0 +1,65 @@ +{{template "_header.tmpl" .Common}} + {{with .Account}} +
+

Account Information

+ + + + + + + + {{if eq .PremiumDays 1}} + + {{else if gt .PremiumDays 1}} + + {{else}} + + {{end}} + + {{if .PendingPremiumDays}} + + + {{if eq .PendingPremiumDays 1}} + + {{else}} + + {{end}} + + {{end}} +
Email:{{.Email}}
Status:Premium Account (last day)Premium Account ({{.PremiumDays}} days left)Free Account
Pending Premium:1 day{{.PendingPremiumDays}} days
+
+ {{if .Characters}} +
+

Characters

+ + + + + + + + + {{range .Characters}} + + + + + + {{if .Online}} + + {{else}} + + {{end}} + + {{end}} +
NameLevelVocationWorldStatus
{{.Name}}{{or .Level 1}}{{or .Profession "None"}}{{.World}}OnlineOffline
+
+ {{end}} + {{else}} +
+

Oops

+

Something went wrong when loading your account's summary. Wait a few moments and try again.

+
+ {{end}} +{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/character_create.tmpl b/templates/character_create.tmpl new file mode 100644 index 0000000..c243f2d --- /dev/null +++ b/templates/character_create.tmpl @@ -0,0 +1,23 @@ +{{template "_header.tmpl" .Common}} +
+

Create Account

+ + + + + + + + + + + +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/character_profile.tmpl b/templates/character_profile.tmpl new file mode 100644 index 0000000..824e908 --- /dev/null +++ b/templates/character_profile.tmpl @@ -0,0 +1,60 @@ +{{template "_header.tmpl" .Common}} + {{with .Character}} +
+

Character Information

+ + + + + + + + {{if eq .Sex 1}} + + {{else if eq .Sex 2}} + + {{else}} + + {{end}} + + + + + + + + + + + + + + + + + + + + + + + + {{if .PremiumDays}} + + {{else}} + + {{end}} + +
Name:{{.Name}}
Sex:malefemaleunknown
Vocation:{{or .Profession "None"}}
Level:{{or .Level 1}}
World:{{.World}}
Residence:{{or .Residence "Rookgaard"}}
Last Login:{{.LastLogin}}
Account Status:Premium AccountFree Account
+
+ {{end}} + +
+

Search Character

+ + + + + +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/killstatistics.tmpl b/templates/killstatistics.tmpl new file mode 100644 index 0000000..451059e --- /dev/null +++ b/templates/killstatistics.tmpl @@ -0,0 +1,28 @@ +{{template "_header.tmpl" .Common}} +
+ {{with .World}} +

Kill Statistics - {{.Name}}

+ {{else}} +

Kill Statistics

+ {{end}} + + {{if .KillStatistics}} + + + + + + + {{range .KillStatistics}} + + + + + + {{end}} +
CreatureTimes KilledPlayers Killed
{{.RaceName}}{{.TimesKilled}}{{.PlayersKilled}}
+ {{else}} +

There are no kill statistics.

+ {{end}} +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/message.tmpl b/templates/message.tmpl new file mode 100644 index 0000000..847be8f --- /dev/null +++ b/templates/message.tmpl @@ -0,0 +1,6 @@ +{{template "_header.tmpl" .Common}} +
+

{{.Heading}}

+

{{.Message}}

+
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/world_info.tmpl b/templates/world_info.tmpl new file mode 100644 index 0000000..c0f9c24 --- /dev/null +++ b/templates/world_info.tmpl @@ -0,0 +1,62 @@ +{{template "_header.tmpl" .Common}} +
+

World Information

+ {{with .World}} + + + + + + + + + + + + + + + + {{if .OnlineRecord}} + + {{else}} + + {{end}} + +
Name:{{.Name}}
Type:{{.Type}}
Players Online:{{.NumPlayers}}
Online Record:{{.OnlineRecord}} players (on {{.OnlineRecordTime}})None
+ Kill Statistics + {{else}} +

No information available.

+ {{end}} +
+ +
+

Players Online

+ {{if .OnlineCharacters}} + + + + + + + + + {{range .OnlineCharacters}} + + + + + + {{if .Online}} + + {{else}} + + {{end}} + + {{end}} +
NameLevelVocationWorldStatus
{{.Name}}{{or .Level 1}}{{or .Profession "None"}}{{.World}}OnlineOffline
+ {{else}} +

There are no players online.

+ {{end}} +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file diff --git a/templates/world_list.tmpl b/templates/world_list.tmpl new file mode 100644 index 0000000..de9786c --- /dev/null +++ b/templates/world_list.tmpl @@ -0,0 +1,23 @@ +{{template "_header.tmpl" .Common}} +
+

Worlds

+ {{if .Worlds}} + + + + + + + {{range .Worlds}} + + + + + + {{end}} +
NameTypePlayers Online
{{.Name}}{{.Type}}{{.NumPlayers}}
+ {{else}} +

Something went wrong when loading world data. Wait a few moments and try again.

+ {{end}} +
+{{template "_footer.tmpl" .Common}} \ No newline at end of file -- cgit v1.2.3