Kaynağa Gözat

Fresh start

Wiping the entire project to start over
crobi 9 yıl önce
ebeveyn
işleme
356f493900
100 değiştirilmiş dosya ile 0 ekleme ve 2414 silme
  1. 0
    3
      .gitignore
  2. 0
    101
      generator/css/card-size.css
  3. 0
    234
      generator/css/cards.css
  4. 0
    12
      generator/css/class-icons.css
  5. 0
    34
      generator/css/custom-icons.css
  6. 0
    1319
      generator/css/icons.css
  7. 0
    34
      generator/css/output.css
  8. 0
    62
      generator/css/ui.css
  9. 0
    1
      generator/data/card_data.js
  10. 0
    163
      generator/data/card_data_example.js
  11. 0
    451
      generator/generate.html
  12. BIN
      generator/img/ace.png
  13. BIN
      generator/img/acid-blob.png
  14. BIN
      generator/img/acid-tube.png
  15. BIN
      generator/img/acid.png
  16. BIN
      generator/img/acorn.png
  17. BIN
      generator/img/aerial-signal.png
  18. BIN
      generator/img/aerosol.png
  19. BIN
      generator/img/afterburn.png
  20. BIN
      generator/img/alien-skull.png
  21. BIN
      generator/img/alien-stare.png
  22. BIN
      generator/img/all-for-one.png
  23. BIN
      generator/img/alligator-clip.png
  24. BIN
      generator/img/ammo-box.png
  25. BIN
      generator/img/ammonite-fossil.png
  26. BIN
      generator/img/ammonite.png
  27. BIN
      generator/img/amphora.png
  28. BIN
      generator/img/anatomy.png
  29. BIN
      generator/img/anchor.png
  30. BIN
      generator/img/andromeda-chain.png
  31. BIN
      generator/img/angel-outfit.png
  32. BIN
      generator/img/angel-wings.png
  33. BIN
      generator/img/angler-fish.png
  34. BIN
      generator/img/angular-spider.png
  35. BIN
      generator/img/animal-hide.png
  36. BIN
      generator/img/animal-skull.png
  37. BIN
      generator/img/ankh.png
  38. BIN
      generator/img/anthem.png
  39. BIN
      generator/img/anvil-impact.png
  40. BIN
      generator/img/anvil.png
  41. BIN
      generator/img/apple-maggot.png
  42. BIN
      generator/img/apple-seeds.png
  43. BIN
      generator/img/aquarius.png
  44. BIN
      generator/img/archery-target.png
  45. BIN
      generator/img/architect-mask.png
  46. BIN
      generator/img/arcing-bolt.png
  47. BIN
      generator/img/arena.png
  48. BIN
      generator/img/aries.png
  49. BIN
      generator/img/armadillo-tail.png
  50. BIN
      generator/img/armoured-shell.png
  51. BIN
      generator/img/arrow-cluster.png
  52. BIN
      generator/img/arrow-flights.png
  53. BIN
      generator/img/arrowed.png
  54. BIN
      generator/img/arrowhead.png
  55. BIN
      generator/img/arrows-shield.png
  56. BIN
      generator/img/arson.png
  57. BIN
      generator/img/artificial-hive.png
  58. BIN
      generator/img/at-sea.png
  59. BIN
      generator/img/atomic-slashes.png
  60. BIN
      generator/img/aubergine.png
  61. BIN
      generator/img/aura.png
  62. BIN
      generator/img/auto-repair.png
  63. BIN
      generator/img/autogun.png
  64. BIN
      generator/img/awareness.png
  65. BIN
      generator/img/axe-in-stump.png
  66. BIN
      generator/img/axe-swing.png
  67. BIN
      generator/img/back-forth.png
  68. BIN
      generator/img/back-pain.png
  69. BIN
      generator/img/backstab.png
  70. BIN
      generator/img/backup.png
  71. BIN
      generator/img/balloons.png
  72. BIN
      generator/img/bandage-roll.png
  73. BIN
      generator/img/bandaged.png
  74. BIN
      generator/img/barbed-arrow.png
  75. BIN
      generator/img/barbed-spear.png
  76. BIN
      generator/img/barbed-wire.png
  77. BIN
      generator/img/barbute.png
  78. BIN
      generator/img/barefoot.png
  79. BIN
      generator/img/bat-blade.png
  80. BIN
      generator/img/bat-wing.png
  81. BIN
      generator/img/battered-axe.png
  82. BIN
      generator/img/batteries.png
  83. BIN
      generator/img/battery-0.png
  84. BIN
      generator/img/battery-100.png
  85. BIN
      generator/img/battery-25.png
  86. BIN
      generator/img/battery-50.png
  87. BIN
      generator/img/battery-75.png
  88. BIN
      generator/img/battery-minus.png
  89. BIN
      generator/img/battery-pack-alt.png
  90. BIN
      generator/img/battery-pack.png
  91. BIN
      generator/img/battery-plus.png
  92. BIN
      generator/img/battle-axe.png
  93. BIN
      generator/img/battle-gear.png
  94. BIN
      generator/img/batwing-emblem.png
  95. BIN
      generator/img/beam-wake.png
  96. BIN
      generator/img/beams-aura.png
  97. BIN
      generator/img/beanstalk.png
  98. BIN
      generator/img/beard.png
  99. BIN
      generator/img/beast-eye.png
  100. 0
    0
      generator/img/bee.png

+ 0
- 3
.gitignore Dosyayı Görüntüle

