Compare commits
3 Commits
53bd1ffeed
...
5a8e1c287b
Author | SHA1 | Date |
---|---|---|
|
5a8e1c287b | |
|
01217fbe04 | |
|
f0614b31fe |
|
@ -22,6 +22,7 @@ module.exports = (plugin, app) => {
|
|||
title: 'gear',
|
||||
www_name: app.live.conf.www_name,
|
||||
www_copyright: app.live.conf.www_copyright,
|
||||
scripts: ['/js/gear.js'],
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -284,3 +284,11 @@ td:last-child {
|
|||
font-size: 2vw;
|
||||
}
|
||||
}
|
||||
|
||||
.Table__Entry__JSON > a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: copy;
|
||||
text-align: center;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{{##def.weapons_table_entry:item:
|
||||
<tr>
|
||||
<tr data-json='{{=JSON.stringify(item)}}'>
|
||||
<td><a href="/gear/weapons/{{=item.name||''}}"</a>{{=item.name || ''}}</td>
|
||||
<td>{{=item.attack || ''}}</td>
|
||||
<td>{{=item.damage || ''}}</td>
|
||||
|
@ -37,7 +37,7 @@
|
|||
#}}
|
||||
|
||||
{{##def.consumables_table_entry:item:
|
||||
<tr>
|
||||
<tr data-json='{{=JSON.stringify(item)}}'>
|
||||
<td><a href="/gear/consumables/{{=item.name||''}}"</a>{{=item.name || ''}}</td>
|
||||
<td>{{=item.duration || ''}}</td>
|
||||
<td>{{=item.properties || ''}}</td>
|
||||
|
|
Loading…
Reference in New Issue