-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
270 lines (270 loc) · 17.7 KB
/
index.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<title>ArcGIS Item Information</title>
<link rel="stylesheet" href="//js.arcgis.com/3.21/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="//js.arcgis.com/3.21/dgrid/css/dgrid.css">
<link rel="stylesheet" href="//js.arcgis.com/3.21/dgrid/css/skins/claro.css">
<link rel="stylesheet" href="//js.arcgis.com/3.21/esri/css/esri.css">
<link rel="stylesheet" type="text/css" href="index.css">
<script type="text/javascript">
var package_path = window.location.pathname.substring(0, window.location.pathname.lastIndexOf('/'));
var dojoConfig = {
parseOnLoad: true,
packages: [
{ name: "apl", location: package_path + '/apl' }
]
};
</script>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="./apl/d3.layout.cloud.js"></script>
<script type="text/javascript" src="//js.arcgis.com/3.21/"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript">
require([
"dijit/layout/BorderContainer",
"dijit/layout/StackContainer",
"dijit/layout/StackController",
"dijit/layout/ContentPane",
"dijit/Toolbar",
"dijit/form/DropDownButton",
"dijit/TooltipDialog",
"dijit/form/Select",
"dijit/form/TextBox",
"dijit/form/Textarea",
"dijit/form/CheckBox"
]);
</script>
</head>
<body class="claro">
<div id="mainContainer" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline',gutters:false">
<div id="topToolbar" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">
<span id="loggedInUser"></span>
<div id="appTitle">ArcGIS Item Information</div>
</div>
<div id="typeContainer" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'left',gutters:false,splitter:true">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px'}">
<div id="expandoImage"></div>
<span id="sourceListController" data-dojo-type="dijit/layout/StackController" data-dojo-props="containerId:'sourceListsContainer'"></span>
</div>
<div id="sourceListsContainer" data-dojo-type="dijit/layout/StackContainer" data-dojo-props="region:'center'">
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Folders',iconClass:'folderItem'">
<div id="sourceFoldersList"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Tags',iconClass:'tagItem'">
<div id="sourceTagList"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Groups',iconClass:'groupItem'">
<div id="sourceGroupList"></div>
</div>
<div id="searchPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="title:'Search',iconClass:'searchItem'">
<div id="searchParametersPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top',splitter:true">
<div style="margin:10px;float:right;">
<div id="applySearchBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,label:'Apply',iconClass:'applyParamsIcon',title:'Retrieve all items that match search parameters. (Must be less than 1,000 items)'"></div>
<div id="clearSearchBtn" data-dojo-type="dijit/form/Button" data-dojo-props="label:'Clear',iconClass:'clearParamsIcon',title:'Clear all search parameters.'"></div>
</div>
<div style="clear:both;">
<div id="searchQueryString"></div>
<span id="searchQueryResultCount"></span>
</div>
</div>
<div id="parameterListPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'"></div>
</div>
</div>
<div id="sourcePanelInfo" class="panelInfo" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">
Display items in a user folder.
</div>
</div>
<div id="listContainer" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center',gutters:false">
<div id="actionToolbar" data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top'">
<div class="actionBar">
<label style="font-weight:bolder;">VIEW: </label>
<span id="sourceItemsController" data-dojo-type="dijit/layout/StackController" data-dojo-props="containerId:'optionsContainer'"></span>
</div>
<div class="actionBar">
<label style="font-weight:bolder;">FILTERS: </label>
<label for="sourceItemsFilterInput" style="font-style:italic;">Title: </label>
<input id="sourceItemsFilterInput" type="text" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true,intermediateChanges:true,placeHolder:'...no title filter...',style:{width:'200px'}"/>
<label for="itemTypeSelect" style="font-style:italic;">Type: </label>
<select id="itemTypeSelect" data-dojo-type="dijit/form/Select" data-dojo-props="style:{width:'250px'}"></select>
<label for="userOwnedChk" style="font-size:smaller;font-style:italic;">Owned by Me: </label>
<input id="userOwnedChk" data-dojo-type="dijit/form/CheckBox"/>
<span data-dojo-type="dijit/ToolbarSeparator"></span>
<span id="sourceItemsCount" style="font-weight:bolder;">0 of 0</span>
</div>
</div>
<div id="optionsContainer" data-dojo-type="dijit/layout/StackContainer" data-dojo-props="region:'center'">
<div id="detailsPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Details',iconClass:'detailsIcon'">
<div id="sourceItemList"></div>
</div>
<div id="sourceItemGallery" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Gallery',iconClass:'galleryIcon'"></div>
<div id="csvOutputPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="gutters:false,title:'CSV',iconClass:'exportIcon'">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px'}">
<label for="useFieldNamesChk" style="font-style:italic;font-size:smaller;">Use Field Names: </label>
<input id="useFieldNamesChk" data-dojo-type="dijit/form/CheckBox"/>
</div>
<div id="csvTextPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<label for="csvTextArea"></label>
<textarea id="csvTextArea" data-dojo-type="dijit/form/Textarea" style="width:100%;"></textarea>
</div>
</div>
<div id="tagCloudPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Tag Cloud',iconClass:'tagCloudIcon',gutters:false"></div>
<div id="tagEditorPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="title:'Tag Editor',iconClass:'tagEditorIcon',gutters:false">
<div data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'left',gutters:false,splitter:true,style:{width:'60%'}">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px',fontSize:'smaller'}">
<label style="font-weight: bolder;">Items:</label>
<div id="selectAllBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'selectAllIcon',label:'Select All',title:'Select all items'"></div>
<div id="selectNoneBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'selectNoneIcon',label:'Select None',title:'Clear selected items'"></div>
<span data-dojo-type="dijit/ToolbarSeparator"></span>
<div id="addNewTagBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'addNewTagIcon',label:'Add New Tags',title:'Add new tags to selected items'"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<div id="tagItemListPane"></div>
</div>
</div>
<div id="tagEditorActionPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center',gutters:false">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px',fontSize:'smaller'}">
<label style="font-weight: bolder;">Tags:</label>
<!--<div id="splitTagBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'splitTagIcon',label:'Split Tags',title:'Split tags'"></div>-->
<div id="replaceTagBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'replaceTagIcon',label:'Replace Tag',title:'Replace tag from selected items'"></div>
<div id="removeTagBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'removeTagIcon',label:'Remove Tag',title:'Remove tag from selected items'"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<div id="tagListPane"></div>
</div>
<!--<div id="tagCloudPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom',splitter:true,style:{height:'40%'}"></div>-->
</div>
</div>
<div id="registerServicesPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="title:'Register Services',iconClass:'registerServicesIcon',gutters:false">
<div data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'left',gutters:false,splitter:true,style:{width:'500px'}">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px',fontSize:'smaller'}">
<table width="100%" height="100%" border="0">
<tr>
<td align="right">
<div style="font-weight:bolder;">ArcGIS Server:</div>
</td>
<td>
<a id="agsServerInstance" target='_blank' title='Display ArcGIS Server Services Directory'>Services
Directory</a>
</td>
</tr>
<tr>
<td align="right">
<div>Server:</div>
</td>
<td>
<input id="agsServer" data-dojo-type="dijit/form/ValidationTextBox" data-dojo-props="title:'Name of ArcGIS Server',type:'text',value:'',placeHolder:'server.organization.com',invalidMessage:'Invalid ArcGIS Server',intermediateChanges:true,style:{width:'300px'}"/>
</td>
</tr>
<tr>
<td align="right">
<div>Instance:</div>
</td>
<td>
<input id="agsInstance" data-dojo-type="dijit/form/ValidationTextBox" data-dojo-props="title:'Name of ArcGIS Server Instance',type:'text',value:'',placeHolder:'arcgis',invalidMessage:'Invalid Instance',intermediateChanges:true,style:{width:'300px'}"/>
</td>
</tr>
<tr>
<td></td>
<td align="left">
<div id="getServerFolders" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'getServerFoldersIcon',label:'Connect',title:'Connect and get list of folders'"></div>
<div id="saveServerBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'saveServerIcon',label:'Save',title:'Save current ArcGIS Server'"></div>
<div id="loadServerBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'loadServerIcon',label:'Load',title:'Load saved ArcGIS Server'"></div>
</td>
</tr>
<tr>
<td></td>
<td colspan="3" align="left" height="20">
<span id="connectStatus" style="height:1em;text-align:center;color:#666;">...</span>
</td>
</tr>
</table>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<div id="rs_serverFoldersPane"></div>
</div>
</div>
<div data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center',gutters:false">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px',fontSize:'smaller',float:'right'}">
<div id="rs_selectAllBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'selectAllIcon',label:'Select All',title:'Select all items'"></div>
<div id="rs_selectNoneBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'selectNoneIcon',label:'Select None',title:'Clear selected items'"></div>
<span data-dojo-type="dijit/ToolbarSeparator"></span>
<div id="commonPropsBtn" data-dojo-type="dijit/form/DropDownButton" data-dojo-props="iconClass:'commonPropsIcon',label:'Item Properties',title:'Set Common Properties'">
<div data-dojo-type="dijit/TooltipDialog">
<table width="350px" height="150px">
<tr>
<td align="right">
<label for="commonTagsInput">Tags:</label>
</td>
<td>
<input id="commonTagsInput" data-dojo-type="dijit/form/TextBox"><br>
</td>
</tr>
<tr>
<td align="right">
<label for="commonAccessInput">Access:</label>
</td>
<td>
<input id="commonAccessInput" data-dojo-type="dijit/form/Textarea"><br>
</td>
</tr>
<tr>
<td align="right">
<label for="commonCopyrightInput">Copyright:</label>
</td>
<td>
<input id="commonCopyrightInput" data-dojo-type="dijit/form/Textarea"><br>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<button id="applyCommonPropertiesBtn" data-dojo-type="dijit/form/Button">Apply</button>
</td>
</tr>
</table>
</div>
</div>
<span style="float:right;">
<span data-dojo-type="dijit/ToolbarSeparator"></span>
<div id="registerServicesBtn" data-dojo-type="dijit/form/Button" data-dojo-props="disabled:true,iconClass:'registerServicesIcon',label:'Register Services',title:'Register Selected Services'"></div>
<input id="registerSubLayersChk" data-dojo-type="dijit/form/CheckBox"/>
<label for="registerSubLayersChk" style="vertical-align:middle;">Register Sub-Layers</label>
<input id="shareToPublicChk" data-dojo-type="dijit/form/CheckBox"/>
<label for="shareToPublicChk" style="vertical-align:middle;">Share with Everyone</label>
</span>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<div id="rs_serverServicesPane"></div>
</div>
</div>
</div>
<!-- <div id="shareItemsPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="title:'Share Items',iconClass:'shareItemsIcon',gutters:false">
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left',style:{width:'30%'}">
<div id="shareTargetFolder"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'"></div>
</div>-->
<!--
<div id="syncCountsPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="title:'Counts',iconClass:'countsIcon',gutters:false">
<div data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top',style:{padding:'10px',fontSize:'smaller'}">
<label style="font-weight: bolder;">Items:</label>
<div id="getCountsBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'getCountsIcon',label:'Get Item Counts',title:'Get item counts'"></div>
<div id="applySyncCountsBtn" data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'syncCountsIcon',label:'Sync Search and Item Counts',title:'Synchronize search amd item counts'"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'">
<div id="countsItemListPane"></div>
</div>
</div>
-->
</div>
<div class="panelInfo" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">
The list of items based on the folder, tag, group, or search.
</div>
</div>
</div>
</body>
</html>