Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
afb62638
Commit
afb62638
authored
Feb 19, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(import): convert to new css format
parent
4a062b6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
49 deletions
+38
-49
public/app/features/dashboard/partials/import.html
+38
-49
No files found.
public/app/features/dashboard/partials/import.html
View file @
afb62638
...
...
@@ -2,62 +2,51 @@
</navbar>
<div
class=
"page-container"
>
<div
class=
"page"
>
<h
2
>
<div
class=
"page
-header
"
>
<h
1
>
Import file
<em
style=
"font-size: 14px;padding-left: 10px;"
>
<i
class=
"fa fa-info-circle"
></i>
Load dashboard from local .json file
</em>
</h2>
<div
class=
"editor-row"
>
<div
class=
"section"
>
<div
class=
"editor-option"
>
<form>
<input
type=
"file"
id=
"dashupload"
dash-upload
/><br>
</form>
</div>
</div>
</div>
</h1>
</div>
<div
class=
"gf-form-group"
>
<form
class=
"gf-form"
>
<input
type=
"file"
id=
"dashupload"
dash-upload
/><br>
</form>
</div>
<h5
class=
"page-heading"
>
Migrate dashboards
<em
style=
"font-size: 14px;padding-left: 10px;"
><i
class=
"fa fa-info-circle"
></i>
Import dashboards from Elasticsearch or InfluxDB
</em>
</h5>
<h2>
Migrate dashboards
<em
style=
"font-size: 14px;padding-left: 10px;"
><i
class=
"fa fa-info-circle"
></i>
Import dashboards from Elasticsearch or InfluxDB
</em>
</h2>
<div
class=
"tight-form last"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 150px"
>
<strong>
Dashboard source
</strong>
</li>
<li>
<select
type=
"text"
ng-model=
"sourceName"
class=
"input-medium tight-form-input"
ng-options=
"f for f in datasources"
>
</select>
</li>
<li
style=
"float: right"
>
<button
class=
"btn btn-success tight-form-btn"
ng-click=
"startImport()"
>
Import
</button>
</li>
<div
class=
"clearfix"
></div>
</ul>
<div
class=
"gf-form-group last"
>
<div
class=
"gf-form"
>
<div
class=
"gf-form-label"
>
Dashboard source
</div>
<div>
<select
type=
"text"
ng-model=
"sourceName"
class=
"input-medium tight-form-input"
ng-options=
"f for f in datasources"
></select>
</div>
<div
class=
"gf-form-btn"
>
<button
class=
"btn btn-success"
ng-click=
"startImport()"
>
Import
</button>
</div>
</div>
</div>
<div
class=
"editor-row"
ng-if=
"importing"
>
<section
class=
"section"
>
<h5>
{{infoText}}
</h5>
<div
class=
"editor-row row"
>
<table
class=
"grafana-options-table span5"
>
<tr
ng-repeat=
"dash in imported"
>
<td>
{{dash.name}}
</td>
<td>
{{dash.info}}
</td>
</tr>
</table>
</div>
</section>
<h5
class=
"page-heading"
ng-if=
"importing"
>
{{infoText}}
</h5>
<div
class=
"editor-row"
ng-if=
"importing"
>
<div
class=
"editor-row row"
>
<table
class=
"grafana-options-table span5"
>
<tr
ng-repeat=
"dash in imported"
>
<td>
{{dash.name}}
</td>
<td>
{{dash.info}}
</td>
</tr>
</table>
</div>
</div>
<div
ng-include=
"'public/app/features/dashboard/partials/graphiteImport.html'"
></div>
<div
ng-include=
"'public/app/features/dashboard/partials/graphiteImport.html'"
></div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment