Commit f195459b by Torkel Ödegaard

Removed some icons in action button

Trying to align some title case issues
parent ef723643
...@@ -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>
......
...@@ -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>
......
...@@ -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 Channel New channel
</a> </a>
</div> </div>
......
...@@ -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 Key Add API key
</button> </button>
</div> </div>
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
...@@ -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 Playlist New playlist
</a> </a>
</div> </div>
......
...@@ -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 Member</h5> <h5>Add team member</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 && (
......
...@@ -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 Member Add team member
</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 Member Add team member
</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 Member Add team member
</h5> </h5>
<div <div
className="gf-form-inline" className="gf-form-inline"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment