-
- {#if character.faction_id == 1}
-
- {:else if character.faction_id == 0}
-
- {:else if character.faction_id == 2}
-
- {/if}
-
-
- {#if $isAdmin}
- {character.name}
- {:else}
+{#if $isAdmin}
+
+
+ {character.name}
+
+{:else}
+
+
{character.name}
- {/if}
+{/if}
diff --git a/app/components/EmpireStats.svelte b/app/components/EmpireStats.svelte
index 56427c9..2f3596c 100644
--- a/app/components/EmpireStats.svelte
+++ b/app/components/EmpireStats.svelte
@@ -72,6 +72,21 @@
position: relative;
}
+.empire-stats:before {
+ content: ' ';
+ display: block;
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 0;
+ opacity: 0.4;
+ background-image: url('/img/logo_crop.png');
+ background-repeat: no-repeat;
+ background-position: center;
+}
+
.empire-stat {
border: 1px solid white;
border-bottom: 0;
@@ -80,6 +95,7 @@
text-align: center;
min-width: 50px;
min-height: 3em;
+ text-shadow: 2px 2px #000000;
}
.empire-stat:nth-child(2) {
diff --git a/app/components/FactionIcon.svelte b/app/components/FactionIcon.svelte
new file mode 100644
index 0000000..9c6fd1d
--- /dev/null
+++ b/app/components/FactionIcon.svelte
@@ -0,0 +1,13 @@
+
+
+
+{#if character.faction_id == 1}
+
+{:else if character.faction_id == 0}
+
+{:else if character.faction_id == 2}
+
+{/if}
+
diff --git a/app/views/Home.svelte b/app/views/Home.svelte
index 1c0ad21..66055b1 100644
--- a/app/views/Home.svelte
+++ b/app/views/Home.svelte
@@ -96,6 +96,11 @@
Online Players ({players.length})
Next update in {next_update_label}
+
+ {#if stats.empires}
+
+ {/if}
+
{#each players as char, i}
@@ -104,10 +109,5 @@
-
- {#if stats.empires}
-
- {/if}
-
{/if}
diff --git a/app/views/Login.svelte b/app/views/Login.svelte
index 8aa7794..3d2372d 100644
--- a/app/views/Login.svelte
+++ b/app/views/Login.svelte
@@ -85,7 +85,7 @@
-
+
Forgot username/password?
diff --git a/app/views/Register.svelte b/app/views/Register.svelte
index 13deb27..92ab742 100644
--- a/app/views/Register.svelte
+++ b/app/views/Register.svelte
@@ -106,6 +106,6 @@
Email addresses must match.
-
+