2021-02-15 17:18:01 +00:00
|
|
|
doctype
|
|
|
|
html
|
|
|
|
head
|
|
|
|
meta(charset="UTF-8")
|
|
|
|
title 7th Saga Data
|
|
|
|
link(rel="stylesheet" href="/static/bootstrap.css")
|
|
|
|
link(rel="stylesheet" href="/static/bootstrap-icons.css")
|
|
|
|
link(rel="stylesheet" href="/static/7th-saga.css")
|
|
|
|
body
|
2021-02-21 03:28:33 +00:00
|
|
|
mixin sortHeader(label, col)
|
|
|
|
th(data-col=col): div.sortable
|
2021-02-15 17:18:01 +00:00
|
|
|
div.sortable-links
|
2021-02-21 03:28:33 +00:00
|
|
|
a(href="?col=" + col + "&dir=asc") ▲
|
|
|
|
a(href="?col=" + col + "&dir=desc") ▼
|
2021-02-15 17:18:01 +00:00
|
|
|
div.col-label.ml-1= label
|
|
|
|
|
|
|
|
mixin na(bool, text)
|
|
|
|
if bool
|
|
|
|
block
|
|
|
|
else
|
|
|
|
small: em.text-muted= text || 'n/a'
|
|
|
|
|
2021-02-16 17:03:42 +00:00
|
|
|
mixin apprenticeFilterForm()
|
2021-02-21 03:28:33 +00:00
|
|
|
div.d-flex.justify-content-center.apprentice-filter-form.my-2
|
2021-02-16 17:03:42 +00:00
|
|
|
each apprentice in [ 'Esuna', 'Kamil', 'Olvan', 'Lejes', 'Lux', 'Valsu', 'Wilme' ]
|
|
|
|
div.form-check-inline
|
|
|
|
- const id = 'apprentice-' + apprentice;
|
|
|
|
input.form-check-input(type="checkbox" name=apprentice id=id)
|
|
|
|
label.form-check-label(for=id)= apprentice
|
|
|
|
|
2021-02-21 03:28:33 +00:00
|
|
|
mixin locationFilterForm()
|
|
|
|
div.d-flex.justify-content-center.location-filter-form.my-2.flex-wrap
|
|
|
|
each location in [ 'Lemele', 'Rablesk', 'Bonro', 'Zellis', 'Pell', 'Patrof', 'Bone', 'Dowaine', 'Belaine', 'Telaine', 'Pang', 'Padal', 'Polasu', 'Tiffana', 'Bilthem', 'Brush', 'Valenca', 'Bugask', 'Guanta', 'Pharano', 'Pasanda', 'Ligena', 'Palsu', 'Melenam', 'Airship' ]
|
|
|
|
div.form-check-inline
|
|
|
|
- const id = 'location-' + location;
|
|
|
|
input.form-check-input(type="checkbox" name=location id=id)
|
|
|
|
label.form-check-label(for=id)= location
|
|
|
|
|
2021-02-15 17:18:01 +00:00
|
|
|
div.container-fluid
|
2021-02-21 03:28:33 +00:00
|
|
|
ul.nav.nav-tabs.mt-4.px-4.position-sticky(style="top: 0; background-color: white; z-index: 1")
|
2021-02-15 17:18:01 +00:00
|
|
|
li.nav-item: a.nav-link(href="/enemies" class=(context === 'enemies' ? 'active' : '')) Enemies
|
|
|
|
li.nav-item: a.nav-link(href="/spells" class=(context === 'spells' ? 'active' : '')) Spells
|
|
|
|
li.nav-item: a.nav-link(href="/items" class=(context === 'items' ? 'active' : '')) Items
|
2021-02-16 17:03:42 +00:00
|
|
|
li.nav-item: a.nav-link(href="/weapons" class=(context === 'weapons' ? 'active' : '')) Weapons
|
|
|
|
li.nav-item: a.nav-link(href="/armor" class=(context === 'armor' ? 'active' : '')) Armor
|
|
|
|
li.nav-item: a.nav-link(href="/accessories" class=(context === 'accessories' ? 'active' : '')) Accessories
|
2021-02-15 17:18:01 +00:00
|
|
|
li.nav-item: a.nav-link(href="/exp" class=(context === 'exp' ? 'active' : '')) Experience
|
|
|
|
li.nav-item: a.nav-link(href="/calc" class=(context === 'calc' ? 'active' : '')) Calculations
|
|
|
|
div.tab-content
|
|
|
|
div.tab-pane.show.active.mt-2
|
|
|
|
block tab-content
|
|
|
|
|
|
|
|
script(src="/static/jquery.js")
|
|
|
|
script(src="/static/popper.js")
|
|
|
|
script(src="/static/bootstrap.js")
|
2021-02-21 19:52:43 +00:00
|
|
|
script(src="/static/js.cookie.js")
|
2021-02-21 03:28:33 +00:00
|
|
|
script(src="/static/saga.js")
|