minor fixes in the profile list
This commit is contained in:
parent
05687b1699
commit
2c7ef276a7
3 changed files with 12 additions and 3 deletions
|
|
@ -109,8 +109,6 @@ $(function() {
|
|||
|
||||
self.workingarea.workingAreaWidthMM(self.currentProfileData().volume.width());
|
||||
self.workingarea.workingAreaHeightMM(self.currentProfileData().volume.depth());
|
||||
// self.control.currentProfile(self.currentProfileData());
|
||||
// console.log("lasercutterprofiles from_response", self.control.currentProfile());
|
||||
};
|
||||
|
||||
self.addProfile = function(callback) {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<td class="settings_printerProfiles_profiles_name"><span class="icon-star" data-bind="invisible: !isdefault()"></span> <span data-bind="text: name"></span></td>
|
||||
<td class="settings_printerProfiles_profiles_model" data-bind="text: model"></td>
|
||||
<td class="settings_printerProfiles_profiles_action">
|
||||
<a href="#" class="icon-star" title="{{ _('Set as default profile') }}" data-bind="click: function() { $root.makeDefault($data); }"></a> | <a href="#" class="icon-pencil" title="{{ _('Edit Profile') }}" data-bind="css: {disabled:$root.isReadOnly}, click: function() { if(!$root.isReadOnly($data)) $root.showEditProfileDialog($data); }"></a> | <a href="#" class="icon-trash" title="{{ _('Delete Profile') }}" data-bind="css: {disabled:$root.isReadOnly}, click: function() { if(!$root.isReadOnly($data)) $root.removeProfile($data); }"></a>
|
||||
<a href="#" class="icon-star" title="{{ _('Set as default profile') }}" data-bind="click: function() { $root.makeDefault($data); }"></a> | <a href="#" class="icon-pencil" title="{{ _('Edit Profile') }}" data-bind="css: {disabled:$root.isReadOnly($data)}, click: function() { if(!$root.isReadOnly($data)) $root.showEditProfileDialog($data); }"></a> | <a href="#" class="icon-trash" title="{{ _('Delete Profile') }}" data-bind="css: {disabled:$root.isReadOnly($data)}, click: function() { if(!$root.isReadOnly($data)) $root.removeProfile($data); }"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1376,6 +1376,17 @@ ul.dropdown-menu li a {
|
|||
height: 17px;
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
table th.settings_printerProfiles_profiles_action a, table td.settings_printerProfiles_profiles_action a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
td.settings_printerProfiles_profiles_action a.disabled {
|
||||
color: #ccc;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.center {
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
|
|
|
|||
Loading…
Reference in a new issue