mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-07-12 23:14:39 +00:00
Improve home page layout and CharacterLinks
This commit is contained in:
parent
3a45eb300b
commit
9e54b5f3b8
6 changed files with 46 additions and 22 deletions
|
|
@ -96,6 +96,11 @@
|
|||
<h2>Online Players ({players.length})</h2>
|
||||
<p>Next update in {next_update_label}</p>
|
||||
</div>
|
||||
<div class="col-md-4 col-12 mt-md-0 mt-3">
|
||||
{#if stats.empires}
|
||||
<EmpireStats bind:this={empire_stats} bind:stats={stats.empires} />
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-8 col-12">
|
||||
<div class="row">
|
||||
{#each players as char, i}
|
||||
|
|
@ -104,10 +109,5 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4 col-12 mt-md-0 mt-3">
|
||||
{#if stats.empires}
|
||||
<EmpireStats bind:this={empire_stats} bind:stats={stats.empires} />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
<label for="inputPassword">Password</label>
|
||||
<input class="form-control" type="password" id="inputPassword" placeholder="Password" name="password" required>
|
||||
</div>
|
||||
<button type="submit">Login</button>
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</form>
|
||||
<p><a href="/recovery">Forgot username/password?</a></p>
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -106,6 +106,6 @@
|
|||
<div class="invalid-feedback">Email addresses must match.</div>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit">Join the fight!</button>
|
||||
<button type="submit" class="btn btn-primary">Join the fight!</button>
|
||||
</form>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue