mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
created new color variables, changed primary to blue, changed success-btns to primary-btns.
This commit is contained in:
@@ -84,7 +84,7 @@ export class TeamGroupSync extends PureComponent<Props, State> {
|
||||
</Tooltip>
|
||||
<div className="page-action-bar__spacer" />
|
||||
{groups.length > 0 && (
|
||||
<button className="btn btn-success pull-right" onClick={this.onToggleAdding}>
|
||||
<button className="btn btn-primary pull-right" onClick={this.onToggleAdding}>
|
||||
<i className="fa fa-plus" /> Add group
|
||||
</button>
|
||||
)}
|
||||
@@ -108,7 +108,7 @@ export class TeamGroupSync extends PureComponent<Props, State> {
|
||||
</div>
|
||||
|
||||
<div className="gf-form">
|
||||
<button className="btn btn-success gf-form-btn" type="submit" disabled={!this.isNewGroupValid()}>
|
||||
<button className="btn btn-primary gf-form-btn" type="submit" disabled={!this.isNewGroupValid()}>
|
||||
Add group
|
||||
</button>
|
||||
</div>
|
||||
@@ -120,7 +120,7 @@ export class TeamGroupSync extends PureComponent<Props, State> {
|
||||
!isAdding && (
|
||||
<div className="empty-list-cta">
|
||||
<div className="empty-list-cta__title">There are no external groups to sync with</div>
|
||||
<button onClick={this.onToggleAdding} className="empty-list-cta__button btn btn-xlarge btn-success">
|
||||
<button onClick={this.onToggleAdding} className="empty-list-cta__button btn btn-xlarge btn-primary">
|
||||
<i className="gicon gicon-add-team" />
|
||||
Add Group
|
||||
</button>
|
||||
|
||||
@@ -103,7 +103,7 @@ export class TeamList extends PureComponent<Props, any> {
|
||||
|
||||
<div className="page-action-bar__spacer" />
|
||||
|
||||
<a className="btn btn-success" href="org/teams/new">
|
||||
<a className="btn btn-primary" href="org/teams/new">
|
||||
New team
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -103,7 +103,7 @@ export class TeamMembers extends PureComponent<Props, State> {
|
||||
|
||||
<div className="page-action-bar__spacer" />
|
||||
|
||||
<button className="btn btn-success 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
|
||||
</button>
|
||||
</div>
|
||||
@@ -117,7 +117,7 @@ export class TeamMembers extends PureComponent<Props, State> {
|
||||
<div className="gf-form-inline">
|
||||
<UserPicker onSelected={this.onUserSelected} className="min-width-30" />
|
||||
{this.state.newTeamMember && (
|
||||
<button className="btn btn-success gf-form-btn" type="submit" onClick={this.onAddUserToTeam}>
|
||||
<button className="btn btn-primary gf-form-btn" type="submit" onClick={this.onAddUserToTeam}>
|
||||
Add to team
|
||||
</button>
|
||||
)}
|
||||
|
||||
@@ -75,7 +75,7 @@ export class TeamSettings extends React.Component<Props, State> {
|
||||
</div>
|
||||
|
||||
<div className="gf-form-button-row">
|
||||
<button type="submit" className="btn btn-success">
|
||||
<button type="submit" className="btn btn-primary">
|
||||
Update
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -62,7 +62,7 @@ exports[`Render should render component 1`] = `
|
||||
className="gf-form"
|
||||
>
|
||||
<button
|
||||
className="btn btn-success gf-form-btn"
|
||||
className="btn btn-primary gf-form-btn"
|
||||
disabled={true}
|
||||
type="submit"
|
||||
>
|
||||
@@ -81,7 +81,7 @@ exports[`Render should render component 1`] = `
|
||||
There are no external groups to sync with
|
||||
</div>
|
||||
<button
|
||||
className="empty-list-cta__button btn btn-xlarge btn-success"
|
||||
className="empty-list-cta__button btn btn-xlarge btn-primary"
|
||||
onClick={[Function]}
|
||||
>
|
||||
<i
|
||||
@@ -135,7 +135,7 @@ exports[`Render should render groups table 1`] = `
|
||||
className="page-action-bar__spacer"
|
||||
/>
|
||||
<button
|
||||
className="btn btn-success pull-right"
|
||||
className="btn btn-primary pull-right"
|
||||
onClick={[Function]}
|
||||
>
|
||||
<i
|
||||
@@ -180,7 +180,7 @@ exports[`Render should render groups table 1`] = `
|
||||
className="gf-form"
|
||||
>
|
||||
<button
|
||||
className="btn btn-success gf-form-btn"
|
||||
className="btn btn-primary gf-form-btn"
|
||||
disabled={true}
|
||||
type="submit"
|
||||
>
|
||||
|
||||
@@ -63,7 +63,7 @@ exports[`Render should render teams table 1`] = `
|
||||
className="page-action-bar__spacer"
|
||||
/>
|
||||
<a
|
||||
className="btn btn-success"
|
||||
className="btn btn-primary"
|
||||
href="org/teams/new"
|
||||
>
|
||||
New team
|
||||
|
||||
@@ -27,7 +27,7 @@ exports[`Render should render component 1`] = `
|
||||
className="page-action-bar__spacer"
|
||||
/>
|
||||
<button
|
||||
className="btn btn-success pull-right"
|
||||
className="btn btn-primary pull-right"
|
||||
disabled={false}
|
||||
onClick={[Function]}
|
||||
>
|
||||
@@ -121,7 +121,7 @@ exports[`Render should render team members 1`] = `
|
||||
className="page-action-bar__spacer"
|
||||
/>
|
||||
<button
|
||||
className="btn btn-success pull-right"
|
||||
className="btn btn-primary pull-right"
|
||||
disabled={false}
|
||||
onClick={[Function]}
|
||||
>
|
||||
@@ -341,7 +341,7 @@ exports[`Render should render team members when sync enabled 1`] = `
|
||||
className="page-action-bar__spacer"
|
||||
/>
|
||||
<button
|
||||
className="btn btn-success pull-right"
|
||||
className="btn btn-primary pull-right"
|
||||
disabled={false}
|
||||
onClick={[Function]}
|
||||
>
|
||||
|
||||
@@ -46,7 +46,7 @@ exports[`Render should render component 1`] = `
|
||||
className="gf-form-button-row"
|
||||
>
|
||||
<button
|
||||
className="btn btn-success"
|
||||
className="btn btn-primary"
|
||||
type="submit"
|
||||
>
|
||||
Update
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<input class="gf-form-input max-width-22" type="email" ng-model="ctrl.email" placeholder="email@test.com">
|
||||
</div>
|
||||
<div class="gf-form-button-row">
|
||||
<button type="submit" class="btn btn-success width-12">
|
||||
<button type="submit" class="btn btn-primary width-12">
|
||||
<i class="fa fa-save"></i> Create
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user