|  | @@ -1,4 +1,4 @@
 | 
		
	
		
			
			| 1 |  | -<!DOCTYPE html>
 | 
		
	
		
			
			|  | 1 | +<!DOCTYPE html>
 | 
		
	
		
			
			| 2 | 2 |  <html lang="en">
 | 
		
	
		
			
			| 3 | 3 |  <head>
 | 
		
	
		
			
			| 4 | 4 |      <title>RPG cards</title>
 | 
		
	
	
		
			
			|  | @@ -24,6 +24,7 @@
 | 
		
	
		
			
			| 24 | 24 |      <!-- CSS -->
 | 
		
	
		
			
			| 25 | 25 |      <link href="css/ui.css" rel="stylesheet" />
 | 
		
	
		
			
			| 26 | 26 |      <link href="css/cards.css" rel="stylesheet" />
 | 
		
	
		
			
			|  | 27 | +    <link href="css/card-size.css" rel="stylesheet" />
 | 
		
	
		
			
			| 27 | 28 |      <link href="css/icons.css" rel="stylesheet" />
 | 
		
	
		
			
			| 28 | 29 |      <link href="css/custom-icons.css" rel="stylesheet" />
 | 
		
	
		
			
			| 29 | 30 |      <!-- Fonts -->
 | 
		
	
	
		
			
			|  | @@ -81,6 +82,41 @@
 | 
		
	
		
			
			| 81 | 82 |                      </div>
 | 
		
	
		
			
			| 82 | 83 |                      <span class="help-block">Generated cards open in a new tab or window.</span>
 | 
		
	
		
			
			| 83 | 84 |                  </form>
 | 
		
	
		
			
			|  | 85 | +                <h3>Sizes</h3>
 | 
		
	
		
			
			|  | 86 | +                <form role="form" class="form-horizontal">
 | 
		
	
		
			
			|  | 87 | +                    <div class="form-group">
 | 
		
	
		
			
			|  | 88 | +                        <label for="page-size" class="col-sm-4 control-label">Page</label>
 | 
		
	
		
			
			|  | 89 | +                        <div class="col-sm-8">
 | 
		
	
		
			
			|  | 90 | +                            <select class="form-control" id="page-size" data-option="page_size">
 | 
		
	
		
			
			|  | 91 | +                                <option value="A4" selected>A4</option>
 | 
		
	
		
			
			|  | 92 | +                                <option value="Letter">US letter</option>
 | 
		
	
		
			
			|  | 93 | +                            </select>
 | 
		
	
		
			
			|  | 94 | +                        </div>
 | 
		
	
		
			
			|  | 95 | +                    </div>
 | 
		
	
		
			
			|  | 96 | +                    <div class="form-group">
 | 
		
	
		
			
			|  | 97 | +                        <label for="card-size" class="col-sm-4 control-label">Card</label>
 | 
		
	
		
			
			|  | 98 | +                        <div class="col-sm-8">
 | 
		
	
		
			
			|  | 99 | +                            <select class="form-control" id="card-size" data-option="card_size">
 | 
		
	
		
			
			|  | 100 | +                                <option value="225x35">2.25" x 3.5" (Bridge)</option>
 | 
		
	
		
			
			|  | 101 | +                                <option value="25x35" selected>2.5" x 3.5" (Poker)</option>
 | 
		
	
		
			
			|  | 102 | +                                <option value="35x50">3.5" x 5.0"</option>
 | 
		
	
		
			
			|  | 103 | +                                <option value="75x50">7.5" x 5.0"</option>
 | 
		
	
		
			
			|  | 104 | +                            </select>
 | 
		
	
		
			
			|  | 105 | +                        </div>
 | 
		
	
		
			
			|  | 106 | +                    </div>
 | 
		
	
		
			
			|  | 107 | +                    <div class="form-group">
 | 
		
	
		
			
			|  | 108 | +                        <label for="card-size" class="col-sm-4 control-label">Cards/page</label>
 | 
		
	
		
			
			|  | 109 | +                        <div class="col-sm-3">
 | 
		
	
		
			
			|  | 110 | +                            <input type="text" id="page-rows" class="form-control" data-option="page_rows" value="3">
 | 
		
	
		
			
			|  | 111 | +                        </div>
 | 
		
	
		
			
			|  | 112 | +                        <div class="col-sm-2">
 | 
		
	
		
			
			|  | 113 | +                            <p class="form-control-static">x</p>
 | 
		
	
		
			
			|  | 114 | +                        </div>
 | 
		
	
		
			
			|  | 115 | +                        <div class="col-sm-3">
 | 
		
	
		
			
			|  | 116 | +                            <input type="text" id="page-columns" class="form-control" data-option="page_columns" value="3">
 | 
		
	
		
			
			|  | 117 | +                        </div>
 | 
		
	
		
			
			|  | 118 | +                    </div>
 | 
		
	
		
			
			|  | 119 | +                </form>
 | 
		
	
		
			
			| 84 | 120 |                  <h3>Default values</h3>
 | 
		
	
		
			
			| 85 | 121 |                  <form role="form" class="form-horizontal">
 | 
		
	
		
			
			| 86 | 122 |                      <div class="form-group">
 | 
		
	
	
		
			
			|  | @@ -117,10 +153,13 @@
 | 
		
	
		
			
			| 117 | 153 |                          <label for="default-title-size" class="col-sm-2 control-label">Title</label>
 | 
		
	
		
			
			| 118 | 154 |                          <div class="col-sm-10">
 | 
		
	
		
			
			| 119 | 155 |                              <select class="form-control" id="default-title-size">
 | 
		
	
		
			
			| 120 |  | -                                <option value="big">big font</option>
 | 
		
	
		
			
			| 121 |  | -                                <option value="normal" selected>normal font</option>
 | 
		
	
		
			
			| 122 |  | -                                <option value="small">small font</option>
 | 
		
	
		
			
			| 123 |  | -                                <option value="tiny">tiny font</option>
 | 
		
	
		
			
			|  | 156 | +                                <option value="16">16pt font</option>
 | 
		
	
		
			
			|  | 157 | +                                <option value="15">15pt font</option>
 | 
		
	
		
			
			|  | 158 | +                                <option value="14">14pt font</option>
 | 
		
	
		
			
			|  | 159 | +                                <option value="13" selected>13pt font</option>
 | 
		
	
		
			
			|  | 160 | +                                <option value="12">12pt font</option>
 | 
		
	
		
			
			|  | 161 | +                                <option value="11">11pt font</option>
 | 
		
	
		
			
			|  | 162 | +                                <option value="10">10pt font</option>
 | 
		
	
		
			
			| 124 | 163 |                              </select>
 | 
		
	
		
			
			| 125 | 164 |                          </div>
 | 
		
	
		
			
			| 126 | 165 |                      </div>
 | 
		
	
	
		
			
			|  | @@ -175,10 +214,25 @@
 | 
		
	
		
			
			| 175 | 214 |                              <input type="text" id="card-title" class="form-control" placeholder="Title">
 | 
		
	
		
			
			| 176 | 215 |                          </div>
 | 
		
	
		
			
			| 177 | 216 |                      </div>
 | 
		
	
		
			
			|  | 217 | +                    <div class="form-group">
 | 
		
	
		
			
			|  | 218 | +                        <label for="card-title-size" class="col-sm-2 control-label">Title</label>
 | 
		
	
		
			
			|  | 219 | +                        <div class="col-sm-10">
 | 
		
	
		
			
			|  | 220 | +                            <select class="form-control" id="card-title-size" data-property="title_size">
 | 
		
	
		
			
			|  | 221 | +                                <option value="" selected>default font</option>
 | 
		
	
		
			
			|  | 222 | +                                <option value="16">16pt font</option>
 | 
		
	
		
			
			|  | 223 | +                                <option value="15">15pt font</option>
 | 
		
	
		
			
			|  | 224 | +                                <option value="14">14pt font</option>
 | 
		
	
		
			
			|  | 225 | +                                <option value="13">13pt font</option>
 | 
		
	
		
			
			|  | 226 | +                                <option value="12">12pt font</option>
 | 
		
	
		
			
			|  | 227 | +                                <option value="11">11pt font</option>
 | 
		
	
		
			
			|  | 228 | +                                <option value="10">10pt font</option>
 | 
		
	
		
			
			|  | 229 | +                            </select>
 | 
		
	
		
			
			|  | 230 | +                        </div>
 | 
		
	
		
			
			|  | 231 | +                    </div>
 | 
		
	
		
			
			| 178 | 232 |                      <div class="form-group">
 | 
		
	
		
			
			| 179 | 233 |                          <label for="card-count" class="col-sm-2 control-label">Count</label>
 | 
		
	
		
			
			| 180 | 234 |                          <div class="col-sm-10">
 | 
		
	
		
			
			| 181 |  | -                            <input type="number" id="card-count" class="form-control" placeholder="Count" data-property="count">
 | 
		
	
		
			
			|  | 235 | +                            <input type="number" id="card-count" class="form-control" placeholder="Count" data-property="count" value="1">
 | 
		
	
		
			
			| 182 | 236 |                          </div>
 | 
		
	
		
			
			| 183 | 237 |                      </div>
 | 
		
	
		
			
			| 184 | 238 |                      <div class="form-group">
 | 
		
	
	
		
			
			|  | @@ -188,7 +242,7 @@
 | 
		
	
		
			
			| 188 | 242 |                                  <span class="input-group-btn">
 | 
		
	
		
			
			| 189 | 243 |                                      <button class="btn btn-default icon-select-button" type="button">Search</button>
 | 
		
	
		
			
			| 190 | 244 |                                  </span>
 | 
		
	
		
			
			| 191 |  | -                                <input type="text" id="card-icon" class="form-control icon-list" placeholder="Icon name (default icon if empty)" data-property="icon">
 | 
		
	
		
			
			|  | 245 | +                                <input type="text" id="card-icon" class="form-control icon-list" placeholder="Default icon" data-property="icon">
 | 
		
	
		
			
			| 192 | 246 |                              </div>
 | 
		
	
		
			
			| 193 | 247 |                          </div>
 | 
		
	
		
			
			| 194 | 248 |                      </div>
 | 
		
	
	
		
			
			|  | @@ -199,7 +253,7 @@
 | 
		
	
		
			
			| 199 | 253 |                                  <span class="input-group-btn">
 | 
		
	
		
			
			| 200 | 254 |                                      <button class="btn btn-default icon-select-button" type="button">Search</button>
 | 
		
	
		
			
			| 201 | 255 |                                  </span>
 | 
		
	
		
			
			| 202 |  | -                                <input type="text" id="card-icon-back" class="form-control icon-list" placeholder="Icon name (same as front if empty)" data-property="icon_back">
 | 
		
	
		
			
			|  | 256 | +                                <input type="text" id="card-icon-back" class="form-control icon-list" placeholder="Same as front" data-property="icon_back">
 | 
		
	
		
			
			| 203 | 257 |                              </div>
 | 
		
	
		
			
			| 204 | 258 |                          </div>
 | 
		
	
		
			
			| 205 | 259 |                      </div>
 | 
		
	
	
		
			
			|  | @@ -208,7 +262,7 @@
 | 
		
	
		
			
			| 208 | 262 |                          <div class="col-sm-10">
 | 
		
	
		
			
			| 209 | 263 |                              <div class="input-group">
 | 
		
	
		
			
			| 210 | 264 |                                  <select id="card_color_selector" class="colorselector-data"></select>
 | 
		
	
		
			
			| 211 |  | -                                <input type="text" id="card-color" class="form-control" placeholder="Card color (default color if empty)" data-property="color">
 | 
		
	
		
			
			|  | 265 | +                                <input type="text" id="card-color" class="form-control" placeholder="Default color" data-property="color">
 | 
		
	
		
			
			| 212 | 266 |                              </div>
 | 
		
	
		
			
			| 213 | 267 |                          </div>
 | 
		
	
		
			
			| 214 | 268 |                      </div>
 | 
		
	
	
		
			
			|  | @@ -227,5 +281,31 @@
 | 
		
	
		
			
			| 227 | 281 |              </div>
 | 
		
	
		
			
			| 228 | 282 |          </div>
 | 
		
	
		
			
			| 229 | 283 |      </div>
 | 
		
	
		
			
			|  | 284 | +    <!-- Modal -->
 | 
		
	
		
			
			|  | 285 | +    <div class="modal" id="print-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 | 
		
	
		
			
			|  | 286 | +        <div class="modal-dialog">
 | 
		
	
		
			
			|  | 287 | +            <div class="modal-content">
 | 
		
	
		
			
			|  | 288 | +                <div class="modal-header">
 | 
		
	
		
			
			|  | 289 | +                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
 | 
		
	
		
			
			|  | 290 | +                    <h4 class="modal-title" id="myModalLabel">Printing generated cards</h4>
 | 
		
	
		
			
			|  | 291 | +                </div>
 | 
		
	
		
			
			|  | 292 | +                <div class="modal-body">
 | 
		
	
		
			
			|  | 293 | +                    <ul>
 | 
		
	
		
			
			|  | 294 | +                        <li>The generated cards open in a new tab or window. If you don't see any new tab or window, check your popup blocker.</li>
 | 
		
	
		
			
			|  | 295 | +                        <li>Make sure to use the correct paper size (same as in the editor).</li>
 | 
		
	
		
			
			|  | 296 | +                        <li>Enable double sided printing (flip on long edge).</li>
 | 
		
	
		
			
			|  | 297 | +                        <li>Do not scale the document to fit the page.</li>
 | 
		
	
		
			
			|  | 298 | +                        <li>
 | 
		
	
		
			
			|  | 299 | +                            Some printers are not very precise (pages print slightly shifted or rotated) and the cards will not line up with the card backs.
 | 
		
	
		
			
			|  | 300 | +                            If this is the case, there's nothing you can do. Try a different printer or print single-sided.
 | 
		
	
		
			
			|  | 301 | +                        </li>
 | 
		
	
		
			
			|  | 302 | +                    </ul>
 | 
		
	
		
			
			|  | 303 | +                </div>
 | 
		
	
		
			
			|  | 304 | +                <div class="modal-footer">
 | 
		
	
		
			
			|  | 305 | +                    <button type="button" class="btn btn-default" data-dismiss="modal">Ok, got it</button>
 | 
		
	
		
			
			|  | 306 | +                </div>
 | 
		
	
		
			
			|  | 307 | +            </div>
 | 
		
	
		
			
			|  | 308 | +        </div>
 | 
		
	
		
			
			|  | 309 | +    </div>
 | 
		
	
		
			
			| 230 | 310 |  </body>
 | 
		
	
		
			
			| 231 | 311 |  </html>
 |