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
9d5560af
Commit
9d5560af
authored
Jan 23, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving files to better locations
parent
d88b7608
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
40 deletions
+10
-40
public/app/features/dashboard/partials/folder_permissions.html
+0
-7
public/app/features/dashboard/partials/folder_settings.html
+0
-23
public/app/features/folders/CreateFolderCtrl.ts
+2
-1
public/app/features/folders/FolderDashboardsCtrl.ts
+2
-1
public/app/features/folders/partials/create_folder.html
+0
-0
public/app/features/folders/partials/folder_dashboards.html
+0
-0
public/app/features/folders/services/FolderPageLoader.ts
+0
-0
public/app/features/manage-dashboards/index.ts
+0
-4
public/app/features/manage-dashboards/partials/dashboard_import.html
+0
-0
public/app/routes/routes.ts
+6
-4
No files found.
public/app/features/dashboard/partials/folder_permissions.html
deleted
100644 → 0
View file @
d88b7608
<page-header
model=
"ctrl.navModel"
></page-header>
<div
class=
"page-container page-body"
>
<dashboard-permissions
ng-if=
"ctrl.dashboard && ctrl.meta"
dashboardId=
"ctrl.dashboard.id"
/>
</div>
public/app/features/dashboard/partials/folder_settings.html
deleted
100644 → 0
View file @
d88b7608
<page-header
model=
"ctrl.navModel"
></page-header>
<div
class=
"page-container page-body"
>
<h2
class=
"page-sub-heading"
>
Folder Settings
</h2>
<div
class=
"section gf-form-group"
>
<form
name=
"folderSettingsForm"
ng-submit=
"ctrl.save()"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label width-7"
>
Name
</label>
<input
type=
"text"
class=
"gf-form-input width-30"
ng-model=
'ctrl.title'
ng-change=
"ctrl.titleChanged()"
></input>
</div>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-disabled=
"!ctrl.canSave || !ctrl.hasChanged"
>
<i
class=
"fa fa-save"
></i>
Save
</button>
<button
class=
"btn btn-danger"
ng-click=
"ctrl.delete($event)"
ng-disabled=
"!ctrl.canSave"
>
<i
class=
"fa fa-trash"
></i>
Delete
</button>
</div>
</form>
</div>
</div>
public/app/features/
manage-dashboard
s/CreateFolderCtrl.ts
→
public/app/features/
folder
s/CreateFolderCtrl.ts
View file @
9d5560af
import
appEvents
from
'app/core/app_events'
;
import
locationUtil
from
'app/core/utils/location_util'
;
export
class
CreateFolderCtrl
{
export
default
class
CreateFolderCtrl
{
title
=
''
;
navModel
:
any
;
titleTouched
=
false
;
...
...
@@ -38,3 +38,4 @@ export class CreateFolderCtrl {
});
}
}
public/app/features/
manage-dashboard
s/FolderDashboardsCtrl.ts
→
public/app/features/
folder
s/FolderDashboardsCtrl.ts
View file @
9d5560af
import
{
FolderPageLoader
}
from
'./services/FolderPageLoader'
;
import
locationUtil
from
'app/core/utils/location_util'
;
export
class
FolderDashboardsCtrl
{
export
default
class
FolderDashboardsCtrl
{
navModel
:
any
;
folderId
:
number
;
uid
:
string
;
...
...
@@ -23,3 +23,4 @@ export class FolderDashboardsCtrl {
}
}
}
public/app/features/
dashboard
/partials/create_folder.html
→
public/app/features/
folders
/partials/create_folder.html
View file @
9d5560af
File moved
public/app/features/
dashboard
/partials/folder_dashboards.html
→
public/app/features/
folders
/partials/folder_dashboards.html
View file @
9d5560af
File moved
public/app/features/
manage-dashboard
s/services/FolderPageLoader.ts
→
public/app/features/
folder
s/services/FolderPageLoader.ts
View file @
9d5560af
File moved
public/app/features/manage-dashboards/index.ts
View file @
9d5560af
...
...
@@ -8,14 +8,10 @@ export * from './components/UploadDashboard';
// Controllers
import
{
DashboardListCtrl
}
from
'./DashboardListCtrl'
;
import
{
SnapshotListCtrl
}
from
'./SnapshotListCtrl'
;
import
{
FolderDashboardsCtrl
}
from
'./FolderDashboardsCtrl'
;
import
{
DashboardImportCtrl
}
from
'./DashboardImportCtrl'
;
import
{
CreateFolderCtrl
}
from
'./CreateFolderCtrl'
;
import
coreModule
from
'app/core/core_module'
;
coreModule
.
controller
(
'DashboardListCtrl'
,
DashboardListCtrl
);
coreModule
.
controller
(
'SnapshotListCtrl'
,
SnapshotListCtrl
);
coreModule
.
controller
(
'FolderDashboardsCtrl'
,
FolderDashboardsCtrl
);
coreModule
.
controller
(
'DashboardImportCtrl'
,
DashboardImportCtrl
);
coreModule
.
controller
(
'CreateFolderCtrl'
,
CreateFolderCtrl
);
public/app/features/
dashboard
/partials/dashboard_import.html
→
public/app/features/
manage-dashboards
/partials/dashboard_import.html
View file @
9d5560af
File moved
public/app/routes/routes.ts
View file @
9d5560af
...
...
@@ -10,6 +10,8 @@ import ApiKeys from 'app/features/api-keys/ApiKeysPage';
import
PluginListPage
from
'app/features/plugins/PluginListPage'
;
import
FolderSettingsPage
from
'app/features/folders/FolderSettingsPage'
;
import
FolderPermissions
from
'app/features/folders/FolderPermissions'
;
import
CreateFolderCtrl
from
'app/features/folders/CreateFolderCtrl'
;
import
FolderDashboardsCtrl
from
'app/features/folders/FolderDashboardsCtrl'
;
import
DataSourcesListPage
from
'app/features/datasources/DataSourcesListPage'
;
import
NewDataSourcePage
from
'../features/datasources/NewDataSourcePage'
;
import
UsersListPage
from
'app/features/users/UsersListPage'
;
...
...
@@ -100,8 +102,8 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controllerAs
:
'ctrl'
,
})
.
when
(
'/dashboards/folder/new'
,
{
templateUrl
:
'public/app/features/
dashboard
/partials/create_folder.html'
,
controller
:
'CreateFolderCtrl'
,
templateUrl
:
'public/app/features/
folders
/partials/create_folder.html'
,
controller
:
CreateFolderCtrl
,
controllerAs
:
'ctrl'
,
})
.
when
(
'/dashboards/f/:uid/:slug/permissions'
,
{
...
...
@@ -117,8 +119,8 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
},
})
.
when
(
'/dashboards/f/:uid/:slug'
,
{
templateUrl
:
'public/app/features/
dashboard
/partials/folder_dashboards.html'
,
controller
:
'FolderDashboardsCtrl'
,
templateUrl
:
'public/app/features/
folders
/partials/folder_dashboards.html'
,
controller
:
FolderDashboardsCtrl
,
controllerAs
:
'ctrl'
,
})
.
when
(
'/dashboards/f/:uid'
,
{
...
...
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