ideabox fills with words from file

small-nav
chimchooree 4 years ago
parent d7ffb4f08f
commit cad796c8e3

@ -1,5 +1,5 @@
My personal collection of inspiring concepts. Many are from nature, culture, mythology, literature, music, art, and beauty. Some are personal concepts. Some are from existing IPs. <br>
abyssal whip abyssal whip
adamantine
aloe aloe
alpine alpine
amber amber
@ -19,29 +19,40 @@ black bear
The Black Hand The Black Hand
black knight black knight
black water black water
black widow
bloodstone
blue and yellow blue and yellow
blue rose blue rose
bluebell bluebell
box garden box garden
breath of life
bunny boy bunny boy
buried treasure
butterfly woman butterfly woman
candlelight candlelight
castle castle
cat familiar cat familiar
cat man cat man
chained to rocks chained to rocks
chainmail chain mail
chamaeleon
chamomile
chimera chimera
chives chives
cipher cipher
cold iron
confetti
constellations constellations
cotton
couture couture
crab crab
crazy quilt crazy quilt
Crossroad Keep Crossroad Keep
crystal sea
daeva daeva
death's-head hawkmoth
Diana Diana
diarama diorama
dimetrodon dimetrodon
donkey donkey
doppelgänger doppelgänger
@ -50,6 +61,7 @@ dragonstone
Dymer Dymer
dystopia dystopia
ectoplasm ectoplasm
edelweiss
egg hunt egg hunt
elixir of life elixir of life
Entrana Entrana
@ -58,8 +70,9 @@ ettin
evil twin evil twin
fable fable
falling leaves falling leaves
fairy kingdom fairy lights
fairy ring fairy ring
faun
femme covert femme covert
femme fatale femme fatale
fiery sword fiery sword
@ -67,14 +80,18 @@ firebrand
floating floating
flower woman flower woman
flying flying
folkelore folklore
fountain of youth
fortress fortress
fringe fringe
frog prince frog prince
geode geode
ghost orchid
ghost town ghost town
girl in the internet girl in the internet
girl in white girl in white
glow stick
glow-in-the-dark stars
golden apple golden apple
golden orb weaver golden orb weaver
golem golem
@ -87,25 +104,30 @@ haunted house
headscarf headscarf
heart heart
hermit hermit
holly
honeydew
hot air balloon hot air balloon
hot and cold game hot and cold game
hot cocoa
igari makeup igari makeup
illuminated text illuminated text
imbalanced style
imprismed
incense incense
ironwood ironwood
jacquard jacquard
kesi silk kesi silk
kigurumi
La Belle Sans Merci La Belle Sans Merci
labyrinth labyrinth
lady cat lady cat
Lady of Shallot Lady of Shallot
Lady of the Lake Lady of the Lake
lady in black lady in black
lake of fire
lavender
lip oil lip oil
Little Red Riding Hood Little Red Riding Hood
lobster lobster
locket
Lokasenna Lokasenna
loner loner
lost city lost city
@ -115,29 +137,35 @@ lullaby
macramé macramé
mages guild mages guild
magic carpet magic carpet
maknae
man in the moon man in the moon
mandragor mandrake
manna
marine marine
mask mask
masquerade masquerade
mead of poetry mead of poetry
mean girl mean girl
melon soda
memento mori memento mori
memoir memoir
mercury rivers and lakes mercury rivers and lakes
miasma
mirror of Venus mirror of Venus
mirror on the wall mirror on the wall
mithril
monastery monastery
money tree money tree
monkey and bear monkey and bear
moonglow moonglow
moonstone moonstone
mossy cobblestone mossy cobblestone
moth
muse
oneiromancer oneiromancer
oblivion oblivion
opal opal
orb orb
orichalcum
orphan orphan
panda eyes panda eyes
pearl pearl
@ -146,14 +174,20 @@ phantom residue
phantom thief phantom thief
pharisee pharisee
philosopher's stone philosopher's stone
pilgrimmage pilgrimage
pinwheel
planetary weather planetary weather
plastic vampire fangs
Poeta Poeta
poetry and prose poetry and prose
pomegranate pomegranate
poppy poppy
post-rock post-rock
pretzel
princess of Kentucky princess of Kentucky
prism
poinsettia
popcorn
propaganda propaganda
proverb proverb
pseudonym pseudonym
@ -162,13 +196,20 @@ rainbow
reclining woman reclining woman
red red
reverse trap reverse trap
road roller
rooibos tea
runestone runestone
s'more
sailor fuku sailor fuku
Sanctum Sanctum
sandcastle
sandman
sanguine, my brother sanguine, my brother
sardonic sardonic
satire satire
satyr
scrying pool scrying pool
scythe
sea foam sea foam
sea of stars sea of stars
secret garden secret garden
@ -180,39 +221,55 @@ silk embroidery
singing sword singing sword
skeleton skeleton
skipping stone skipping stone
slide puzzle
slime slime
soulmates snow globe
soma
soulmate
spooky chews
squid
spice cookie spice cookie
spirit animal spirit animal
spy spy
stained-glass stained-glass
stardust
starry sky starry sky
sticker
stinky cat stinky cat
stone people stone people
strawberries and cream
strawberry shortcake
sunflower
sword in the stone sword in the stone
taffy
tatting tatting
tears of Guthix tears of Guthix
three women three women
toasted marshmallow
treasure trails treasure trails
tree of life tree of life
trickster trickster
tulip
tungsten tungsten
underwater underwater
unicorn horn
unstoppable mailman unstoppable mailman
urban legend urban legend
utopia utopia
vanity of vanities vanity of vanities
vyrewatch
walled city walled city
wampus cat wampus cat
watchmen on the wall watchmen on the wall
water bearer
water nymph water nymph
waterbearer white Christmas
will-o'-wisp
wings wings
wishing well
witchhouse witchhouse
witching hour witching hour
wizard tower wizard tower
wolfbane wolf's-bane
woman and serpent woman and serpent
the woodsman the woodsman
Yggdrasil Yggdrasil

@ -181,6 +181,13 @@ def gather_files(loc):
def gather_and_sort(loc): def gather_and_sort(loc):
return sort_files(curate_files(gather_files(loc))) return sort_files(curate_files(gather_files(loc)))
def fill_ideabox():
box = []
with open('diary/entries/extra/ideabox') as f:
for line in f:
box.append(line)
return box
## Static ## ## Static ##
# Serve CSS # Serve CSS
@ -296,7 +303,7 @@ def contact():
@route('/ideabox') @route('/ideabox')
def ideabox(): def ideabox():
"""idea box page""" """idea box page"""
info = {'css': 'box', 'title': 'blessfrey - idea box - a collection of inspiring concepts', 'words': ["cat", "dog", "tree", "why", "what", "how"], 'limit': 5, 'year': datetime.datetime.now()} info = {'css': 'box', 'title': 'blessfrey - idea box - a collection of inspiring concepts', 'words': fill_ideabox(), 'limit': 5, 'year': datetime.datetime.now()}
return template('ideabox.tpl', info) return template('ideabox.tpl', info)
## Main ## ## Main ##

@ -121,6 +121,14 @@ body {
color: #f463ad; color: #f463ad;
} }
table, th, td {
border: 1px solid #330532;
}
th, td {
padding: 5px;
}
.footer-content { .footer-content {
padding-top: 5px; padding-top: 5px;
text-align: right; text-align: right;

@ -3,7 +3,9 @@
<!--Content--> <!--Content-->
<div class="content"> <div class="content">
<br><br> <br>
<h2>ideabox☆ </h2>
My personal collection of inspiring concepts + favorite things. Many are from nature, culture, mythology, literature, music, art, and beauty. Some are personal concepts. Some are from existing IPs. You can use them, too, if they help you. <br>
<br> <br>
<table> <table>
% for i in range(math.ceil(len(words) / limit)): % for i in range(math.ceil(len(words) / limit)):

Loading…
Cancel
Save