Skip to content

Commit

Permalink
removed previous files
Browse files Browse the repository at this point in the history
  • Loading branch information
txe committed Apr 14, 2016
1 parent 82bec66 commit e602fa6
Show file tree
Hide file tree
Showing 26 changed files with 8 additions and 698 deletions.
15 changes: 8 additions & 7 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ def get_decks():
for file in files:
prefix = ''
prefix_color = 'red'

name = file[:-4]
parts = name.split(":")
if len(parts) == 2:
prefix = parts[0] + ":"
name = parts[1]
if prefix == 'text:': prefix_color = 'green'
if prefix == 'waste:': prefix_color = 'black'
if prefix == 'topic:': prefix_color = 'blue'
parts = name.split(" ")
if len(parts) > 0:
prefix = parts[0] + ':'
name = ' ' + ' '.join(parts[1:])
if prefix == 'text:': prefix_color = 'green'
if prefix == 'waste:': prefix_color = 'black'
if prefix == 'topic:': prefix_color = 'blue'

items.append({'name' : name, 'url' : 'deck/' + file, 'prefix': prefix, 'prefix_color' : prefix_color})
return items;
Expand Down
40 changes: 0 additions & 40 deletions topics/!pronunciation.txt

This file was deleted.

67 changes: 0 additions & 67 deletions topics/preposition: common.txt

This file was deleted.

44 changes: 0 additions & 44 deletions topics/preposition: time.txt

This file was deleted.

7 changes: 0 additions & 7 deletions topics/text. Pete and the pet.txt

This file was deleted.

13 changes: 0 additions & 13 deletions topics/text: I trained as a lawyer to free my brother.txt

This file was deleted.

19 changes: 0 additions & 19 deletions topics/text: The Name Game.txt

This file was deleted.

15 changes: 0 additions & 15 deletions topics/text: Words from the wise.txt

This file was deleted.

Loading

0 comments on commit e602fa6

Please sign in to comment.