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
a3eaa7f1
Commit
a3eaa7f1
authored
Aug 21, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into develop-newgrid-row-panels
parents
afe0137c
a95d587c
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
45 additions
and
80 deletions
+45
-80
pkg/api/index.go
+2
-2
public/app/core/components/navbar/navbar.html
+0
-5
public/app/core/components/navbar/navbar.ts
+1
-1
public/app/features/admin/partials/configuration_home.html
+2
-1
public/app/features/alerting/partials/alert_howto.html
+0
-1
public/app/features/alerting/partials/alert_list.html
+1
-1
public/app/features/alerting/partials/notifications_list.html
+1
-1
public/app/features/org/org_users_ctrl.ts
+2
-4
public/app/features/org/partials/orgApiKeys.html
+1
-1
public/app/features/org/partials/orgDetails.html
+3
-43
public/app/features/org/partials/orgUsers.html
+3
-3
public/app/features/org/partials/profile.html
+1
-1
public/app/features/org/prefs_control.ts
+1
-1
public/app/features/panel/partials/metrics_tab.html
+3
-0
public/app/features/playlist/partials/playlists.html
+1
-1
public/app/features/plugins/partials/ds_edit.html
+1
-2
public/app/features/plugins/partials/ds_list.html
+1
-1
public/app/features/plugins/partials/plugin_list.html
+7
-3
public/sass/_variables.dark.scss
+2
-2
public/sass/_variables.scss
+2
-2
public/sass/components/_buttons.scss
+1
-1
public/sass/components/_gf-form.scss
+0
-2
public/sass/layout/_page.scss
+8
-0
public/sass/mixins/_buttons.scss
+1
-1
No files found.
pkg/api/index.go
View file @
a3eaa7f1
...
...
@@ -265,8 +265,8 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
Icon
:
"fa fa-fw fa-shield"
,
Url
:
setting
.
AppSubUrl
+
"/admin"
,
Children
:
[]
*
dtos
.
NavLink
{
{
Text
:
"
Global
Users"
,
Id
:
"global-users"
,
Url
:
setting
.
AppSubUrl
+
"/admin/users"
},
{
Text
:
"
Global
Orgs"
,
Id
:
"global-orgs"
,
Url
:
setting
.
AppSubUrl
+
"/admin/orgs"
},
{
Text
:
"Users"
,
Id
:
"global-users"
,
Url
:
setting
.
AppSubUrl
+
"/admin/users"
},
{
Text
:
"Orgs"
,
Id
:
"global-orgs"
,
Url
:
setting
.
AppSubUrl
+
"/admin/orgs"
},
{
Text
:
"Server Settings"
,
Id
:
"server-settings"
,
Url
:
setting
.
AppSubUrl
+
"/admin/settings"
},
{
Text
:
"Server Stats"
,
Id
:
"server-stats"
,
Url
:
setting
.
AppSubUrl
+
"/admin/stats"
},
{
Text
:
"Style Guide"
,
Id
:
"styleguide"
,
Url
:
setting
.
AppSubUrl
+
"/admin/styleguide"
},
...
...
public/app/core/components/navbar/navbar.html
View file @
a3eaa7f1
...
...
@@ -2,11 +2,6 @@
<div
class=
"container"
>
<div
class=
"page-breadcrumb"
>
<div
class=
"page-breadcrumb__item dropdown"
ng-repeat=
"item in ctrl.model.breadcrumbs"
>
<!-- <a class="pointer" ng-href="{{::item.url}}" data-toggle="dropdown" ng-if="::item.children"> -->
<!-- {{::item.text}} -->
<!-- <i class="page-breadcrumb__caret fa fa-caret-down"></i> -->
<!-- </a> -->
<a
class=
"pointer"
ng-href=
"{{::item.url}}"
>
{{::item.text}}
</a>
...
...
public/app/core/components/navbar/navbar.ts
View file @
a3eaa7f1
...
...
@@ -47,7 +47,7 @@ export function pageH1() {
<h1>
<i class="{{::model.node.icon}}" ng-if="::model.node.icon"></i>
<img ng-src="{{::model.node.img}}" ng-if="::model.node.img"></i>
{{
::
model.node.text}}
{{model.node.text}}
</h1>
`
,
scope
:
{
...
...
public/app/features/admin/partials/configuration_home.html
View file @
a3eaa7f1
<div
class=
"scroll-canvas"
>
<div
gemini-scrollbar
>
<navbar
model=
"ctrl.navModel"
></navbar>
<div
class=
"page-container"
>
<div
class=
"page-header"
>
...
...
@@ -31,4 +32,4 @@
</ol>
</section>
</div>
</div>
</div>
public/app/features/alerting/partials/alert_howto.html
View file @
a3eaa7f1
...
...
@@ -22,7 +22,6 @@
To persist your alert rule changes remember to save the dashboard.
<br>
<br>
<a
href=
"{{appSubUrl}}"
class=
"external-link"
ng-click=
"dismiss()"
>
Go to Home Dashboard
</a>
</p>
</div>
...
...
public/app/features/alerting/partials/alert_list.html
View file @
a3eaa7f1
...
...
@@ -4,7 +4,7 @@
<div
class=
"page-header"
>
<page-h1
model=
"ctrl.navModel"
></page-h1>
<a
class=
"btn btn-
inverse
"
ng-click=
"ctrl.openHowTo()"
>
<a
class=
"btn btn-
secondary
"
ng-click=
"ctrl.openHowTo()"
>
<i
class=
"fa fa-info-circle"
></i>
How to add an alert
</a>
...
...
public/app/features/alerting/partials/notifications_list.html
View file @
a3eaa7f1
...
...
@@ -4,7 +4,7 @@
<div
class=
"page-header"
>
<page-h1
model=
"ctrl.navModel"
></page-h1>
<a
href=
"alerting/notification/new"
class=
"btn btn-
success
pull-right"
>
<a
href=
"alerting/notification/new"
class=
"btn btn-
primary
pull-right"
>
<i
class=
"fa fa-plus"
></i>
New Channel
</a>
...
...
public/app/features/org/org_users_ctrl.ts
View file @
a3eaa7f1
...
...
@@ -44,11 +44,9 @@ export class OrgUsersCtrl {
getAddUserBtnName
():
string
{
if
(
this
.
externalUserMngLinkName
)
{
return
this
.
externalUserMngLinkName
;
}
else
if
(
config
.
disableLoginForm
)
{
return
"Add Users"
;
}
else
{
return
"Add"
;
}
return
"Add Members"
;
}
get
()
{
...
...
public/app/features/org/partials/orgApiKeys.html
View file @
a3eaa7f1
...
...
@@ -9,7 +9,7 @@
<form
name=
"addTokenForm"
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-21"
>
<span
class=
"gf-form-label"
>
Add a key
</span>
<span
class=
"gf-form-label"
>
Key name
</span>
<input
type=
"text"
class=
"gf-form-input"
ng-model=
'token.name'
placeholder=
"Name"
></input>
</div>
<div
class=
"gf-form"
>
...
...
public/app/features/org/partials/orgDetails.html
View file @
a3eaa7f1
...
...
@@ -12,55 +12,15 @@
<span
class=
"gf-form-label"
>
Organization name
</span>
<input
class=
"gf-form-input"
type=
"text"
required
ng-model=
"org.name"
>
</div>
<div
class=
"gf-form"
>
<button
type=
"submit"
class=
"btn gf-form-btn btn-success"
ng-click=
"update()"
>
Update
</button>
</div>
</div>
</form>
<prefs-control
mode=
"org"
></prefs-control>
<h3
class=
"page-heading"
>
Address
</h3>
<form
name=
"addressForm"
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
Address1
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.address1"
>
</div>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
Address2
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.address2"
>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
City
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.city"
>
</div>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
Postal code
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.zipCode"
>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
State
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.state"
>
</div>
<div
class=
"gf-form max-width-28"
>
<span
class=
"gf-form-label width-7"
>
Country
</span>
<input
class=
"gf-form-input"
type=
"text"
ng-model=
"address.country"
>
</div>
</div>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"updateAddress()"
>
Updat
e
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"update()"
>
Sav
e
</button>
</div>
</form>
<prefs-control
mode=
"org"
></prefs-control>
</div>
public/app/features/org/partials/orgUsers.html
View file @
a3eaa7f1
...
...
@@ -4,7 +4,7 @@
<div
class=
"page-header"
>
<page-h1
model=
"ctrl.navModel"
></page-h1>
<button
class=
"btn btn-
success
"
ng-click=
"ctrl.openAddUsersView()"
ng-hide=
"ctrl.externalUserMngLinkUrl"
>
<button
class=
"btn btn-
primary
"
ng-click=
"ctrl.openAddUsersView()"
ng-hide=
"ctrl.externalUserMngLinkUrl"
>
<i
class=
"fa fa-plus"
></i>
<span>
{{ctrl.addUsersBtnName}}
</span>
</button>
...
...
@@ -22,9 +22,9 @@
Users ({{ctrl.users.length}})
</a>
</li>
<li
class=
"gf-tabs-item"
ng-show=
"ctrl.pendingInvites.length"
>
<li
class=
"gf-tabs-item"
>
<a
class=
"gf-tabs-link"
ng-click=
"ctrl.editor.index = 1"
ng-class=
"{active: ctrl.editor.index === 1}"
>
Pending Invit
ation
s ({{ctrl.pendingInvites.length}})
Pending Invit
e
s ({{ctrl.pendingInvites.length}})
</a>
</li>
</ul>
...
...
public/app/features/org/partials/profile.html
View file @
a3eaa7f1
...
...
@@ -23,7 +23,7 @@
<i
ng-if=
"ctrl.readonlyLoginFields"
class=
"fa fa-lock gf-form-icon--right-absolute"
bs-tooltip=
"'Login Details Locked - managed in another system.'"
></i>
</div>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"ctrl.update()"
>
Updat
e
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"ctrl.update()"
>
Sav
e
</button>
</div>
</form>
...
...
public/app/features/org/prefs_control.ts
View file @
a3eaa7f1
...
...
@@ -74,7 +74,7 @@ var template = `
</div>
<div class="gf-form-button-row">
<button type="submit" class="btn btn-success" ng-click="ctrl.updatePrefs()">
Updat
e</button>
<button type="submit" class="btn btn-success" ng-click="ctrl.updatePrefs()">
Sav
e</button>
</div>
</form>
`
;
...
...
public/app/features/panel/partials/metrics_tab.html
View file @
a3eaa7f1
...
...
@@ -47,4 +47,7 @@
<plugin-component
type=
"query-options-ctrl"
>
</plugin-component>
</rebuild-on-change>
<div
class=
"clearfix"
></div>
</div>
public/app/features/playlist/partials/playlists.html
View file @
a3eaa7f1
...
...
@@ -3,7 +3,7 @@
<div
class=
"page-container"
>
<div
class=
"page-header"
>
<page-h1
model=
"ctrl.navModel"
></page-h1>
<a
class=
"btn btn-
success
pull-right"
href=
"playlists/create"
>
<a
class=
"btn btn-
primary
pull-right"
href=
"playlists/create"
>
<i
class=
"fa fa-plus"
></i>
New Playlist
</a>
...
...
public/app/features/plugins/partials/ds_edit.html
View file @
a3eaa7f1
...
...
@@ -66,8 +66,7 @@
</div>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Add
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Save
&
Test
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Save
</button>
<button
type=
"submit"
class=
"btn btn-danger"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.delete()"
>
Delete
</button>
...
...
public/app/features/plugins/partials/ds_list.html
View file @
a3eaa7f1
...
...
@@ -5,7 +5,7 @@
<div
class=
"page-header"
>
<page-h1
model=
"ctrl.navModel"
></page-h1>
<a
class=
"page-header__cta btn btn-
success
"
href=
"datasources/new"
>
<a
class=
"page-header__cta btn btn-
primary
"
href=
"datasources/new"
>
<i
class=
"fa fa-plus"
></i>
Add data source
</a>
...
...
public/app/features/plugins/partials/plugin_list.html
View file @
a3eaa7f1
<navbar
model=
"ctrl.navModel"
></navbar>
<div
class=
"scroll-canvas"
>
<div
gemini-scrollbar
>
<div
class=
"page-container"
>
<navbar
model=
"ctrl.navModel"
></navbar>
<div
class=
"page-container"
>
<div
class=
"page-header"
>
<h1>
<i
class=
"icon-gf icon-gf-apps"
></i>
...
...
@@ -60,5 +63,6 @@
</li>
</ol>
</section>
</div>
</div>
</div>
public/sass/_variables.dark.scss
View file @
a3eaa7f1
...
...
@@ -133,8 +133,8 @@ $table-border: $dark-3; // table and cell border
// Buttons
// -------------------------
$btn-primary-bg
:
$brand-primary
;
$btn-primary-bg-hl
:
lighten
(
$brand-primary
,
8%
)
;
$btn-primary-bg
:
#ff6600
;
$btn-primary-bg-hl
:
#bc3e06
;
$btn-secondary-bg
:
$blue-dark
;
$btn-secondary-bg-hl
:
lighten
(
$blue-dark
,
5%
);
...
...
public/sass/_variables.scss
View file @
a3eaa7f1
...
...
@@ -208,7 +208,7 @@ $zindex-modal: 1050;
$btn-padding-x
:
1rem
!
default
;
$btn-padding-y
:
.6rem
!
default
;
$btn-line-height
:
1
.25
!
default
;
$btn-font-weight
:
normal
!
default
;
$btn-font-weight
:
500
!
default
;
$btn-padding-x-sm
:
.5rem
!
default
;
$btn-padding-y-sm
:
.25rem
!
default
;
...
...
@@ -216,7 +216,7 @@ $btn-padding-y-sm: .25rem !default;
$btn-padding-x-lg
:
1
.5rem
!
default
;
$btn-padding-y-lg
:
.75rem
!
default
;
$btn-border-radius
:
2
px
;
$btn-border-radius
:
3
px
;
// sidemenu
$side-menu-width
:
60px
;
...
...
public/sass/components/_buttons.scss
View file @
a3eaa7f1
...
...
@@ -14,7 +14,7 @@
text-align
:
center
;
vertical-align
:
middle
;
cursor
:
pointer
;
border
:
$input-btn-border-width
solid
transparent
;
border
:
none
;
@include
button-size
(
$btn-padding-y
,
$btn-padding-x
,
$font-size-base
,
$btn-border-radius
);
...
...
public/sass/components/_gf-form.scss
View file @
a3eaa7f1
...
...
@@ -239,8 +239,6 @@ $gf-form-margin: 1px;
line-height
:
$input-line-height
;
font-size
:
$font-size-sm
;
box-shadow
:
none
;
border
:
$input-btn-border-width
solid
transparent
;
@include
border-radius
(
$label-border-radius-sm
);
flex-shrink
:
0
;
flex-grow
:
0
;
...
...
public/sass/layout/_page.scss
View file @
a3eaa7f1
...
...
@@ -74,9 +74,17 @@
a
,
button
{
float
:
right
;
margin-left
:
$spacer
;
// better align icons
.fa
{
position
:
relative
;
top
:
1px
;
}
}
}
.page-heading
{
font-size
:
1
.25rem
;
margin-top
:
0
;
...
...
public/sass/mixins/_buttons.scss
View file @
a3eaa7f1
// Button backgrounds
// ------------------
@mixin
buttonBackground
(
$startColor
,
$endColor
,
$text-color
:
#fff
,
$textShadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,.
2
5
))
{
@mixin
buttonBackground
(
$startColor
,
$endColor
,
$text-color
:
#fff
,
$textShadow
:
0
px
1px
0
rgba
(
0
,
0
,
0
,.
5
))
{
// gradientBar will set the background to a pleasing blend of these, to support IE<=9
@include
gradientBar
(
$startColor
,
$endColor
,
$text-color
,
$textShadow
);
...
...
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