@@ -1,3 +0,0 @@
1
-/node_modules
2
-/generator/js/*.map
3
-/generator/js/*.d.ts

+ 0
- 101
generator/css/card-size.css Dosyayı Görüntüle

@@ -1,101 +0,0 @@
1
-/*
2
-    Full page printing CSS
3
-    ======================
4
-
5
-    Since we want precisely specify the card sizes, we must not allow the user to scale the content to fit a sheet of paper.
6
-    We must also make sure the browser does not add randomly sized margins to the page.
7
-
8
-    Instead, we use absolute sizes for all content, such that it fills a sheet of paper:
9
-    1) Remove all page margins (using the @page CSS rule). The borders of the document will be outside of the printable area,
10
-       however, we will cluster all content around the center, so that we won't crop anything.
11
-    2) Fill the document with <page> elements which have an absolute size equal to the full area of the paper.
12
-    3) Fill each page with cards, arranged around the center of the page.
13
-*/
14
-
15
-
16
-/* Center all content within a page */
17
-.page {
18
-    display: flex;
19
-    align-content: center;
20
-    justify-content: center;
21
-    flex-direction: row;
22
-    flex-wrap: wrap;
23
-    page-break-after: always;
24
-    padding: 0;
25
-}
26
-
27
-/* A4 paper area */
28
-/* Chrome has problems with page sizes given in metric units. Make the paper area slightly smaller to work around this. */
29
-page[size="A4"] {
30
-    width:  210mm; /* full: 210.0mm */
31
-    height: 296mm; /* full: 297.0mm */
32
-}
33
-
34
-/* US letter area */
35
-page[size="Letter"] {
36
-    width:  8.5in;
37
-    height: 11.0in;
38
-}
39
-
40
-page[size="25x35"] {
41
-    width: 2.5in;
42
-    height: 3.5in;
43
-}
44
-
45
-/* Default card size */
46
-.card {
47
-    width:2.5in;
48
-    height:3.5in;
49
-}
50
-
51
-/* Bridge card size */
52
-.card-size-225x35 {
53
-    width:2.25in;
54
-    height:3.5in;
55
-}
56
-.card-size-225x35 .card-back-icon {
57
-    width: 1in;
58
-    height: 1in;
59
-}
60
-
61
-/* Poker / Magic card size */
62
-.card-size-25x35 {
63
-    width:2.5in;
64
-    height:3.5in;
65
-}
66
-.card-size-25x35 .card-back-icon {
67
-    width: 1in;
68
-    height: 1in;
69
-}
70
-
71
-/* Poker / Magic card size */
72
-.card-size-35x50 {
73
-    width:3.5in;
74
-    min-width:3.5in;
75
-    height:5.0in;
76
-}
77
-.card-size-35x50 .card-back-icon {
78
-    width: 1.5in;
79
-    height: 1.5in;
80
-}
81
-
82
-/* Landscape big card */
83
-.card-size-75x50 {
84
-    width:7.5in;
85
-    height:5.0in;
86
-}
87
-.card-size-75x50 .card-back-icon {
88
-    width: 2in;
89
-    height: 2in;
90
-}
91
-
92
-/* Card sizes that fill out the entire sheet of paper (minimal margins) */
93
-.page[size="A4"] .card-size-full3x3 {
94
-    width:69mm;
95
-    height:98mm;
96
-}
97
-
98
-.page[size="Letter"] .card-size-full3x3 {
99
-    width:71mm;
100
-    height:92mm;
101
-}

+ 0
- 234
generator/css/cards.css Dosyayı Görüntüle

@@ -1,234 +0,0 @@
1
-.card {
2
-    border: 2mm solid;
3
-    border-radius: 4px;
4
-    box-sizing: border-box;
5
-    position: relative;
6
-    display: flex;
7
-    flex-direction: column;
8
-    font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
9
-    font-size: 8pt;
10
-}
11
-
12
-.card-content-container {
13
-    padding:2mm;
14
-    padding-top:1mm;
15
-    border-radius: 2mm;
16
-    margin-top:0px;
17
-    background-color: white;
18
-    border-color: inherit;
19
-    display: flex;
20
-    flex-direction: column;
21
-    flex: 1;
22
-    font-size: inherit;
23
-}
24
-
25
-.card-back {
26
-    background-color: white;
27
-    border-radius: 4mm;
28
-    border-color: inherit;
29
-    margin: 3mm;
30
-    flex: 1;
31
-    display: flex;
32
-}
33
-
34
-.card-back-inner {
35
-    margin: 3mm;
36
-    border: 1mm solid;
37
-    border-color: inherit;
38
-    border-radius: 4mm;
39
-    flex: 1;
40
-    display: flex;
41
-    flex-direction: row;
42
-    flex-wrap: wrap;
43
-    justify-content: center;
44
-    align-items: center;
45
-}
46
-
47
-.card-back-icon {
48
-    width: 1in;
49
-    height: 1in;
50
-    border: 4mm solid;
51
-    border-color: inherit;
52
-    border-radius: 4mm;
53
-    background-repeat: no-repeat;
54
-    background-size: contain;
55
-}
56
-
57
-.card-title-icon {
58
-    width: 12mm;
59
-    height: 12mm;
60
-    background-repeat: no-repeat;
61
-    background-size: contain;
62
-    background-color: inherit;
63
-    border-color: inherit;
64
-}
65
-.card-title-icon-container {
66
-    position: absolute;
67
-    right: -1mm;
68
-    top: -1mm;
69
-    border: 1mm solid;
70
-    border-radius: 1mm;
71
-    background-color: inherit;
72
-    border-color: inherit;
73
-}
74
-
75
-.card-title-inlineicon {
76
-    width: 7mm;
77
-    height: 7mm;
78
-    background-repeat: no-repeat;
79
-    background-size: contain;
80
-    background-color: inherit;
81
-    border-color: inherit;
82
-}
83
-.card-title-inlineicon-container {
84
-    position: absolute;
85
-    right: -1mm;
86
-    top: -1mm;
87
-    border: 1mm solid;
88
-    border-radius: 1mm;
89
-    background-color: inherit;
90
-    border-color: inherit;
91
-}
92
-
93
-.card-title {
94
-    height: 8mm;
95
-    padding-left: 2mm;
96
-    font-family: Lora, 'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif;
97
-    font-variant: small-caps;
98
-    font-weight: bold;
99
-    background-color: inherit;
100
-    color: white;
101
-}
102
-.card-title-16 {
103
-    font-size: 16pt;
104
-    line-height: 6.5mm;
105
-}
106
-.card-title-15 {
107
-    font-size: 15pt;
108
-    line-height: 6.5mm;
109
-}
110
-.card-title-14 {
111
-    font-size: 14pt;
112
-    line-height: 6.5mm;
113
-}
114
-.card-title-13 {
115
-    font-size: 13pt;
116
-    line-height: 7mm;
117
-}
118
-.card-title-12 {
119
-    font-size: 12pt;
120
-    line-height: 7mm;
121
-}
122
-.card-title-11 {
123
-    font-size: 11pt;
124
-    line-height: 7.5mm;
125
-}
126
-.card-title-10 {
127
-    font-size: 10pt;
128
-    line-height: 7.5mm;
129
-}
130
-.card-subtitle {
131
-    height: 18px;
132
-    line-height: 18px;
133
-    margin-bottom: 0.0em;
134
-    font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
135
-    font-size: 10pt;
136
-    font-style: italic;
137
-}
138
-
139
-.card-property-line {
140
-    text-indent: -1em;
141
-    margin-left: 1em;
142
-    font-size: inherit;
143
-    color: black;
144
-}
145
-
146
-.card-property-name {
147
-    display: inline;
148
-    font-size: inherit;
149
-}
150
-.card-property-text {
151
-    display: inline;
152
-}
153
-
154
-.card-section {
155
-    border-bottom: 1px solid;
156
-    font-size: 10pt;
157
-    font-variant: small-caps;
158
-    font-weight: normal;
159
-    letter-spacing: 1px;
160
-    margin: 0;
161
-    border-color: inherit;
162
-}
163
-
164
-.card-section + .card-element {
165
-    margin-top: 0.3em;
166
-}
167
-
168
-.card-p {
169
-
170
-}
171
-
172
-.card-fill {flex:1;}
173
-
174
-.card-description-line {
175
-    margin-top: 0.5em;
176
-    margin-bottom: 0.0em;
177
-    font-size: inherit;
178
-    color: black;
179
-}
180
-.card-description-name {
181
-    display: inline;
182
-    font-size: inherit;
183
-    font-style: italic;
184
-}
185
-.card-description-name::after {
186
-    content: ".";
187
-}
188
-.card-description-text {
189
-    display: inline;
190
-}
191
-
192
-.card-ruler {
193
-    width: 100%;
194
-    height: 1.0mm;
195
-    margin-top: 0.3em;
196
-    margin-bottom: 0.3em;
197
-}
198
-
199
-.card-box {
200
-    display: inline;
201
-    height: 10mm;
202
-    width: 10mm;
203
-    margin-right: 0.3em;
204
-}
205
-
206
-.card-stats {
207
-    width: 100%
208
-}
209
-
210
-.card-stats-header {
211
-    text-align: center;
212
-    padding: 0;
213
-    width: 16.6%;
214
-}
215
-
216
-.card-stats-cell {
217
-    text-align: center;
218
-    padding: 0;
219
-}
220
-
221
-.card-bullet-line {
222
-    font-size: inherit;
223
-    color: black;
224
-    padding-left: 16px;
225
-    padding-bottom: 0;
226
-    margin-bottom: 0;
227
-    margin-top: 0;
228
-}
229
-
230
-.card-bullet {
231
-    margin-bottom: 0;
232
-    margin-top: 0;
233
-    font-size: inherit;
234
-}

