Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Jan 6, 2024
1 parent d75f805 commit 1ea4836
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions frameworks/keyed/gxt/src/App.gts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Component, cell } from "@lifeart/gxt";
import { type Item, buildData, swapRows, updateData } from "./utils";
import { Row } from "./Row.gts";
import { RemoveIcon } from './RemoveIcon.gts';

export class Application extends Component {
itemsCell = cell<Item[]>([], 'items');
Expand Down Expand Up @@ -61,7 +60,7 @@ export class Application extends Component {
<div class='col-md-6'>
<div class='row'>
<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.run}}
id='run'
Expand All @@ -70,7 +69,7 @@ export class Application extends Component {
</button></div>

<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.runlots}}
id='runlots'
Expand All @@ -79,7 +78,7 @@ export class Application extends Component {
</button></div>

<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.add}}
id='add'
Expand All @@ -88,7 +87,7 @@ export class Application extends Component {
</button></div>

<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.update}}
id='update'
Expand All @@ -97,7 +96,7 @@ export class Application extends Component {
</button></div>

<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.clear}}
id='clear'
Expand All @@ -106,7 +105,7 @@ export class Application extends Component {
</button></div>

<div class='col-sm-6 smallpad'><button
class='btn-primary btn-block'
class='btn btn-primary btn-block'
type='button'
{{on "click" this.actions.swaprows}}
id='swaprows'
Expand All @@ -118,7 +117,7 @@ export class Application extends Component {
</div>
</div>
</div>
</div>


<table class='table table-hover table-striped test-data'>
<tbody>
Expand All @@ -132,6 +131,10 @@ export class Application extends Component {
{{/each}}
</tbody>
</table>
<RemoveIcon />
<span
class="preloadicon glyphicon glyphicon-remove"
aria-hidden="true"
></span>
</div>
</template>
}
2 changes: 1 addition & 1 deletion frameworks/keyed/gxt/src/RemoveIcon.gts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const RemoveIcon = <template>
<span
class='preloadicon glyphicon glyphicon-remove'
class='glyphicon glyphicon-remove'
aria-hidden='true'
></span>
</template>;

0 comments on commit 1ea4836

Please sign in to comment.