-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
127 lines (114 loc) · 3.2 KB
/
options.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>IRS-990PF-Viewer Settings</title>
<style type="text/css">
body {
font-family:'Lucida Grande', arial, sans-serif;
font-size:12px;
color:#000;
background:#fff;
margin:0;
padding:30px;
line-height:1.4;
}
h1 {
font-size:25px;
font-weight:normal;
margin-top:0;
margin-bottom:1.5em;
}
fieldset {
border:none;
border-bottom:1px solid #ccc;
padding:0;
margin:0;
margin-bottom:15px;
}
label {
display:inline-block;
vertical-align:top;
width:15em;
margin-right:1em;
}
input {
vertical-align:top;
}
input[type=text],
input[type=number] {
padding:3px;
}
.row {
margin-bottom:2em;
}
.comment {
display:block;
color:#aaa;
font-size:10px;
margin-top:0.5em;
}
.row-textarea label {
width:auto;
display:block;
margin-bottom:0.5em;
}
textarea {
width:50em;
height:20em;
}
input[name='search.max_visible'],
input[name=init_depth] {
width:5em;
}
input[name="dnd.xpath_quote"] {
width:1em;
}
input[type=submit] {
font-size:20px;
}
</style>
</head>
<body>
<h1>IRS-990PF-Viewer Settings</h1>
<form action="">
<fieldset>
<div class="row">
<label for="fld-init_depth">Maximum depth level of initially expanded elements</label>
<input type="number" name="init_depth" id="fld-init_depth" min="-1" required="required" />
<span class="comment">Set value to -1 to expand all elements on load.<br />
<strong>WARNING! Setting value to -1 may cause serious performance problems on large XML documents.</strong></span>
</div>
<div class="row">
<label for="fld-search.max_visible">Maximum visible results in search popup</label>
<input type="number" name="search.max_visible" id="fld-search.max_visible" min="1" max="100" required="required" />
</div>
<div class="row">
<label for="fld-dnd.xpath_quote">Attribute quote character in Quick XPath expressions</label>
<input type="text" name="dnd.xpath_quote" id="fld-dnd.xpath_quote" maxlength="1" />
</div>
<div class="row">
<input type="checkbox" name="intercept_requests" id="fld-intercept_requests" value="1" />
<label for="fld-intercept_requests">Intercept requests for XML, RSS and ATOM documents</label>
<strong class="comment">WARNING! With this option enabled, Chrome won’t be able to handle RSS and ATOM feeds.</strong>
</div>
</fieldset>
<fieldset>
<div class="row row-textarea">
<label for="fld-custom_css">Custom CSS (see <a href="http://github.com/sergeche/xmlview/tree/master/css">GitHub repo</a> for examples)</label>
<textarea name="custom_css" id="fld-custom_css"></textarea>
<span class="comment">You have to reload XML document after updating this property</span>
</div>
</fieldset>
<div class="row">
<input type="submit" value="Save" />
</div>
</form>
<p class="about">
XV is an <a href="http://github.com/sergeche/xmlview/">open-source project</a> and available for other browsers.<br />
Design inspiration: <a href="http://macrabbit.com/espresso/">Espresso Editor</a>
</p>
<script src="xv.js"></script>
<script src="options.js"></script>
</body>
</html>