+ 0
- 12
generator/css/class-icons.css Dosyayı Görüntüle

@@ -1,12 +0,0 @@
1
-.icon-class-barbarian { background-image: url(../img/classes/barbarian.png);}
2
-.icon-class-bard { background-image: url(../img/classes/bard.png);}
3
-.icon-class-cleric { background-image: url(../img/classes/cleric.png);}
4
-.icon-class-druid { background-image: url(../img/classes/druid.png);}
5
-.icon-class-fighter { background-image: url(../img/classes/fighter.png);}
6
-.icon-class-monk { background-image: url(../img/classes/monk.png);}
7
-.icon-class-paladin { background-image: url(../img/classes/paladin.png);}
8
-.icon-class-ranger { background-image: url(../img/classes/ranger.png);}
9
-.icon-class-rogue { background-image: url(../img/classes/rogue.png);}
10
-.icon-class-sorcerer { background-image: url(../img/classes/sorcerer.png);}
11
-.icon-class-warlock { background-image: url(../img/classes/warlock.png);}
12
-.icon-class-wizard { background-image: url(../img/classes/wizard.png);}

+ 0
- 34
generator/css/custom-icons.css Dosyayı Görüntüle

@@ -1,34 +0,0 @@
1
-.icon-custom-armor-light { background-image: url(../img/leather-vest.png);}
2
-.icon-custom-armor-medium { background-image: url(../img/lamellar.png);}
3
-.icon-custom-armor-heavy { background-image: url(../img/breastplate.png);}
4
-.icon-custom-shield { background-image: url(../img/round-shield.png);}
5
-
6
-.icon-custom-potion { background-image: url(../img/drink-me.png);}
7
-.icon-custom-light { background-image: url(../img/candle-flame.png);}
8
-.icon-custom-flask { background-image: url(../img/fizzing-flask.png);}
9
-.icon-custom-vial { background-image: url(../img/chemical-drop.png);}
10
-.icon-custom-poison { background-image: url(../img/poison-bottle.png);}
11
-.icon-custom-trap { background-image: url(../img/wolf-trap.png);}
12
-.icon-custom-item { background-image: url(../img/knapsack.png);}
13
-.icon-custom-wand { background-image: url(../img/crystal-wand.png);}
14
-.icon-custom-swords { background-image: url(../img/crossed-swords.png);}
15
-.icon-custom-arrows { background-image: url(../img/target-arrows.png);}
16
-.icon-custom-swordarrow { background-image: url(../img/mixed-swords.png);}
17
-
18
-.icon-custom-spell { background-image: url(../img/white-book.png);}
19
-.icon-custom-spell-0 { background-image: url(../img/white-book-0.png);}
20
-.icon-custom-spell-1 { background-image: url(../img/white-book-1.png);}
21
-.icon-custom-spell-2 { background-image: url(../img/white-book-2.png);}
22
-.icon-custom-spell-3 { background-image: url(../img/white-book-3.png);}
23
-.icon-custom-spell-4 { background-image: url(../img/white-book-4.png);}
24
-.icon-custom-spell-5 { background-image: url(../img/white-book-5.png);}
25
-.icon-custom-spell-6 { background-image: url(../img/white-book-6.png);}
26
-.icon-custom-spell-7 { background-image: url(../img/white-book-7.png);}
27
-.icon-custom-spell-8 { background-image: url(../img/white-book-8.png);}
28
-.icon-custom-spell-9 { background-image: url(../img/white-book-9.png);}
29
-.icon-custom-spell-holy { background-image: url(../img/white-book-cd.png);}
30
-.icon-custom-spell-runes { background-image: url(../img/book-cover.png);}
31
-
32
-.icon-custom-class-arcane { background-image: url(../img/robe.png);}
33
-.icon-custom-class-cleric { background-image: url(../img/holy-symbol.png);}
34
-.icon-custom-class-rogue { background-image: url(../img/cloak-dagger.png);}

+ 0
- 1319
generator/css/icons.css
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 0
- 34
generator/css/output.css Dosyayı Görüntüle

@@ -1,34 +0,0 @@
1
-.page-background {
2
-  background: rgb(204,204,204); 
3
-}
4
-
5
-body {
6
-    display: flex;
7
-    justify-content:center;
8
-    align-content:center;
9
-}
10
-
11
-.page-preview {
12
-    background: white;
13
-    margin: 0 auto;
14
-    margin-bottom: 16px;
15
-    box-shadow: 0 0 8px rgba(0,0,0,0.5);
16
-}
17
-
18
-@media print {
19
-  .page-preview {
20
-    margin: 0;
21
-    padding: 0;
22
-    border: 0;
23
-    box-shadow: 0;
24
-    background-color: white;
25
-  }
26
-  .page-background {
27
-    margin: 0;
28
-    padding: 0;
29
-    border: 0;
30
-    box-shadow: 0;
31
-    /* Set the background to gray to visualize the page size in the print preview */
32
-    background-color: gray;
33
-  }
34
-}

+ 0
- 62
generator/css/ui.css Dosyayı Görüntüle

@@ -1,62 +0,0 @@
1
-#preview-container {
2
-    margin: 10px;
3
-    background-color: white;
4
-    display: flex;
5
-    justify-content: space-around;
6
-    align-items: center;
7
-}
8
-
9
-/* Small screen (preview fills all columns) */
10
-@media (max-width : 1199px) {
11
-    .preview-container {
12
-        flex-direction: row;
13
-    }
14
-    .card {
15
-        margin-right: 10px;
16
-    }
17
-}
18
-/* Large screen (preview fills one column, columns are narrow) */
19
-@media (min-width: 1200px) and (max-width : 1599px) {
20
-    .preview-container {
21
-        flex-direction: column;
22
-    }
23
-    .card {
24
-        margin-bottom: 10px;
25
-    }
26
-}
27
-/* Huge screen (preview fills one column, columns are wide) */
28
-@media (min-width : 1600px) {
29
-    .preview-container {
30
-        flex-direction: row;
31
-    }
32
-    .card {
33
-        margin-right: 10px;
34
-    }
35
-}
36
-
37
-.row-eq-height {
38
-  display: -webkit-box;
39
-  display: -webkit-flex;
40
-  display: -ms-flexbox;
41
-  display:         flex;
42
-}
43
-
44
-.color-input-addon {
45
-    border-right: 0;
46
-    border-radius: 4px !important;
47
-    border-top-right-radius: 0 !important;
48
-    border-bottom-right-radius: 0 !important;
49
-}
50
-
51
-.form-group {
52
-    margin-bottom: 10px;
53
-}
54
-
55
-.card h4 {
56
-    /* Revert bootstrap style for the card preview */
57
-    font-weight: bold;
58
-}
59
-
60
-.form-horizontal {
61
-    margin-top: 10px;
62
-}

+ 0
- 1
generator/data/card_data.js Dosyayı Görüntüle

@@ -1 +0,0 @@
1
-var card_data = [];

+ 0
- 163
generator/data/card_data_example.js Dosyayı Görüntüle

@@ -1,163 +0,0 @@
1
-var card_data_example = [
2
-    {
3
-        "count": 1,
4
-        "color": "maroon",
5
-        "title": "Burning Hands",
6
-        "icon": "white-book-1",
7
-        "icon_back": "robe",
8
-        "contents": [
9
-            "subtitle | 1st level evocation",
10
-            "rule",
11
-            "property | Casting time | 1 action",
12
-            "property | Range | Self (15ft cone)",
13
-            "property | Components | V,S",
14
-            "rule",
15
-            "fill | 2",
16
-            "text | Each creature in a 15-foot cone must make a Dexterity saving throw. A creature takes <b>3d6 fire damage</b> on a failed save, or half as much damage on a successful one.",
17
-            "text | The fire ignites any flammable objects in the area that aren't being worn or carried.",
18
-            "fill | 3",
19
-            "section | At higher levels",
20
-            "text | +1d6 damage for each slot above 1st"
21
-        ],
22
-        "tags": ["spell", "mage"]
23
-    },
24
-    {
25
-        "count": 1,
26
-        "color": "indigo",
27
-        "title": "Cunning Action",
28
-        "icon": "white-book",
29
-        "icon_back": "cloak-dagger",
30
-        "contents": [
31
-            "subtitle | Rogue feature",
32
-            "rule",
33
-            "fill | 2",
34
-            "text | You can take a <b>bonus action on each of your turns</b> in combat. This action can be used only to take the <b>Dash, Disengage, or Hide</b> action.",
35
-            "fill | 2",
36
-            "section | Fast hands (Thief 3rd)",
37
-            "text | You can also use the bonus action to make a Dexterity (<b>Sleight of Hand</b>) check, use your thieves' tools to <b>disarm a trap</b> or <b>open a lock</b>, or take the <b>Use an Object</b> action."
38
-        ],
39
-        "tags": ["feature", "rogue"]
40
-    },
41
-    {
42
-        "count": 1,
43
-        "color": "dimgray",
44
-        "title": "Full Plate",
45
-        "icon": "breastplate",
46
-        "contents": [
47
-            "subtitle | Heavy armor (1500gp)",
48
-            "rule",
49
-            "property | AC | 18",
50
-            "property | Strength required | 15",
51
-            "property | Stealth | Disadvantage",
52
-            "rule",
53
-            "fill | 2",
54
-            "description | Heavy | Unless you have the required strength, your speed is reduced by 10 feet.",
55
-            "description | Stealth | You have disadvantage on Dexterity (Stealth) checks.",
56
-            "fill | 3"
57
-        ],
58
-        "tags": ["item", "armor"]
59
-    },
60
-    {
61
-        "count": 1,
62
-        "color": "dimgray",
63
-        "title": "Dagger",
64
-        "icon": "mixed-swords",
65
-        "contents": [
66
-            "subtitle | Simple melee weapon (2gp)",
67
-            "rule",
68
-            "property | Damage | 1d4 piercing",
69
-            "property | Modifier | Strength or Dexterity",
70
-            "property | Properties | Light, Finesse, Thrown (20/60)",
71
-            "rule",
72
-            "fill | 2",
73
-            "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
74
-            "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
75
-            "description | Thrown | You can throw the weapon to make a ranged attack with the given range.",
76
-            "fill | 3"
77
-        ],
78
-        "tags": ["item", "weapon"]
79
-    },
80
-    {
81
-        "count": 1,
82
-        "color": "dimgray",
83
-        "title": "Shortsword of Very Long Names",
84
-        "title_size": "10",
85
-        "icon": "crossed-swords",
86
-        "contents": [
87
-            "subtitle | Simple melee weapon (10gp)",
88
-            "rule",
89
-            "property | Damage | 1d6 piercing",
90
-            "property | Modifier | Strength or Dexterity",
91
-            "property | Properties | Light, Finesse",
92
-            "rule",
93
-            "fill | 2",
94
-            "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
95
-            "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
96
-            "fill | 3"
97
-        ],
98
-        "tags": ["item", "weapon", "magic"]
99
-    },
100
-    {
101
-        "count": 1,
102
-        "color": "dimgray",
103
-        "title": "Wand of Magic Missiles",
104
-        "icon": "crystal-wand",
105
-        "contents": [
106
-            "subtitle | Wondrous item",
107
-            "rule",
108
-            "property | Maximum charges | 7",
109
-            "property | Recharge | 1d6+1 each day",
110
-            "property | Depletion | If you expend the last charge, roll a d20. On a 1, the item is destroyed.",
111
-            "rule",
112
-            "fill | 2",
113
-            "description | Spells | You can use your action to cast the following spells:",
114
-            "bullet | magic missile, 1st level (1 charge)",
115
-            "bullet | magic missile, 2nd level (2 charges)",
116
-            "bullet | magic missile, 3rd level (3 charges)",
117
-            "fill | 3",
118
-            "boxes | 7 | 2.5"
119
-        ],
120
-        "tags": ["item", "wondrous-item", "magic"]
121
-    },
122
-    {
123
-        "count": 2,
124
-        "color": "dimgray",
125
-        "title": "Potion of Healing",
126
-        "icon": "drink-me",
127
-        "contents": [
128
-            "subtitle | Potion (50gp)",
129
-            "rule",
130
-            "property | Use time | 1 action",
131
-            "property | Hit points restored | 2d4+2",
132
-            "rule",
133
-            "fill | 2",
134
-            "text | When you drink this potion, you regain 2d4+2 hitpoints.",
135
-            "text | Drinking or administering a potion takes 1 action.",
136
-            "fill | 3"
137
-        ],
138
-        "tags": ["item", "consumable"]
139
-    },
140
-    {
141
-        "count": 1,
142
-        "color": "black",
143
-        "title": "Goblin",
144
-        "icon": "imp-laugh",
145
-        "contents": [
146
-            "subtitle | Small humanoid (goblinoid)",
147
-            "rule",
148
-            "property | Armor class | 15 (leather armor, shield)",
149
-            "property | Hit points | 7 (2d6)",
150
-            "rule",
151
-            "dndstats | 8 | 14 | 10 | 10 | 8 | 8",
152
-            "rule",
153
-            "property | Skills | Stealth +6",
154
-            "property | Challenge | 1/4 (50 XP)",
155
-            "rule",
156
-            "description | Nimble escape | Disengage or Hide as bonus action",
157
-            "fill | 2",
158
-            "section | Actions",
159
-            "description | Scimitar | Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 5 (1d6 + 2) slashing damage"
160
-        ],
161
-        "tags": ["creature", "humanoid"]
162
-    }
163
-]

+ 0
- 451
generator/generate.html Dosyayı Görüntüle

@@ -1,451 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-<head>
4
-    <title>RPG cards</title>
5
-    <meta charset="UTF-8">
6
-    <!-- Library: jQuery -->
7
-    <script type="text/javascript" src="lib/jquery/jquery.min.js" charset="utf-8"></script>
8
-    <!-- Library: Bootstrap -->
9
-    <script type="text/javascript" src="lib/bootstrap/js/bootstrap.min.js" charset="utf-8"></script>
10
-    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.min.css" />
11
-    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap-theme.min.css" />
12
-    <!-- Library: Bootstrap typeahead -->
13
-    <script type="text/javascript" src="lib/typeahead/bootstrap3-typeahead.min.js" charset="utf-8"></script>
14
-    <!-- Library: Color picker -->
15
-    <link href="lib/colorpicker/css/bootstrap-colorselector.css" rel="stylesheet" />
16
-    <script type="text/javascript" src="lib/colorpicker/js/bootstrap-colorselector.js" charset="utf-8"></script>
17
-    <!-- Data -->
18
-    <script type="text/javascript" src="data/card_data_example.js"></script>
19
-    <!-- Javascript -->
20
-    <script type="text/javascript" src="js/cards.js"></script>
21
-    <script type="text/javascript" src="js/colors.js"></script>
22
-    <script type="text/javascript" src="js/icons.js"></script>
23
-    <script type="text/javascript" defer src="js/ui.js"></script>
24
-    <!-- CSS -->
25
-    <link href="css/ui.css" rel="stylesheet" />
26
-    <link href="css/cards.css" rel="stylesheet" />
27
-    <link href="css/card-size.css" rel="stylesheet" />
28
-    <link href="css/icons.css" rel="stylesheet" />
29
-    <link href="css/class-icons.css" rel="stylesheet" />
30
-    <link href="css/custom-icons.css" rel="stylesheet" />
31
-    <!-- Fonts -->
32
-    <link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
33
-    <link href='https://fonts.googleapis.com/css?family=Lora:700' rel='stylesheet' type='text/css'>
34
-</head>
35
-<body>
36
-    <div class="container-fluid">
37
-        <!--<h1 class="page-header">RPG card generator</h1>-->
38
-        <div class="row">
39
-            <div class="alert alert-warning alert-dismissible" role="alert">
40
-                <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
41
-                <strong>Note</strong>
42
-                Click on "Open help" to display some information about how to use this generator and what to do if you have a feature request or found a bug.
43
-            </div>
44
-        </div>
45
-        <div class="row">
46
-            <div class="col-md-12 col-lg-3">
47
-                <!--<h3>Menu</h3>-->
48
-                <form style="display:none" id="file-load-form">
49
-                    <input type="file" id="file-load" name="files[]" multiple class="form-control" style="display:none" />
50
-                </form>
51
-                <form role="form" class="form-horizontal">
52
-                    <div class="form-group">
53
-                        <div class="col-sm-6">
54
-                            <button type="button" class="btn btn-info btn-block" id="button-help">Open Help</button>
55
-                        </div>
56
-                        <div class="col-sm-6">
57
-                            <button type="button" class="btn btn-danger btn-block" id="button-clear">Delete all</button>
58
-                        </div>
59
-                    </div>
60
-                    <div class="form-group">
61
-                        <div class="col-sm-6">
62
-                            <button type="button" class="btn btn-primary btn-block" id="button-load-sample">Load sample</button>
63
-                        </div>
64
-                        <div class="col-sm-6">
65
-                            <button type="button" class="btn btn-primary btn-block" id="button-load">Load from file</button>
66
-                        </div>
67
-                    </div>
68
-                    <div class="form-group">
69
-                        <div class="col-sm-6">
70
-                            <button type="button" class="btn btn-primary btn-block" id="button-sort">Sort</button>
71
-                        </div>
72
-                        <div class="col-sm-6">
73
-                            <button type="button" class="btn btn-primary btn-block" id="button-save" onclick="ui_save_file()">Save to file</button>
74
-                            <a href="" download="rpg_cards.json" id="file-save-link" style="display:none">Hidden download link</a>
75
-                        </div>
76
-                    </div>
77
-                    <div class="form-group">
78
-                        <div class="col-sm-6">
79
-                            <button type="button" class="btn btn-primary btn-block" id="button-filter">Map/Filter</button>
80
-                        </div>
81
-                        <div class="col-sm-6">
82
-                            <button type="button" class="btn btn-success btn-block" id="button-generate">Generate</button>
83
-                        </div>
84
-                    </div>
85
-                    <!--<span class="help-block">Generated cards open in a new tab or window.</span>-->
86
-                </form>
87
-                <h3>Page settings</h3>
88
-                <form role="form" class="form-horizontal">
89
-                    <div class="form-group">
90
-                        <label for="page-size" class="col-sm-4 control-label">Page Size</label>
91
-                        <div class="col-sm-8">
92
-                            <select class="form-control" id="page-size" data-option="page_size">
93
-                                <option value="A4" selected>A4</option>
94
-                                <option value="Letter">US letter</option>
95
-                                <option value="25x35">2.5&quot; x 3.5&quot;</option>
96
-                            </select>
97
-                        </div>
98
-                    </div>
99
-                    <div class="form-group">
100
-                        <label for="card-size" class="col-sm-4 control-label">Card Size</label>
101
-                        <div class="col-sm-8">
102
-                            <select class="form-control" id="card-size" data-option="card_size">
103
-                                <option value="225x35">2.25&quot; x 3.5&quot; (Bridge)</option>
104
-                                <option value="25x35" selected>2.5&quot; x 3.5&quot; (Poker)</option>
105
-                                <option value="35x50">3.5&quot; x 5.0&quot;</option>
106
-                                <option value="75x50">7.5&quot; x 5.0&quot;</option>
107
-                            </select>
108
-                        </div>
109
-                    </div>
110
-                    <div class="form-group">
111
-                        <label for="card-size" class="col-sm-4 control-label">Cards/page</label>
112
-                        <div class="col-sm-3">
113
-                            <input type="text" id="page-rows" class="form-control" data-option="page_rows" value="3">
114
-                        </div>
115
-                        <div class="col-sm-2">
116
-                            <p class="form-control-static">x</p>
117
-                        </div>
118
-                        <div class="col-sm-3">
119
-                            <input type="text" id="page-columns" class="form-control" data-option="page_columns" value="3">
120
-                        </div>
121
-                    </div>
122
-                    <div class="form-group">
123
-                        <label for="card-arrangement" class="col-sm-4 control-label">Arrangement</label>
124
-                        <div class="col-sm-8">
125
-                            <select class="form-control" id="card-arrangement" data-option="card_arrangement">
126
-                                <option value="doublesided" selected>Double sided printing</option>
127
-                                <option value="front_only">Front side only</option>
128
-                                <option value="side_by_side">Side by side</option>
129
-                            </select>
130
-                        </div>
131
-                    </div>
132
-                    <div class="form-group">
133
-                        <label for="foreground-color" class="col-sm-4 control-label">Front color</label>
134
-                        <div class="col-sm-8">
135
-                            <div class="input-group">
136
-                                <select id="foreground_color_selector" class="colorselector-data"></select>
137
-                                <input type="text" id="foreground-color" class="form-control" placeholder="Front page color" data-property="color" value="white">
138
-                            </div>
139
-                        </div>
140
-                    </div>
141
-                    <div class="form-group">
142
-                        <label for="background-color" class="col-sm-4 control-label">Back color</label>
143
-                        <div class="col-sm-8">
144
-                            <div class="input-group">
145
-                                <select id="background_color_selector" class="colorselector-data"></select>
146
-                                <input type="text" id="background-color" class="form-control" placeholder="Back page color" data-property="color" value="white">
147
-                            </div>
148
-                        </div>
149
-                    </div>
150
-                </form>
151
-                <h3>Default values</h3>
152
-                <form role="form" class="form-horizontal">
153
-                    <div class="form-group">
154
-                        <label for="small-icons" class="col-sm-2 control-label">Icon</label>
155
-                        <div class="col-sm-10">
156
-                            <div class="checkbox">
157
-                                <label>
158
-                                    <input type="checkbox" checked id="small-icons"> Use small front icons
159
-                                </label>
160
-                            </div>
161
-                        </div>
162
-                    </div>
163
-                    <div class="form-group">
164
-                        <label for="default-color" class="col-sm-2 control-label">Color</label>
165
-                        <div class="col-sm-10">
166
-                            <div class="input-group">
167
-                                <select id="default_color_selector" class="colorselector-data"></select>
168
-                                <input type="text" id="default-color" class="form-control" placeholder="Card color" data-property="color" value="black">
169
-                            </div>
170
-                        </div>
171
-                    </div>
172
-                    <div class="form-group">
173
-                        <label for="default-icon" class="col-sm-2 control-label">Icon</label>
174
-                        <div class="col-sm-10">
175
-                            <div class="input-group">
176
-                                <span class="input-group-btn">
177
-                                    <button class="btn btn-default icon-select-button" type="button">Search</button>
178
-                                </span>
179
-                                <input type="text" id="default-icon" class="form-control icon-list" placeholder="Icon name">
180
-                            </div>
181
-                        </div>
182
-                    </div>
183
-                    <div class="form-group">
184
-                        <label for="default-title-size" class="col-sm-2 control-label">Title</label>
185
-                        <div class="col-sm-10">
186
-                            <select class="form-control" id="default-title-size">
187
-                                <option value="16">16pt font</option>
188
-                                <option value="15">15pt font</option>
189
-                                <option value="14">14pt font</option>
190
-                                <option value="13" selected>13pt font</option>
191
-                                <option value="12">12pt font</option>
192
-                                <option value="11">11pt font</option>
193
-                                <option value="10">10pt font</option>
194
-                            </select>
195
-                        </div>
196
-                    </div>
197
-                    <div class="form-group">
198
-                        <div class="col-sm-6">
199
-                            <button type="button" class="btn btn-primary btn-block" id="button-apply-color">Apply color</button>
200
-                        </div>
201
-                        <div class="col-sm-6">
202
-                            <button type="button" class="btn btn-primary btn-block" id="button-apply-font">Apply title font</button>
203
-                        </div>
204
-                    </div>
205
-                    <div class="form-group">
206
-                        <div class="col-sm-6">
207
-                            <button type="button" class="btn btn-primary btn-block" id="button-apply-icon">Apply icon</button>
208
-                        </div>
209
-                        <div class="col-sm-6">
210
-                            <button type="button" class="btn btn-primary btn-block" id="button-apply-icon-back">Apply back icon</button>
211
-                        </div>
212
-                    </div>
213
-                </form>
214
-            </div>
215
-            <div class="col-md-12 col-lg-5">
216
-                <!--<h3>Card</h3>-->
217
-                <form class="form-horizontal" role="form">
218
-                    <div class="form-group">
219
-                        <label for="selected-card" class="col-sm-2 control-label">Deck</label>
220
-                        <div class="col-sm-10">
221
-                            <p class="form-control-static" id="total_card_count">Deck contains 0 cards.</p>
222
-                        </div>
223
-                    </div>
224
-                    <div class="form-group">
225
-                        <label for="selected-card" class="col-sm-2 control-label">Card</label>
226
-                        <div class="col-sm-10">
227
-                            <select class="form-control" id="selected-card"></select>
228
-                        </div>
229
-                    </div>
230
-                    <div class="form-group">
231
-                        <label class="col-sm-2 control-label"></label>
232
-                        <div class="col-sm-4">
233
-                            <button type="button" class="btn btn-danger btn-block" id="button-delete-card">Delete card</button>
234
-                        </div>
235
-                        <div class="col-sm-3">
236
-                            <button type="button" class="btn btn-primary btn-block" id="button-add-card">Add new card</button>
237
-                        </div>
238
-                        <div class="col-sm-3">
239
-                            <button type="button" class="btn btn-primary btn-block" id="button-duplicate-card">Duplicate card</button>
240
-                        </div>
241
-                    </div>
242
-                    <div class="form-group">
243
-                        <label for="card-title" class="col-sm-2 control-label">Name</label>
244
-                        <div class="col-sm-10">
245
-                            <input type="text" id="card-title" class="form-control" placeholder="Title">
246
-                        </div>
247
-                    </div>
248
-                    <div class="form-group">
249
-                        <label for="card-title-size" class="col-sm-2 control-label">Title</label>
250
-                        <div class="col-sm-10">
251
-                            <select class="form-control" id="card-title-size" data-property="title_size">
252
-                                <option value="" selected>default font</option>
253
-                                <option value="16">16pt font</option>
254
-                                <option value="15">15pt font</option>
255
-                                <option value="14">14pt font</option>
256
-                                <option value="13">13pt font</option>
257
-                                <option value="12">12pt font</option>
258
-                                <option value="11">11pt font</option>
259
-                                <option value="10">10pt font</option>
260
-                            </select>
261
-                        </div>
262
-                    </div>
263
-                    <div class="form-group">
264
-                        <label for="card-count" class="col-sm-2 control-label">Count</label>
265
-                        <div class="col-sm-10">
266
-                            <input type="number" id="card-count" class="form-control" placeholder="Count" data-property="count" value="1">
267
-                        </div>
268
-                    </div>
269
-                    <div class="form-group">
270
-                        <label for="card-tags" class="col-sm-2 control-label">Tags</label>
271
-                        <div class="col-sm-10">
272
-                            <input type="text" id="card-tags" class="form-control" placeholder="Tags">
273
-                        </div>
274
-                    </div>
275
-                    <div class="form-group">
276
-                        <label for="card-icon" class="col-sm-2 control-label">Icon</label>
277
-                        <div class="col-sm-10">
278
-                            <div class="input-group">
279
-                                <span class="input-group-btn">
280
-                                    <button class="btn btn-default icon-select-button" type="button">Search</button>
281
-                                </span>
282
-                                <input type="text" id="card-icon" class="form-control icon-list" placeholder="Default icon" data-property="icon">
283
-                            </div>
284
-                        </div>
285
-                    </div>
286
-                    <div class="form-group">
287
-                        <label for="card-icon-back" class="col-sm-2 control-label">Back icon</label>
288
-                        <div class="col-sm-10">
289
-                            <div class="input-group">
290
-                                <span class="input-group-btn">
291
-                                    <button class="btn btn-default icon-select-button" type="button">Search</button>
292
-                                </span>
293
-                                <input type="text" id="card-icon-back" class="form-control icon-list" placeholder="Same as front" data-property="icon_back">
294
-                            </div>
295
-                        </div>
296
-                    </div>
297
-                    <div class="form-group">
298
-                        <label for="card-color" class="col-sm-2 control-label">Color</label>
299
-                        <div class="col-sm-10">
300
-                            <div class="input-group">
301
-                                <select id="card_color_selector" class="colorselector-data"></select>
302
-                                <input type="text" id="card-color" class="form-control" placeholder="Default color" data-property="color">
303
-                            </div>
304
-                        </div>
305
-                    </div>
306
-                    <div class="form-group">
307
-                        <label for="card-contents" class="col-sm-2 control-label">Contents</label>
308
-                        <div class="col-sm-10">
309
-                            <textarea class="form-control" rows="14" id="card-contents" wrap="off"></textarea>
310
-                        </div>
311
-                    </div>
312
-                </form>
313
-            </div>
314
-            <div class="col-md-12 col-lg-4">
315
-                <!--<h3>Preview</h3>-->
316
-                <div id="preview-container" class="preview-container">
317
-                </div>
318
-            </div>
319
-        </div>
320
-    </div>
321
-    <!-- Modal -->
322
-    <div class="modal" id="print-modal" tabindex="-1" role="dialog">
323
-        <div class="modal-dialog">
324
-            <div class="modal-content">
325
-                <div class="modal-header">
326
-                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
327
-                    <h4 class="modal-title" id="myModalLabel">Printing generated cards</h4>
328
-                </div>
329
-                <div class="modal-body">
330
-                    <ul>
331
-                        <li>The generated cards open in a new tab or window. If you don't see any new tab or window, check your popup and script blockers. If that does not help, try disabling all addons.</li>
332
-                        <li>Make sure you enable the printing of background images and colors in your browser.</li>
333
-                        <li>Make sure your printer uses the correct paper size (same as in the editor).</li>
334
-                        <li>Enable double sided printing (flip on long edge).</li>
335
-                        <li>Do not scale the document to fit the page. Print at original size.</li>
336
-                        <li>
337
-                            Some printers are not very precise (pages print slightly shifted or rotated) and the cards will not line up with the card backs.
338
-                            If this is the case, there's not much you can do.
339
-                            Try making the page background the same color as the cards, so that you won't get any white edges on the card.
340
-                            If that does not help, try a different printer or print single-sided.
341
-                        </li>
342
-                    </ul>
343
-                </div>
344
-                <div class="modal-footer">
345
-                    <button type="button" class="btn btn-default" data-dismiss="modal">Ok, got it</button>
346
-                </div>
347
-            </div>
348
-        </div>
349
-    </div>
350
-    <!-- Modal (Info)-->
351
-    <div class="modal" id="help-modal" tabindex="-1" role="dialog">
352
-        <div class="modal-dialog">
353
-            <div class="modal-content">
354
-                <div class="modal-header">
355
-                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
356
-                    <h4 class="modal-title" id="myModalLabel">RGP card generator</h4>
357
-                </div>
358
-                <div class="modal-body">
359
-                    <ul>
360
-                        <li>Some RPG systems are protected by copyright. Even if some spell/item data is freely available, it does not mean you may redistribute cards containing such data.</li>
361
-                        <li>If you find a bug or have a feature request, post them at the <a href="https://github.com/crobi/rpg-cards/issues">Github project site</a>.</li>
362
-                        <li>
363
-                            The user interface consists of three columns: 
364
-                            <img alt="help" src="img/help/help.png" style="max-width:95%; display:block; padding: 5px; margin: 10px 0 10px 0; border: 1px solid #ebebeb; box-shadow: 0 0 5px #ebebeb;"/>
365
-                            The left column contains the menu and global settings.
366
-                            In the middle menu, you can select and edit individual cards.
367
-                            The right column contains a preview of the selected card.
368
-                        </li>
369
-                        <li>
370
-                            To use the generator, either load the sample card deck ("Load sample"),
371
-                            load a card deck from a file ("Load from file"),
372
-                            or manually add some cards.
373
-                            When you're done, click on "Generate" to generate a document with all your cards, which can then be printed.
374
-                        </li>
375
-                        <li>
376
-                            To learn about what features are available to define a card, inspect the sample deck or
377
-                            read some basic documentation at the <a href="http://crobi.github.io/rpg-cards/">project site</a>.
378
-                        </li>
379
-                    </ul>
380
-                </div>
381
-                <div class="modal-footer">
382
-                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
383
-                </div>
384
-            </div>
385
-        </div>
386
-    </div>
387
-    <!-- Modal (Sort)-->
388
-    <div class="modal" id="sort-modal" tabindex="-1" role="dialog">
389
-        <div class="modal-dialog">
390
-            <div class="modal-content">
391
-                <div class="modal-header">
392
-                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
393
-                    <h4 class="modal-title" id="myModalLabel">Sort cards</h4>
394
-                </div>
395
-                <div class="modal-body">
396
-                    <p>
397
-                        Enter the comparison function below.
398
-                        The comparison function is a block of javascript code.
399
-                        Return -1 if card_a should appear before card_b.
400
-                    </p>
401
-                    <textarea class="form-control" rows="10" id="sort-function" wrap="off">
402
-if (card_a.title < card_b.title) {
403
-    return -1;
404
-}
405
-else if (card_a.title > card_b.title) {
406
-    return 1;
407
-}
408
-else {
409
-    return 0;
410
-}
411
-                    </textarea>
412
-                </div>
413
-                <div class="modal-footer">
414
-                    <button type="button" class="btn btn-default" id="sort-execute">Sort</button>
415
-                </div>
416
-            </div>
417
-        </div>
418
-    </div>
419
-    <!-- Modal (Filter)-->
420
-    <div class="modal" id="filter-modal" tabindex="-1" role="dialog">
421
-        <div class="modal-dialog">
422
-            <div class="modal-content">
423
-                <div class="modal-header">
424
-                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
425
-                    <h4 class="modal-title" id="myModalLabel">Filter/map cards</h4>
426
-                </div>
427
-                <div class="modal-body">
428
-                    <p>
429
-                        Enter code below that will be executed for each card in the deck.
430
-                        Return false to remove the current card from the deck.
431
-                    </p>
432
-                    <textarea class="form-control" rows="10" id="filter-function" wrap="off">
433
-// Color all spell cards yellow
434
-if (card_has_tag(card, "spell")) {
435
-    card.color = "yellow";
436
-}
437
-
438
-// Remove all creature cards
439
-if (card_has_tag(card, "creature")) {
440
-    return false;
441
-}
442
-                    </textarea>
443
-                </div>
444
-                <div class="modal-footer">
445
-                    <button type="button" class="btn btn-default" id="filter-execute">Filter</button>
446
-                </div>
447
-            </div>
448
-        </div>
449
-    </div>
450
-</body>
451
-</html>

