Some cleanup from initial integration: removed separate icon for viewing gcode

This commit is contained in:
Alex Ustyantsev committed 2013-02-03 12:05:45 +03:00
1 parent e49669430b
commit 4163d9436f
2 files changed
+9 -8

No files matched your search

+3 -3
View File
@@ -44,17 +44,17 @@ table th, table td {
table th.gcode_files_name, table td.gcode_files_name {
text-overflow: ellipsis;
text-align: left;
width: 50%;
width: 55%;
}
table th.gcode_files_size, table td.gcode_files_size {
text-align: right;
width: 20%;
width: 25%;
}
table th.gcode_files_action, table td.gcode_files_action {
text-align: center;
width: 30%;
width: 20%;
}
#temperature-graph {
+6 -5
View File
@@ -669,6 +669,7 @@ function GcodeFilesViewModel() {
})
}
<<<<<<< HEAD
self.viewFile = function() {
var filename = this.name;
$.ajax({
@@ -689,6 +690,10 @@ function GcodeFilesViewModel() {
}
self.removeFile = function(filename) {
=======
self.removeFile = function() {
var filename = this.name;
>>>>>>> Some cleanup from initial integration: removed separate icon for viewing gcode
$.ajax({
url: AJAX_BASEURL + "gcodefiles/delete",
type: "POST",
@@ -939,12 +944,8 @@ $(function() {
var terminalViewModel = new TerminalViewModel();
var gcodeFilesViewModel = new GcodeFilesViewModel();
var webcamViewModel = new WebcamViewModel();
<<<<<<< HEAD
var dataUpdater = new DataUpdater(connectionViewModel, printerStateViewModel, temperatureViewModel, controlsViewModel, speedViewModel, terminalViewModel, webcamViewModel);
=======
var gcodeViewModel = new GcodeViewModel();
var dataUpdater = new DataUpdater(connectionViewModel, printerStateViewModel, temperatureViewModel, speedViewModel, terminalViewModel, webcamViewModel, gcodeViewModel);
>>>>>>> Initial implementation of autoupdate gcodeview on status from server
var dataUpdater = new DataUpdater(connectionViewModel, printerStateViewModel, temperatureViewModel, controlsViewModel, speedViewModel, terminalViewModel, webcamViewModel, gcodeViewModel);
//~~ Print job control