forked from davidrthorn/cross_reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.html
188 lines (179 loc) · 5.87 KB
/
sidebar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!--
The html for the configuration sidebar.
-->
<base target='_top'>
<link rel='stylesheet' href='https://ssl.gstatic.com/docs/script/css/add-ons1.css'>
<?!= include('sidebar-style'); ?>
<div class='main-wrapper'>
<article class='category'>
<div class='category__button' id='delete-category'>
+
</div>
<div class='category__button' id='add-category'>
+
</div>
<select id='category-select'>
</select>
<input id='custom-category-name' maxlength='20' placeholder='Custom name'>
</article>
<article class='details'>
<div id='lab-cover'>
<p>
Add footnote label to any word<br/>within a footnote.
</p>
<p>
No footnote text is replaced<br/>or styled.
</div>
<div class='main-section' id='lab'>
<div class='input-row'>
<h2>Labels</h2>
</div>
<div class='input-row'>
<div class='input-row__name'>
Code
</div>
<div class='input-row__value'>
<div class='hash-input'>
<div id='lab_code'></div>
<div id='cs_lab_code'>
# <input id='lab_code_entry' maxlength='5' type='text' value=''> <span id='taken'></span>
</div>
</div>
</div>
</div>
<div class='input-row'>
<div class='input-row__name'>
Text
</div>
<div class='input-row__value'>
<input id='lab_text' type='text'>
</div>
</div>
<div class='input-row'>
<div class='input-row__name'>
Style
</div>
<div class='input-row__value'>
<button class='style-button bold' id='lab_bold'>B</button>
<button class='style-button italic' id='lab_italic'>I</button>
<button class='style-button underline' id='lab_underline'>U</button>
<div class='color-button'><div class='color-icon'>A</div></div>
<div class='color-pane color-hide' id='lab-color-pane'>
<div>#</div>
<input class='color-code' maxlength='6' placeholder='Auto'/>
<div class='clone-color'>✏</div>
<div class='confirm-color'>✔</div>
<div class='cancel-color'>❌</div>
</div>
<div class='color-triangle color-hide'>▼</div>
</div>
</div>
<div class='preview'>
<div class='preview__internal'>
<div class='preview__line'>
<div class='preview__text--shaded'>
Rendered
</div>
<div class='preview__text'>
figure 1
</div>
<div class='preview__text--shaded'>
. Early human migration route out of Africa
</div>
</div>
<div class='preview__line'>
<div class='preview__text'>
Figure 1
</div>
<div class='preview__text--shaded'>
. Early human migration route out of Africa
</div>
</div>
</div>
</div>
</div>
<div class='main-section' id='ref'>
<div class='input-row'>
<h2>References</h2>
</div>
<div class='input-row'>
<div class='input-row__name'>
Code
</div>
<div class='input-row__value' id='ref_code'>
<em>#</em>
</div>
</div>
<div class='input-row'>
<div class='input-row__name'>
Text
</div>
<div class='input-row__value'>
<input id='ref_text' type='text'>
</div>
</div>
<div class='input-row'>
<div class='input-row__name'>
Style
</div>
<div class='input-row__value'>
<button class='style-button bold' id='ref_bold'>B</button>
<button class='style-button italic' id='ref_italic'>I</button>
<button class='style-button underline' id='ref_underline'>U</button>
<div class='color-button'><div class='color-icon'>A</div></div>
<div class='color-pane color-hide' id='ref-color-pane'>
<div>#</div>
<input class='color-code' maxlength='6' placeholder='Auto'/>
<div class='clone-color'>✏</div>
<div class='confirm-color'>✔</div>
<div class='cancel-color'>❌</div>
</div>
<div class='color-triangle color-hide'>▼</div>
</div>
</div>
<div class='preview'>
<div class='preview__internal'>
<div class='preview__line'>
<div class='preview__text--shaded'>
the line in
</div>
<div class='preview__text'>
figure 1
</div>
<div class='preview__text--shaded'>
represents the path of human
</div>
</div>
<div class='preview__line'>
<div class='preview__text--shaded'>
to Ethiopia.
</div>
<div class='preview__text'>
Figure 1
</div>
<div class='preview__text--shaded'>
is accurate to within 100 miles
</div>
</div>
</div>
</div>
</div>
</article>
<article class='actions'>
<div class='actions__row'>
<button class='actions__button' id='save-defaults'>Save defaults</button>
<button class='actions__button' id='restore-defaults'>Restore defaults</button>
</div>
<div class='actions__row'>
<button class='actions__button blue' id='save-apply'>Save and apply</button>
<button class='actions__button' id='cancel'>Cancel</button>
</div>
<div class='actions__row'>
<button class='actions__button blue' id='save-custom' disabled>Save and apply</button>
<button class='actions__button' id='cancel-custom'>Cancel</button>
</div>
</article>
</div>
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'>
</script>
<?!= include('sidebar-js'); ?>