BIN
generator/img/ace.png Dosyayı Görüntüle


BIN
generator/img/acid-blob.png Dosyayı Görüntüle


BIN
generator/img/acid-tube.png Dosyayı Görüntüle


BIN
generator/img/acid.png Dosyayı Görüntüle


BIN
generator/img/acorn.png Dosyayı Görüntüle


BIN
generator/img/aerial-signal.png Dosyayı Görüntüle


BIN
generator/img/aerosol.png Dosyayı Görüntüle


BIN
generator/img/afterburn.png Dosyayı Görüntüle


BIN
generator/img/alien-skull.png Dosyayı Görüntüle


BIN
generator/img/alien-stare.png Dosyayı Görüntüle


BIN
generator/img/all-for-one.png Dosyayı Görüntüle


BIN
generator/img/alligator-clip.png Dosyayı Görüntüle


BIN
generator/img/ammo-box.png Dosyayı Görüntüle


BIN
generator/img/ammonite-fossil.png Dosyayı Görüntüle


BIN
generator/img/ammonite.png Dosyayı Görüntüle


BIN
generator/img/amphora.png Dosyayı Görüntüle


BIN
generator/img/anatomy.png Dosyayı Görüntüle


BIN
generator/img/anchor.png Dosyayı Görüntüle


BIN
generator/img/andromeda-chain.png Dosyayı Görüntüle


BIN
generator/img/angel-outfit.png Dosyayı Görüntüle


BIN
generator/img/angel-wings.png Dosyayı Görüntüle


BIN
generator/img/angler-fish.png Dosyayı Görüntüle


BIN
generator/img/angular-spider.png Dosyayı Görüntüle


BIN
generator/img/animal-hide.png Dosyayı Görüntüle


BIN
generator/img/animal-skull.png Dosyayı Görüntüle


BIN
generator/img/ankh.png Dosyayı Görüntüle


BIN
generator/img/anthem.png Dosyayı Görüntüle


BIN
generator/img/anvil-impact.png Dosyayı Görüntüle


BIN
generator/img/anvil.png Dosyayı Görüntüle


BIN
generator/img/apple-maggot.png Dosyayı Görüntüle


BIN
generator/img/apple-seeds.png Dosyayı Görüntüle


BIN
generator/img/aquarius.png Dosyayı Görüntüle


BIN
generator/img/archery-target.png Dosyayı Görüntüle


BIN
generator/img/architect-mask.png Dosyayı Görüntüle


BIN
generator/img/arcing-bolt.png Dosyayı Görüntüle


BIN
generator/img/arena.png Dosyayı Görüntüle


BIN
generator/img/aries.png Dosyayı Görüntüle


BIN
generator/img/armadillo-tail.png Dosyayı Görüntüle


BIN
generator/img/armoured-shell.png Dosyayı Görüntüle


BIN
generator/img/arrow-cluster.png Dosyayı Görüntüle


BIN
generator/img/arrow-flights.png Dosyayı Görüntüle


BIN
generator/img/arrowed.png Dosyayı Görüntüle


BIN
generator/img/arrowhead.png Dosyayı Görüntüle


BIN
generator/img/arrows-shield.png Dosyayı Görüntüle


BIN
generator/img/arson.png Dosyayı Görüntüle


BIN
generator/img/artificial-hive.png Dosyayı Görüntüle


BIN
generator/img/at-sea.png Dosyayı Görüntüle


BIN
generator/img/atomic-slashes.png Dosyayı Görüntüle


BIN
generator/img/aubergine.png Dosyayı Görüntüle


BIN
generator/img/aura.png Dosyayı Görüntüle


BIN
generator/img/auto-repair.png Dosyayı Görüntüle


BIN
generator/img/autogun.png Dosyayı Görüntüle


BIN
generator/img/awareness.png Dosyayı Görüntüle


BIN
generator/img/axe-in-stump.png Dosyayı Görüntüle


BIN
generator/img/axe-swing.png Dosyayı Görüntüle


BIN
generator/img/back-forth.png Dosyayı Görüntüle


BIN
generator/img/back-pain.png Dosyayı Görüntüle


BIN
generator/img/backstab.png Dosyayı Görüntüle


BIN
generator/img/backup.png Dosyayı Görüntüle


BIN
generator/img/balloons.png Dosyayı Görüntüle


BIN
generator/img/bandage-roll.png Dosyayı Görüntüle


BIN
generator/img/bandaged.png Dosyayı Görüntüle


BIN
generator/img/barbed-arrow.png Dosyayı Görüntüle


BIN
generator/img/barbed-spear.png Dosyayı Görüntüle


BIN
generator/img/barbed-wire.png Dosyayı Görüntüle


BIN
generator/img/barbute.png Dosyayı Görüntüle


BIN
generator/img/barefoot.png Dosyayı Görüntüle


BIN
generator/img/bat-blade.png Dosyayı Görüntüle


BIN
generator/img/bat-wing.png Dosyayı Görüntüle


BIN
generator/img/battered-axe.png Dosyayı Görüntüle


BIN
generator/img/batteries.png Dosyayı Görüntüle


BIN
generator/img/battery-0.png Dosyayı Görüntüle


BIN
generator/img/battery-100.png Dosyayı Görüntüle


BIN
generator/img/battery-25.png Dosyayı Görüntüle


BIN
generator/img/battery-50.png Dosyayı Görüntüle


BIN
generator/img/battery-75.png Dosyayı Görüntüle


BIN
generator/img/battery-minus.png Dosyayı Görüntüle


BIN
generator/img/battery-pack-alt.png Dosyayı Görüntüle


BIN
generator/img/battery-pack.png Dosyayı Görüntüle


BIN
generator/img/battery-plus.png Dosyayı Görüntüle


BIN
generator/img/battle-axe.png Dosyayı Görüntüle


BIN
generator/img/battle-gear.png Dosyayı Görüntüle


BIN
generator/img/batwing-emblem.png Dosyayı Görüntüle


BIN
generator/img/beam-wake.png Dosyayı Görüntüle


BIN
generator/img/beams-aura.png Dosyayı Görüntüle


BIN
generator/img/beanstalk.png Dosyayı Görüntüle


BIN
generator/img/beard.png Dosyayı Görüntüle


BIN
generator/img/beast-eye.png Dosyayı Görüntüle


+ 0
- 0
generator/img/bee.png Dosyayı Görüntüle


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor

Loading…
İptal
Kaydet