Compare commits
No commits in common. "master" and "v2.0.4" have entirely different histories.
6 changed files with 26 additions and 29 deletions
24
LICENSE
24
LICENSE
|
@ -1,24 +0,0 @@
|
|||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <https://unlicense.org>
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
My Spells is an open source web-based application to elegantly view spells and save them to your local spellbook.
|
||||
|
||||
[](https://play.google.com/store/apps/details?id=io.cordova.myspells)
|
||||
|
||||
## License
|
||||
|
||||
Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc.
|
||||
|
|
|
@ -28,7 +28,7 @@ let indexedSpells = spellsWithIDs.map(spell => {
|
|||
id: spell.id,
|
||||
name: spell.name,
|
||||
classes: spell.classes,
|
||||
level: spell.level.toLowerCase() === 'cantrip' ? 0 : parseInt(spell.level),
|
||||
level: spell.level,
|
||||
link: '/spell/' + spell.id,
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "my_spells",
|
||||
"version": "2.0.5",
|
||||
"version": "2.0.4",
|
||||
"description": "My Spells is an open source web-based application to elegantly view spells and save them to your local spellbook.",
|
||||
"author": "Joe Wroten <joe@wroten.me>",
|
||||
"license": "ISC",
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
Back
|
||||
</button>
|
||||
|
||||
<button
|
||||
v-go-back=" '/' "
|
||||
class="page-back-big primary circular big shadow-2"
|
||||
>
|
||||
<i>arrow_back</i>
|
||||
</button>
|
||||
|
||||
<div class="card bg-white">
|
||||
<div class="card-title bg-pink text-white">
|
||||
{{spell.name}}
|
||||
|
@ -163,4 +170,17 @@ export default {
|
|||
.bookmark
|
||||
font-size: 1.25em
|
||||
line-height: 1em
|
||||
@media screen and (min-height: 800px)
|
||||
.card
|
||||
position: relative
|
||||
top: 50%
|
||||
transform: translateY(-50%)
|
||||
.page-back-big
|
||||
display: block
|
||||
position: absolute
|
||||
top: 1rem
|
||||
left: 1rem
|
||||
z-index: 1
|
||||
.page-back-small
|
||||
display: none
|
||||
</style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div v-bind:class="{'checked': checked}">
|
||||
<div class="item-primary">
|
||||
{{spell.level}}
|
||||
{{level}}
|
||||
</div>
|
||||
<div class="item-content has-secondary">
|
||||
<router-link :to="spell.link">
|
||||
|
@ -35,6 +35,9 @@ import { capitalize } from '../utils'
|
|||
|
||||
export default {
|
||||
computed: {
|
||||
level () {
|
||||
return this.spell.level.toLowerCase() === 'cantrip' ? '0' : this.spell.level.charAt(0)
|
||||
},
|
||||
school () {
|
||||
return capitalize(this.spell.school)
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue