|
@@ -18,16 +18,18 @@
|
18
|
18
|
<script type="text/javascript" defer src="js/ui.js"></script>
|
19
|
19
|
<!-- CSS -->
|
20
|
20
|
<link href="css/ui.css" rel="stylesheet" />
|
|
21
|
+ <link href="css/cards.css" rel="stylesheet" />
|
|
22
|
+ <link href="css/icons.css" rel="stylesheet" />
|
|
23
|
+ <link href="css/custom-icons.css" rel="stylesheet" />
|
21
|
24
|
</head>
|
22
|
25
|
<body>
|
23
|
|
- <div class="container">
|
|
26
|
+ <div class="container-fluid">
|
24
|
27
|
<h1 class="page-header">RPG card generator</h1>
|
25
|
28
|
<div class="row">
|
26
|
29
|
<div class="alert alert-danger alert-dismissible" role="alert">
|
27
|
30
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
28
|
31
|
<strong>Experimental user interface!</strong>
|
29
|
|
- This user interface is experimental and largely non-functional.
|
30
|
|
- The only thing that works right now are the "load sample cards", "load cards from file", "save cards", and "generate cards" buttons.
|
|
32
|
+ This user interface is experimental and some UI elements are non-functional.
|
31
|
33
|
</div>
|
32
|
34
|
<div class="alert alert-warning alert-dismissible" role="alert">
|
33
|
35
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
@@ -35,26 +37,21 @@
|
35
|
37
|
Some RPG systems are protected by copyright.
|
36
|
38
|
Even if some spell/item data is freely available, it does not mean you may redistribute cards containing such data.
|
37
|
39
|
</div>
|
38
|
|
- <div class="alert alert-info alert-dismissible" role="alert">
|
39
|
|
- <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
40
|
|
- If you need help on how to use this tool, go visit <a href="http://crobi.github.io/rpg-cards/" class="alert-link">http://crobi.github.io/rpg-cards/</a>.
|
41
|
|
- </div>
|
42
|
40
|
</div>
|
43
|
|
- <div class="row">
|
44
|
|
- <div class="col-md-4">
|
|
41
|
+ <div class="row row-eq-height">
|
|
42
|
+ <div class="col-md-3">
|
45
|
43
|
<h3>Menu</h3>
|
46
|
44
|
<form role="form">
|
47
|
45
|
<span class="help-block" id="total_card_count">Deck contains 0 cards.</span>
|
48
|
46
|
<input type="file" id="file-load" name="files[]" multiple class="form-control" style="display:none" />
|
49
|
47
|
<a href="" id="file-save-link" style="display:none">Hidden download link</a>
|
|
48
|
+ <button type="button" class="btn btn-info btn-block" id="button-help">Open Help</button>
|
50
|
49
|
<button type="button" class="btn btn-primary btn-block" id="button-load">Load cards from file</button>
|
51
|
|
- <button type="button" class="btn btn-primary btn-block" id="button-save">Save cards</button>
|
|
50
|
+ <button type="button" class="btn btn-primary btn-block" id="button-save">Save cards to file</button>
|
52
|
51
|
<button type="button" class="btn btn-primary btn-block" id="button-load-sample">Load sample cards</button>
|
53
|
52
|
<button type="button" class="btn btn-success btn-block" id="button-generate">Generate cards</button>
|
54
|
53
|
<span class="help-block">Note: generated cards open in a new tab or window.</span>
|
55
|
54
|
</form>
|
56
|
|
- </div>
|
57
|
|
- <div class="col-md-4">
|
58
|
55
|
<h3>Global options</h3>
|
59
|
56
|
<form role="form">
|
60
|
57
|
<div class="checkbox">
|
|
@@ -84,22 +81,13 @@
|
84
|
81
|
</div>
|
85
|
82
|
</form>
|
86
|
83
|
</div>
|
87
|
|
- <div class="col-md-4">
|
88
|
|
- <h3>Card list</h3>
|
|
84
|
+ <div class="col-md-5">
|
|
85
|
+ <h3>Card</h3>
|
89
|
86
|
<form role="form">
|
90
|
87
|
<div class="form-group">
|
91
|
88
|
<label for="selected_card">Selected card</label>
|
92
|
89
|
<select class="form-control" id="selected_card"></select>
|
93
|
90
|
</div>
|
94
|
|
- <button type="button" class="btn btn-primary btn-block" id="button-delete-card">Delete selected card</button>
|
95
|
|
- <button type="button" class="btn btn-primary btn-block" id="button-add-card">Add new card</button>
|
96
|
|
- </form>
|
97
|
|
- </div>
|
98
|
|
- </div>
|
99
|
|
- <div class="row">
|
100
|
|
- <div class="col-md-8">
|
101
|
|
- <h3>Card</h3>
|
102
|
|
- <form role="form">
|
103
|
91
|
<div class="form-group">
|
104
|
92
|
<label for="card_name">Name</label>
|
105
|
93
|
<input type="text" id="card_title" class="form-control" placeholder="Title" readonly>
|
|
@@ -118,15 +106,16 @@
|
118
|
106
|
<div class="form-group">
|
119
|
107
|
<label for="card_contents">Contents</label>
|
120
|
108
|
<textarea class="form-control" rows="10" id="card_contents" readonly wrap="off">
|
121
|
|
-subtitle | Subtitle text
|
122
|
|
-rule
|
123
|
|
-property | Name | Text
|
124
|
109
|
</textarea>
|
125
|
110
|
</div>
|
|
111
|
+ <button type="button" class="btn btn-primary btn-block" id="button-delete-card">Delete selected card</button>
|
|
112
|
+ <button type="button" class="btn btn-primary btn-block" id="button-add-card">Add new card</button>
|
126
|
113
|
</form>
|
127
|
114
|
</div>
|
128
|
115
|
<div class="col-md-4">
|
129
|
116
|
<h3>Preview</h3>
|
|
117
|
+ <div id="preview-container">
|
|
118
|
+ </div>
|
130
|
119
|
</div>
|
131
|
120
|
</div>
|
132
|
121
|
</div>
|