|
|
|
@ -1,15 +1,13 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<dashboard version="1.1" script="git_pusher.js">
|
|
|
|
<dashboard version="1.2" script="git_pusher.js" theme="light">
|
|
|
|
<label>Git Pusher - Push Applications to Git</label>
|
|
|
|
<label>Git Pusher - Push Applications to Git</label>
|
|
|
|
<description>Push Splunk applications to Git repository</description>
|
|
|
|
<description>Push Splunk applications to Git repository</description>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Recherche cachée (non utilisée, mais gardée pour compatibilité) -->
|
|
|
|
<!-- Recherche cachée (non utilisée, mais gardée pour compatibilité) -->
|
|
|
|
<search id="dsearch">
|
|
|
|
<search id="dsearch">
|
|
|
|
<query>| rest /services/apps/local | search disabled=0 | fields name, label, description | sort label</query>
|
|
|
|
<query>| rest /services/apps/local | search disabled=0 | fields name, label, description | sort label</query>
|
|
|
|
<earliest>-4h@h</earliest>
|
|
|
|
<earliest>-4h@h</earliest>
|
|
|
|
<latest>now</latest>
|
|
|
|
<latest>now</latest>
|
|
|
|
</search>
|
|
|
|
</search>
|
|
|
|
|
|
|
|
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<panel>
|
|
|
|
<panel>
|
|
|
|
<title>Configuration & Application Selection</title>
|
|
|
|
<title>Configuration & Application Selection</title>
|
|
|
|
@ -180,24 +178,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="git-url">Git Repository URL:</label>
|
|
|
|
<label for="git-url">Git Repository URL:</label>
|
|
|
|
<input type="text" id="git-url" placeholder="https://github.com/username/repo.git" />
|
|
|
|
<input type="text" id="git-url" placeholder="https://github.com/username/repo.git"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="git-branch">Target Branch:</label>
|
|
|
|
<label for="git-branch">Target Branch:</label>
|
|
|
|
<input type="text" id="git-branch" placeholder="main" value="main" />
|
|
|
|
<input type="text" id="git-branch" placeholder="main" value="main"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="git-token">Git Token/Password:</label>
|
|
|
|
<label for="git-token">Git Token/Password:</label>
|
|
|
|
<input type="password" id="git-token" placeholder="Enter your Git token or password" />
|
|
|
|
<input type="password" id="git-token" placeholder="Enter your Git token or password"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Available Applications:</label>
|
|
|
|
<label>Available Applications:</label>
|
|
|
|
<div class="dashboard-list" id="dashboard-list">
|
|
|
|
<div class="dashboard-list" id="dashboard-list">
|
|
|
|
<div class="dashboard-loading">
|
|
|
|
<div class="dashboard-loading">
|
|
|
|
<div class="spinner"></div>
|
|
|
|
<div class="spinner"/>
|
|
|
|
<span>Loading applications...</span>
|
|
|
|
<span>Loading applications...</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -206,7 +204,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="commit-message">Commit Message:</label>
|
|
|
|
<label for="commit-message">Commit Message:</label>
|
|
|
|
<textarea id="commit-message" placeholder="Describe your changes... e.g., 'Update applications with new dashboards'"></textarea>
|
|
|
|
<textarea id="commit-message" placeholder="Describe your changes... e.g., 'Update applications with new dashboards'"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="button-group">
|
|
|
|
<div class="button-group">
|
|
|
|
@ -219,7 +217,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="loading" id="loading">
|
|
|
|
<div class="loading" id="loading">
|
|
|
|
<div class="spinner"></div>
|
|
|
|
<div class="spinner"/>
|
|
|
|
<span id="loading-text">Pushing applications to Git...</span>
|
|
|
|
<span id="loading-text">Pushing applications to Git...</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@ -234,7 +232,6 @@
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|
</panel>
|
|
|
|
</panel>
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
|
|
|
|
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<panel>
|
|
|
|
<panel>
|
|
|
|
<title>Push History</title>
|
|
|
|
<title>Push History</title>
|
|
|
|
@ -251,5 +248,4 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</panel>
|
|
|
|
</panel>
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
|
|
|
|
|
|
|
|
</dashboard>
|
|
|
|
</dashboard>
|