Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4f46f34f51 | ||
![]() |
7213f44192 | ||
![]() |
6d4ab9423e | ||
![]() |
6d188edef3 | ||
![]() |
ba63c28e01 | ||
![]() |
5c73ec1c9d | ||
![]() |
b98b515564 | ||
![]() |
8c89c6b5fa | ||
![]() |
a30d0db4e4 | ||
![]() |
cdcd9c19e9 |
6 changed files with 29 additions and 26 deletions
24
LICENSE
Normal file
24
LICENSE
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
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,6 +2,8 @@
|
||||||
|
|
||||||
My Spells is an open source web-based application to elegantly view spells and save them to your local spellbook.
|
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
|
## License
|
||||||
|
|
||||||
Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc.
|
Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc.
|
||||||
|
|
|
@ -28,7 +28,7 @@ let indexedSpells = spellsWithIDs.map(spell => {
|
||||||
id: spell.id,
|
id: spell.id,
|
||||||
name: spell.name,
|
name: spell.name,
|
||||||
classes: spell.classes,
|
classes: spell.classes,
|
||||||
level: spell.level,
|
level: spell.level.toLowerCase() === 'cantrip' ? 0 : parseInt(spell.level),
|
||||||
link: '/spell/' + spell.id,
|
link: '/spell/' + spell.id,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "my_spells",
|
"name": "my_spells",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"description": "My Spells is an open source web-based application to elegantly view spells and save them to your local spellbook.",
|
"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>",
|
"author": "Joe Wroten <joe@wroten.me>",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
|
@ -8,13 +8,6 @@
|
||||||
Back
|
Back
|
||||||
</button>
|
</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 bg-white">
|
||||||
<div class="card-title bg-pink text-white">
|
<div class="card-title bg-pink text-white">
|
||||||
{{spell.name}}
|
{{spell.name}}
|
||||||
|
@ -170,17 +163,4 @@ export default {
|
||||||
.bookmark
|
.bookmark
|
||||||
font-size: 1.25em
|
font-size: 1.25em
|
||||||
line-height: 1em
|
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>
|
</style>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-bind:class="{'checked': checked}">
|
<div v-bind:class="{'checked': checked}">
|
||||||
<div class="item-primary">
|
<div class="item-primary">
|
||||||
{{level}}
|
{{spell.level}}
|
||||||
</div>
|
</div>
|
||||||
<div class="item-content has-secondary">
|
<div class="item-content has-secondary">
|
||||||
<router-link :to="spell.link">
|
<router-link :to="spell.link">
|
||||||
|
@ -35,9 +35,6 @@ import { capitalize } from '../utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
level () {
|
|
||||||
return this.spell.level.toLowerCase() === 'cantrip' ? '0' : this.spell.level.charAt(0)
|
|
||||||
},
|
|
||||||
school () {
|
school () {
|
||||||
return capitalize(this.spell.school)
|
return capitalize(this.spell.school)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue