template and asset cleanup
@ -585,4 +585,14 @@ hr {
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
div.top-nav {
|
||||
& > a {
|
||||
font-weight: normal;
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 112 B |
@ -29,17 +29,15 @@
|
||||
<h5>Town Maps</h5>
|
||||
{if #_towns > 0}
|
||||
{for t in _towns}
|
||||
{if user.HasTownMap(t.ID)}
|
||||
{if town != nil and t.Name == town.Name}
|
||||
<span>{t.Name} <i>(here)</i></span>
|
||||
{else}
|
||||
{if user.TP < t.TPCost}
|
||||
<span class="light">{t.Name}</span>
|
||||
{else}
|
||||
<a class="teleport-link" href="/teleport/{t.ID}" data-town="{t.Name}" data-cost="{t.TPCost}">{t.Name}</a>
|
||||
<a class="teleport-link" href="/teleport/{t.ID}" data-town="{t.Name}" data-cost="{t.TPCost}">{t.Name}</a>
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
{/for}
|
||||
{else}
|
||||
<i>No town maps</i>
|
||||
|
@ -32,7 +32,7 @@
|
||||
<h5>Equipment</h5>
|
||||
|
||||
<div>
|
||||
<img src="/assets/images/icon_weapon.gif" alt="Weapon" title="Weapon">
|
||||
<img src="/assets/images/icons/weapon.gif" alt="Weapon" title="Weapon">
|
||||
{if user.WeaponName != ""}
|
||||
{user.WeaponName}
|
||||
{else}
|
||||
@ -40,7 +40,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div>
|
||||
<img src="/assets/images/icon_armor.gif" alt="Armor" title="Armor">
|
||||
<img src="/assets/images/icons/armor.gif" alt="Armor" title="Armor">
|
||||
{if user.ArmorName != ""}
|
||||
{user.ArmorName}
|
||||
{else}
|
||||
@ -48,7 +48,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div>
|
||||
<img src="/assets/images/icon_shield.gif" alt="Shield" title="Shield">
|
||||
<img src="/assets/images/icons/shield.gif" alt="Shield" title="Shield">
|
||||
{if user.ShieldName != ""}
|
||||
{user.ShieldName}
|
||||
{else}
|
||||
|
@ -1,8 +1,9 @@
|
||||
{if authenticated}
|
||||
<a class="logout-link"><img src="/assets/images/button_logout.gif" alt="Log Out" title="Log Out"></a>
|
||||
<a href="/help"><img src="/assets/images/button_help.gif" alt="Help" title="Help"></a>
|
||||
{else}
|
||||
<a href="/login"><img src="/assets/images/button_login.gif" alt="Log In" title="Log In"></a>
|
||||
<a href="/register"><img src="/assets/images/button_register.gif" alt="Register" title="Register"></a>
|
||||
<a href="/help"><img src="/assets/images/button_help.gif" alt="Help" title="Help"></a>
|
||||
{/if}
|
||||
<div class="top-nav">
|
||||
{if authenticated}
|
||||
<a class="logout-link seagram">Log Out</a>
|
||||
{else}
|
||||
<a href="/login" class="seagram">Log In</a>
|
||||
<a href="/register" class="seagram">Register</a>
|
||||
{/if}
|
||||
<a href="/help" class="seagram">Help</a>
|
||||
</div>
|
||||
|
@ -15,13 +15,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
{if item.Type == 1}
|
||||
<img src="/assets/images/icon_weapon.gif" alt="Weapon" title="Weapon">
|
||||
<img src="/assets/images/icons/weapon.gif" alt="Weapon" title="Weapon">
|
||||
{/if}
|
||||
{if item.Type == 2}
|
||||
<img src="/assets/images/icon_armor.gif" alt="Armor" title="Armor">
|
||||
<img src="/assets/images/icons/armor.gif" alt="Armor" title="Armor">
|
||||
{/if}
|
||||
{if item.Type == 3}
|
||||
<img src="/assets/images/icon_shield.gif" alt="Shield" title="Shield">
|
||||
<img src="/assets/images/icons/shield.gif" alt="Shield" title="Shield">
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
|
@ -4,7 +4,6 @@
|
||||
<div class="town">
|
||||
<section class="options">
|
||||
<h2 class="title mb-1">Welcome to {town.Name}</h2>
|
||||
<b>Town Options</b><br>
|
||||
<ul class="unstyled">
|
||||
<li><a href="/town/inn">Rest at the Inn</a></li>
|
||||
<li><a href="/town/shop">Browse the Shop</a></li>
|
||||
|