Improving User Preferences dialog
This commit is contained in:
1 parent
44fa8f0e21
commit
06fe7f0da7
6 files changed
+10
-7
No files matched your search
@@ -15,6 +15,7 @@
|
||||
<div class="form-buttons clearfix">
|
||||
{{#button class='btn btn-danger pull-left' action='resetDefaults'}}Reset to Defaults{{/button}}
|
||||
{{#button class='btn btn-primary pull-right' action='save'}}Save{{/button}}
|
||||
{{#button class='btn btn-default pull-right m-r-1' tagAttributes=(extend '' data-dismiss='modal')}}Cancel{{/button}}
|
||||
</div>
|
||||
{{/form}}
|
||||
</template>
|
||||
@@ -17,7 +17,8 @@ Template.hotkeysForm.onCreated(() => {
|
||||
resetDefaults() {
|
||||
const { contextName } = instance.data;
|
||||
const dialogOptions = {
|
||||
title: 'Reset Shortcuts to Default',
|
||||
class: 'themed',
|
||||
title: 'Reset Keyboard Shortcuts',
|
||||
message: 'Are you sure you want to reset all the shortcuts to their defaults?'
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-right p-r-1">Function</th>
|
||||
<th>Shortcut</th>
|
||||
<th class="text-center">Shortcut</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in new issue
Block a user