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
f195459b
Commit
f195459b
authored
Feb 12, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some icons in action button
Trying to align some title case issues
parent
ef723643
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
46 deletions
+21
-46
public/app/features/admin/partials/orgs.html
+1
-2
public/app/features/admin/partials/users.html
+1
-2
public/app/features/alerting/partials/notifications_list.html
+1
-1
public/app/features/api-keys/ApiKeysPage.tsx
+1
-1
public/app/features/dashboard/components/DashboardSettings/template.html
+2
-4
public/app/features/folders/FolderSettingsPage.tsx
+2
-2
public/app/features/folders/__snapshots__/FolderSettingsPage.test.tsx.snap
+4
-16
public/app/features/playlist/partials/playlists.html
+1
-1
public/app/features/teams/TeamMembers.tsx
+2
-2
public/app/features/teams/__snapshots__/TeamMembers.test.tsx.snap
+6
-15
No files found.
public/app/features/admin/partials/orgs.html
View file @
f195459b
...
@@ -4,8 +4,7 @@
...
@@ -4,8 +4,7 @@
<div
class=
"page-action-bar"
>
<div
class=
"page-action-bar"
>
<div
class=
"page-action-bar__spacer"
></div>
<div
class=
"page-action-bar__spacer"
></div>
<a
class=
"page-header__cta btn btn-primary"
href=
"org/new"
>
<a
class=
"page-header__cta btn btn-primary"
href=
"org/new"
>
<i
class=
"fa fa-plus"
></i>
New org
New Org
</a>
</a>
</div>
</div>
...
...
public/app/features/admin/partials/users.html
View file @
f195459b
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
</label>
</label>
<div
class=
"page-action-bar__spacer"
></div>
<div
class=
"page-action-bar__spacer"
></div>
<a
class=
"btn btn-primary"
href=
"admin/users/create"
>
<a
class=
"btn btn-primary"
href=
"admin/users/create"
>
<i
class=
"fa fa-plus"
></i>
New user
Add new user
</a>
</a>
</div>
</div>
...
...
public/app/features/alerting/partials/notifications_list.html
View file @
f195459b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</div>
</div>
<a
href=
"alerting/notification/new"
class=
"btn btn-primary"
>
<a
href=
"alerting/notification/new"
class=
"btn btn-primary"
>
New
C
hannel
New
c
hannel
</a>
</a>
</div>
</div>
...
...
public/app/features/api-keys/ApiKeysPage.tsx
View file @
f195459b
...
@@ -200,7 +200,7 @@ export class ApiKeysPage extends PureComponent<Props, any> {
...
@@ -200,7 +200,7 @@ export class ApiKeysPage extends PureComponent<Props, any> {
<
div
className=
"page-action-bar__spacer"
/>
<
div
className=
"page-action-bar__spacer"
/>
<
button
className=
"btn btn-primary pull-right"
onClick=
{
this
.
onToggleAdding
}
disabled=
{
isAdding
}
>
<
button
className=
"btn btn-primary pull-right"
onClick=
{
this
.
onToggleAdding
}
disabled=
{
isAdding
}
>
Add API
K
ey
Add API
k
ey
</
button
>
</
button
>
</
div
>
</
div
>
...
...
public/app/features/dashboard/components/DashboardSettings/template.html
View file @
f195459b
...
@@ -11,14 +11,12 @@
...
@@ -11,14 +11,12 @@
<div
class=
"dashboard-settings__aside-actions"
>
<div
class=
"dashboard-settings__aside-actions"
>
<button
class=
"btn btn-primary"
ng-click=
"ctrl.saveDashboard()"
ng-show=
"ctrl.canSave"
>
<button
class=
"btn btn-primary"
ng-click=
"ctrl.saveDashboard()"
ng-show=
"ctrl.canSave"
>
<i
class=
"fa fa-save"
></i>
Save
Save
</button>
</button>
<button
class=
"btn btn-inverse"
ng-click=
"ctrl.openSaveAsModal()"
ng-show=
"ctrl.canSaveAs"
>
<button
class=
"btn btn-inverse"
ng-click=
"ctrl.openSaveAsModal()"
ng-show=
"ctrl.canSaveAs"
>
<i
class=
"fa fa-copy"
></i>
Save As...
Save As...
</button>
</button>
<button
class=
"btn btn-danger"
ng-click=
"ctrl.deleteDashboard()"
ng-show=
"ctrl.canDelete"
>
<button
class=
"btn btn-danger"
ng-click=
"ctrl.deleteDashboard()"
ng-show=
"ctrl.canDelete"
>
<i
class=
"fa fa-trash"
></i>
Delete
Delete
</button>
</button>
</div>
</div>
...
@@ -101,7 +99,7 @@
...
@@ -101,7 +99,7 @@
<div
class=
"gf-form-button-row"
>
<div
class=
"gf-form-button-row"
>
<button
class=
"btn btn-primary"
ng-click=
"ctrl.saveDashboardJson()"
ng-show=
"ctrl.canSave"
>
<button
class=
"btn btn-primary"
ng-click=
"ctrl.saveDashboardJson()"
ng-show=
"ctrl.canSave"
>
<i
class=
"fa fa-save"
></i>
Save Changes
Save Changes
</button>
</button>
</div>
</div>
</div>
</div>
...
...
public/app/features/folders/FolderSettingsPage.tsx
View file @
f195459b
...
@@ -82,10 +82,10 @@ export class FolderSettingsPage extends PureComponent<Props, State> {
...
@@ -82,10 +82,10 @@ export class FolderSettingsPage extends PureComponent<Props, State> {
</
div
>
</
div
>
<
div
className=
"gf-form-button-row"
>
<
div
className=
"gf-form-button-row"
>
<
button
type=
"submit"
className=
"btn btn-primary"
disabled=
{
!
folder
.
canSave
||
!
folder
.
hasChanged
}
>
<
button
type=
"submit"
className=
"btn btn-primary"
disabled=
{
!
folder
.
canSave
||
!
folder
.
hasChanged
}
>
<
i
className=
"fa fa-save"
/>
Save
Save
</
button
>
</
button
>
<
button
className=
"btn btn-danger"
onClick=
{
this
.
onDelete
}
disabled=
{
!
folder
.
canSave
}
>
<
button
className=
"btn btn-danger"
onClick=
{
this
.
onDelete
}
disabled=
{
!
folder
.
canSave
}
>
<
i
className=
"fa fa-trash"
/>
Delete
Delete
</
button
>
</
button
>
</
div
>
</
div
>
</
form
>
</
form
>
...
...
public/app/features/folders/__snapshots__/FolderSettingsPage.test.tsx.snap
View file @
f195459b
...
@@ -42,20 +42,14 @@ exports[`Render should enable save button 1`] = `
...
@@ -42,20 +42,14 @@ exports[`Render should enable save button 1`] = `
disabled={false}
disabled={false}
type="submit"
type="submit"
>
>
<i
Save
className="fa fa-save"
/>
Save
</button>
</button>
<button
<button
className="btn btn-danger"
className="btn btn-danger"
disabled={false}
disabled={false}
onClick={[Function]}
onClick={[Function]}
>
>
<i
Delete
className="fa fa-trash"
/>
Delete
</button>
</button>
</div>
</div>
</form>
</form>
...
@@ -106,20 +100,14 @@ exports[`Render should render component 1`] = `
...
@@ -106,20 +100,14 @@ exports[`Render should render component 1`] = `
disabled={true}
disabled={true}
type="submit"
type="submit"
>
>
<i
Save
className="fa fa-save"
/>
Save
</button>
</button>
<button
<button
className="btn btn-danger"
className="btn btn-danger"
disabled={false}
disabled={false}
onClick={[Function]}
onClick={[Function]}
>
>
<i
Delete
className="fa fa-trash"
/>
Delete
</button>
</button>
</div>
</div>
</form>
</form>
...
...
public/app/features/playlist/partials/playlists.html
View file @
f195459b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"page-action-bar"
>
<div
class=
"page-action-bar"
>
<div
class=
"page-action-bar__spacer"
></div>
<div
class=
"page-action-bar__spacer"
></div>
<a
class=
"btn btn-primary pull-right"
href=
"playlists/create"
>
<a
class=
"btn btn-primary pull-right"
href=
"playlists/create"
>
New
P
laylist
New
p
laylist
</a>
</a>
</div>
</div>
...
...
public/app/features/teams/TeamMembers.tsx
View file @
f195459b
...
@@ -104,7 +104,7 @@ export class TeamMembers extends PureComponent<Props, State> {
...
@@ -104,7 +104,7 @@ export class TeamMembers extends PureComponent<Props, State> {
<
div
className=
"page-action-bar__spacer"
/>
<
div
className=
"page-action-bar__spacer"
/>
<
button
className=
"btn btn-primary pull-right"
onClick=
{
this
.
onToggleAdding
}
disabled=
{
isAdding
}
>
<
button
className=
"btn btn-primary pull-right"
onClick=
{
this
.
onToggleAdding
}
disabled=
{
isAdding
}
>
<
i
className=
"fa fa-plus"
/>
Add a
member
Add
member
</
button
>
</
button
>
</
div
>
</
div
>
...
@@ -113,7 +113,7 @@ export class TeamMembers extends PureComponent<Props, State> {
...
@@ -113,7 +113,7 @@ export class TeamMembers extends PureComponent<Props, State> {
<
button
className=
"cta-form__close btn btn-transparent"
onClick=
{
this
.
onToggleAdding
}
>
<
button
className=
"cta-form__close btn btn-transparent"
onClick=
{
this
.
onToggleAdding
}
>
<
i
className=
"fa fa-close"
/>
<
i
className=
"fa fa-close"
/>
</
button
>
</
button
>
<
h5
>
Add
Team M
ember
</
h5
>
<
h5
>
Add
team m
ember
</
h5
>
<
div
className=
"gf-form-inline"
>
<
div
className=
"gf-form-inline"
>
<
UserPicker
onSelected=
{
this
.
onUserSelected
}
className=
"min-width-30"
/>
<
UserPicker
onSelected=
{
this
.
onUserSelected
}
className=
"min-width-30"
/>
{
this
.
state
.
newTeamMember
&&
(
{
this
.
state
.
newTeamMember
&&
(
...
...
public/app/features/teams/__snapshots__/TeamMembers.test.tsx.snap
View file @
f195459b
...
@@ -31,10 +31,7 @@ exports[`Render should render component 1`] = `
...
@@ -31,10 +31,7 @@ exports[`Render should render component 1`] = `
disabled={false}
disabled={false}
onClick={[Function]}
onClick={[Function]}
>
>
<i
Add member
className="fa fa-plus"
/>
Add a member
</button>
</button>
</div>
</div>
<Component
<Component
...
@@ -52,7 +49,7 @@ exports[`Render should render component 1`] = `
...
@@ -52,7 +49,7 @@ exports[`Render should render component 1`] = `
/>
/>
</button>
</button>
<h5>
<h5>
Add
Team M
ember
Add
team m
ember
</h5>
</h5>
<div
<div
className="gf-form-inline"
className="gf-form-inline"
...
@@ -125,10 +122,7 @@ exports[`Render should render team members 1`] = `
...
@@ -125,10 +122,7 @@ exports[`Render should render team members 1`] = `
disabled={false}
disabled={false}
onClick={[Function]}
onClick={[Function]}
>
>
<i
Add member
className="fa fa-plus"
/>
Add a member
</button>
</button>
</div>
</div>
<Component
<Component
...
@@ -146,7 +140,7 @@ exports[`Render should render team members 1`] = `
...
@@ -146,7 +140,7 @@ exports[`Render should render team members 1`] = `
/>
/>
</button>
</button>
<h5>
<h5>
Add
Team M
ember
Add
team m
ember
</h5>
</h5>
<div
<div
className="gf-form-inline"
className="gf-form-inline"
...
@@ -345,10 +339,7 @@ exports[`Render should render team members when sync enabled 1`] = `
...
@@ -345,10 +339,7 @@ exports[`Render should render team members when sync enabled 1`] = `
disabled={false}
disabled={false}
onClick={[Function]}
onClick={[Function]}
>
>
<i
Add member
className="fa fa-plus"
/>
Add a member
</button>
</button>
</div>
</div>
<Component
<Component
...
@@ -366,7 +357,7 @@ exports[`Render should render team members when sync enabled 1`] = `
...
@@ -366,7 +357,7 @@ exports[`Render should render team members when sync enabled 1`] = `
/>
/>
</button>
</button>
<h5>
<h5>
Add
Team M
ember
Add
team m
ember
</h5>
</h5>
<div
<div
className="gf-form-inline"
className="gf-form-inline"
...
...
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