Skip to content

Commit 768daf6

Browse files
authored
Updated to include help information
1 parent 0c3fb2a commit 768daf6

File tree

1 file changed

+65
-6
lines changed

1 file changed

+65
-6
lines changed

default/data/ui/views/splunkversioncontrol_restore.xml

Lines changed: 65 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<form>
22
<label>SplunkVersionControl Restore</label>
3-
<description>Use this page to request the restoration of a Splunk knowledge object, note that once restored the previous knowledge object is overwritten so use this restoration page with caution</description>
3+
<description>Use this page to request the restoration of a Splunk knowledge object, note that once restored the previous knowledge object is overwritten so use this restoration page with caution. Note the "Restore As User?" is for Splunk Admin use only</description>
44
<fieldset submitButton="true">
55
<input type="dropdown" token="app">
6-
<label>Application Name</label>
6+
<label>Splunk Application Name</label>
77
<fieldForLabel>app</fieldForLabel>
88
<fieldForValue>app</fieldForValue>
99
<search>
@@ -41,7 +41,7 @@
4141
<label>Object URI/Name (not label)</label>
4242
</input>
4343
<input type="dropdown" token="tag">
44-
<label>Restore date/time (UTC timestamp)</label>
44+
<label>Restore date/time</label>
4545
<fieldForLabel>tag</fieldForLabel>
4646
<fieldForValue>tag</fieldForValue>
4747
<search>
@@ -51,19 +51,78 @@
5151
</search>
5252
</input>
5353
<input type="text" token="restoreAsUser">
54-
<label>Restore As User? (this field only works for admins, empty values are fine)</label>
54+
<label>Restore As User?</label>
5555
<default>""</default>
5656
<initialValue>""</initialValue>
5757
</input>
5858
<input type="dropdown" token="scope">
59-
<label>Scope</label>
59+
<label>Scope/Sharing</label>
6060
<choice value="all">All</choice>
6161
<choice value="user">Private (user level sharing)</choice>
6262
<choice value="app">App (or global/everyone) sharing</choice>
6363
<default>all</default>
6464
<initialValue>all</initialValue>
6565
</input>
6666
</fieldset>
67+
<row>
68+
<panel>
69+
<html>
70+
<!-- Button trigger-->
71+
<a href="#" id="btn1" class="btnModalInfo" data-toggle="modal" data-target="#desc1">
72+
<!-- Text for the button -->
73+
<span class="icon-large icon-info-circle" aria-hidden="true"/> <b>Click for dashboard information</b>
74+
</a>
75+
<div class="modal fade" id="desc1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
76+
<div class="modal-dialog">
77+
<div class="modal-content">
78+
<div class="modal-header" style="padding-top: 2px; padding-bottom: 2px">
79+
<!-- Header of pop up -->
80+
<row>
81+
<div>
82+
<h2 class="modal-title text-center" id="myModalLabel">
83+
84+
<!-- Header text -->
85+
<!--====== DASHBOARD NAME ======= -->
86+
SplunkVersionControl Restore Usage
87+
</h2>
88+
</div>
89+
</row>
90+
</div>
91+
<div class="modal-body" style="overflow:auto">
92+
93+
<h1>
94+
95+
<b>Description</b>
96+
</h1>
97+
98+
<!--====== DASHBOARD FULL DESCRIPTION ======= -->
99+
This dashboard allows an individual to request the restoration of a Splunk knowledge object that has previously been backed up to a git repository
100+
101+
<hr/>
102+
<h1>
103+
104+
<b>Usage</b>
105+
106+
107+
108+
</h1>
109+
<h2>Application Name</h2>Splunk Application Name where the object is located<br/>
110+
<h2>Object Type</h2>The Splunk knowledge object type, such as dashboard, savedsearch et cetera<br/>
111+
<h2>Object URI/Name</h2>The dashboard URI (in this current case splunkversioncontrol_restore) or the name of the savedsearch et cetera, note this field is case sensitive<br/>
112+
<h2>Restore date/time</h2>The date/time of the git tag that should be used to restore the object, choose the closest date/time to which you know the object either existed or was in a working state<br/>
113+
<h2>Restore as user?</h2>This field is for Splunk admin use only. If you are restoring an object and it needs to be owned by another user, use this field to enter the username (useful for when the object owner no longer exists in Splunk)<br/>
114+
<h2>Scope/Sharing</h2>Did the object have application level/global sharing or user level (private) sharing? If All is selected the restoration will run against both user level and app/global level. <br/>Note that you can have an object, such as a dashboard with the same name at the user/private sharing level and the app sharing level within the same Splunk application which is why this field exists<br/>
115+
</div>
116+
<div class="modal-footer">
117+
118+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
119+
</div>
120+
</div>
121+
</div>
122+
</div>
123+
</html>
124+
</panel>
125+
</row>
67126
<row>
68127
<panel>
69128
<title>This output displays what has been added to the restoration request list after the submit button is clicked</title>
@@ -80,4 +139,4 @@
80139
</table>
81140
</panel>
82141
</row>
83-
</form>
142+
</form>

0 commit comments

Comments
 (0)