1
0
Fork 0

Compare commits

...

10 commits

Author SHA1 Message Date
Jo Wroten
4f46f34f51 Add LICENSE 2019-08-07 03:38:10 +00:00
Joe Wroten
7213f44192 Play store badge 2019-01-26 18:09:31 -06:00
sharpshark28
6d4ab9423e v2.0.5 2017-08-18 00:10:14 -05:00
Joe L Wroten
6d188edef3 Merge pull request #27 from sharpshark28/26
Sorting by level works as expected
2017-08-18 00:07:11 -05:00
Joe L Wroten
ba63c28e01 Merge branch 'master' into 26 2017-08-17 22:37:45 -05:00
sharpshark28
5c73ec1c9d Sorting by level works as expected 2017-08-17 22:37:18 -05:00
Joe L Wroten
b98b515564 Merge pull request #25 from sharpshark28/9
Same large/small spell visual, scroll fix
2017-08-17 07:51:35 -05:00
sharpshark28
8c89c6b5fa Same large/small spell visual, scroll fix 2017-08-17 07:46:33 -05:00
sharpshark28
a30d0db4e4 [Documentation]: Badges and Play Store Link 2017-08-13 07:13:31 -05:00
Joe L Wroten
cdcd9c19e9 Merge pull request #22 from sharpshark28/4
[ENHANCEMENT]: Android native
2017-08-12 19:36:39 -05:00
6 changed files with 29 additions and 26 deletions

24
LICENSE Normal file
View 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>

View file

@ -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.
[![PlayStore](https://play.google.com/intl/en_us/badges/images/badge_new.png)](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.

View file

@ -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,
} }
}) })

View file

@ -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",

View file

@ -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>

View file

@ -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)
}, },