Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redone HPLC form #4

Open
wants to merge 95 commits into
base: saxs_newWebService
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
8573760
put puckForm as a new page instead of a window, add new column at con…
Nov 16, 2016
2f9c6e7
created class crystalFormView
Nov 16, 2016
5c2a829
Shipping tab: edit in new window, create the electric density view, a…
Nov 17, 2016
e89d8c9
Generalize shipment part 1
Nov 21, 2016
9f831bb
- Generalize shipment 2
Nov 21, 2016
779b339
changing shippingForm
Nov 21, 2016
83ec9c4
change header in shipment view
Nov 22, 2016
10c2ad5
working on shipment edit form
Nov 22, 2016
e59c77b
working on shipment save
Nov 22, 2016
56ed979
checkout
Nov 22, 2016
3836a99
parcel panel view
Nov 22, 2016
42a3703
show container panel on the new template
Nov 22, 2016
bf3ad2d
Working on the grid in the shipment
Nov 23, 2016
86f44c2
fix issues when loading the parcel panels
Nov 23, 2016
96dbf77
Change view of parcel panels
Nov 25, 2016
eee1f1a
how to add stock solutions
Nov 25, 2016
29d9381
add stock solutions
Nov 25, 2016
ebbbf21
updating stock solution when adding to dewar
Nov 28, 2016
e32ed00
Add stockSolutionContainer and remove
Dec 1, 2016
0202b2d
min
Dec 1, 2016
c881b86
>>
Dec 1, 2016
9e4c80d
change warning and error rows background when selected
Dec 1, 2016
66391fb
add stock solution
Dec 5, 2016
b93f62d
fix issue when containerId of row is null
Dec 6, 2016
a6fdcb2
disable container type combo box when datacollection
Dec 6, 2016
180c3f5
fix issue drawing puck on datacollection view
Dec 7, 2016
89336e2
check if containerId is null
Dec 8, 2016
1466c67
merging
Dec 8, 2016
0d46842
merge complete
Dec 8, 2016
4637731
change sampleChanger according to the row selected
Dec 12, 2016
bd8377c
mergins
Dec 12, 2016
ef5ab00
Merge branch 'master' of https://github.com/antolinos/EXI into mx_121216
Dec 12, 2016
5abc5ae
Changes:
Dec 16, 2016
6c56a95
min
Dec 16, 2016
9f3e9ec
add middle alin table class
Dec 16, 2016
35f7443
min
Dec 19, 2016
eaf2282
min
Dec 19, 2016
4c11e4d
set cell values by spaceGroup
Dec 20, 2016
6536fc5
min
Dec 21, 2016
6643dde
working on primary data view almost done
Dec 21, 2016
4a7cccf
min
Dec 21, 2016
7b761bf
Redone HTLC form
Dec 21, 2016
d048aab
data reduction
Dec 21, 2016
453250f
narrow frame grid
Dec 21, 2016
06e062b
updating and creating crystal
Dec 22, 2016
21e2073
making plates work
Dec 22, 2016
4d3a1af
plates are drawn but the grid is not filled
Dec 22, 2016
f968065
click event from grid
Dec 22, 2016
dc60305
plates working
Dec 22, 2016
75fb2ee
Sessiongrid filters by beamline in config
Dec 22, 2016
1f44c6e
Merged
Dec 22, 2016
cf434cc
Preparing release 0.9.8
Dec 22, 2016
1d2a4b9
merging
Dec 22, 2016
0a8b577
merging ended
Dec 22, 2016
171c091
disable Shipment
Dec 22, 2016
77600b5
Config changes
Dec 22, 2016
04b33ce
persist notifyjs
Dec 22, 2016
28cea99
Preparing release 0.9.8
Dec 22, 2016
50040a4
Version 0.9.8
Dec 22, 2016
ff7a586
click listeners in plates
Jan 4, 2017
630ff04
enable shipment
Jan 4, 2017
d464219
notify not working
Jan 4, 2017
ea397bb
notify-js removed
Jan 4, 2017
39b5838
Complicated shipping
Jan 11, 2017
f8a692e
Fix legend, add unload SC button
Jan 11, 2017
9426951
different spreadsheet for Other, set the most recent crystalGroup whe…
Jan 11, 2017
05448e8
Changes on primary data main view
Jan 11, 2017
93ad287
Fix issues when selecting acronym. Don
Jan 11, 2017
8719b3c
Fix some problem when rendering the containers in a parcel
Jan 12, 2017
24a35c6
Tracking version of EXI
Jan 12, 2017
19c5d98
Tracking version of EXI
Jan 12, 2017
a775b54
Merge branch 'mx_simplifyShipment' of https://github.com/sergiogf93/E…
Jan 12, 2017
f7d369b
Merge of new shipment
Jan 12, 2017
1493935
fix tooltip for pucks
Jan 12, 2017
910f632
Merge branch 'DEV' of https://github.com/antolinos/EXI into test_pull
Jan 12, 2017
a94ebe7
working on shipping
Jan 13, 2017
824750b
fixed problem when filtering beamlines
Jan 17, 2017
1ff2741
labContacts view, menu dropdown, ...
Jan 18, 2017
1f41ef7
Added abinitio grid and removed tabs from primary data viewer
Jan 19, 2017
41cc459
working on frames problem
Jan 19, 2017
0f95fb2
pull
Jan 19, 2017
fcb548e
fix frames problem
Jan 19, 2017
8df9192
merged
Jan 19, 2017
5cf754f
Remove test classes and some work on the click listeners in the plate…
Jan 19, 2017
983de47
merging
Jan 23, 2017
34ad334
min
Jan 23, 2017
2ba4a65
start scatter viewer
Jan 24, 2017
f6e3e47
Changes in shipment, including the autoincrementing sample names; min…
Jan 27, 2017
7c3077f
prepare experiment show if sessionId
Jan 27, 2017
3b4be09
Merge pull request #1 from sergiogf93/details
antolinos Jan 27, 2017
6ed945b
Prepare experiment is disabled
Jan 27, 2017
538fd10
Merge branch 'DEV' of https://github.com/antolinos/EXI into DEV
Jan 27, 2017
0bc38bf
Shipments on Prepare experiment are shown even if there is not sessio…
Jan 27, 2017
ba5a82d
Added title to html page
Jan 27, 2017
ffa51da
Preparing the test version alpha
Jan 27, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 33 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ module.exports = function(grunt) {
files : {

'min/exi.js' : [ "js/dust/**/*js", "js/core/**/*js"],
'min/exi.mx.js' : ["js/mx/**/*js"],
'min/exi.saxs.js' : ["js/saxs/**/*js"],
'min/exi.test.js' : ["js/test/**/*js"],
'min/bower_components.min.js' : [
"bower_components/jquery/dist/jquery.min.js",
'min/exi.mx.js' : ["js/mx/**/*js"],
'min/exi.saxs.js' : ["js/saxs/**/*js"],
'min/exi.test.js' : ["js/test/**/*js"],
'min/exi.tracking.js' : ["js/tracking/**/*js"],
'min/bower_components.min.js' : [

"bower_components/jquery/dist/jquery.min.js",
"bower_components/lightbox2/dist/js/lightbox.min.js",
"bower_components/jquery-lazy/jquery.lazy.min.js",
"bower_components/dustjs-linkedin/dist/dust-full.min.js",
Expand All @@ -50,7 +52,8 @@ module.exports = function(grunt) {
"bower_components/exi-ui-utils/min/exi-ui-utils.min.js",
"bower_components/ispyb-js-api/min/ispyb-js-api.min.js",
"bower_components/exi-ui-viz/min/exi-ui-viz.min.js",
" bower_components/three/build/three.min.js"
"bower_components/three/build/three.min.js",
"bower_components/notifyjs/dist/notify.js"
]
}
}
Expand All @@ -71,7 +74,13 @@ module.exports = function(grunt) {
'min/exi.test.js',
'min/precompiled.templates.min.js'
],
'min/lightbox.js' : [
'min/exi.tracking.min.js' : [
'min/exi.js',
'min/exi.tracking.js',
'min/exi.test.js',
'min/precompiled.templates.min.js'
],
'min/lightbox.js' : [
'bower_components/lightbox2/dist/js/lightbox.js'

],
Expand Down Expand Up @@ -108,7 +117,7 @@ module.exports = function(grunt) {
reporter: require('jshint-stylish'),
jshintrc : '.jshintrc'
},
prod: [ 'js/core/**/*.js', 'js/mx/**/*.js', 'js/saxs/**/*.js', 'js/viewer/**/*.js']
prod: [ 'js/core/**/*.js', 'js/mx/**/*.js', 'js/saxs/**/*.js', 'js/tracking/**/*.js', 'js/viewer/**/*.js']
},
plato: {
all : {
Expand Down Expand Up @@ -136,6 +145,19 @@ module.exports = function(grunt) {
files: {
'reports/mx': ['js/mx/**/*.js'],
}
},
tracking: {
options : {
complexity : {
logicalor : true,
switchcase : true,
forin : true,
trycatch : true
}
},
files: {
'reports/tracking': ['js/tracking/**/*.js'],
}
},
saxs: {
options : {
Expand Down Expand Up @@ -178,6 +200,8 @@ module.exports = function(grunt) {
'saxs/dev.html': 'saxs/index.tpl.html'
},{
'mx/dev.html' : 'mx/index.tpl.html'
},{
'tracking/dev.html' : 'tracking/index.tpl.html'
}]
}
},
Expand All @@ -192,7 +216,7 @@ module.exports = function(grunt) {
},
wiredep: {
target: {
src: ['mx/dev.html', 'saxs/dev.html'], // point to your HTML file.
src: ['mx/dev.html', 'saxs/dev.html', 'tracking/dev.html'], // point to your HTML file.
}
},
dustjs: {
Expand Down
9 changes: 5 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@
"lightbox2": "2.8.2",
"bootstrap": "^3.3.7",
"exi-ui-utils": "*",
"bootstrap-year-calendar": "^1.1.0",
"notifyjs": "^0.4.2",
"three": "*"
"bootstrap-year-calendar": "^1.1.0",
"three": "*",
"notifyjs": "*"
},
"devDependencies": {
"uglymol": "^0.1.0"
},
"resolutions": {
"lightbox2": "2.8.2"
"lightbox2": "2.8.2",
"jquery": "1.9.1 - 3"
}
}
63 changes: 42 additions & 21 deletions css/exi.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@


.unselectable-text {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
userf-select: none;
}

/** Shipment **/

.handsontable td.htInvalid {
background-color: #ffffff!important;
}

.container-widget {
fill:#CCCCCC;
stroke:black;
Expand All @@ -8,16 +23,18 @@
}

.stock-solution {
border-radius: 5px;
padding: 5px;
border-radius: 0px;
padding: 0px;
background: #ffffff;
opacity: 1;
font-size: 10px;
border : 2px solid #000000;
border : 0px solid #000000;
}

.stock-solution-selected {
border : 2px solid #99ff66;
border-color:#99ff66 !important;
border-style: solid !important;
border-width: 2px !important;
}

.table.borderless tbody>tr>td {
Expand Down Expand Up @@ -50,6 +67,16 @@

/** SAXS queue grid **/

.plate-square {
stroke : black;
stroke-width : 1
}

.plate-square-selected {
stroke : #23eeff;
stroke-width : 2
}

.blue-bottom-border-row {
border-bottom: 2px solid #3892d3 !important;
}
Expand Down Expand Up @@ -414,7 +441,7 @@ overflow-x: hidden;
}

.selected-region:hover{
//cursor: pointer;
/*//cursor: pointer;*/

overflow:auto;

Expand All @@ -424,11 +451,7 @@ overflow-x: hidden;
}
.selected-region{
height:300px;
//overflow:auto;




/*overflow:auto;*/
}

.result-autoprocessing-anchor{
Expand Down Expand Up @@ -569,7 +592,7 @@ overflow-x: hidden;

.summary_datacollection_parameter{
font-size : 10px;
#background-color:#FFFFFF;
/*background-color:#FFFFFF;*/

}

Expand Down Expand Up @@ -869,13 +892,13 @@ img.smalllazy {
border-radius : 3px;
height: 20px;
moz-border-radius : 3px;
#-webkit-box-shadow : 0px 2px 2px rgba(0,0,0,0.4);
#-moz-box-shadow : 0px 2px 2px rgba(0,0,0,0.4);
#box-shadow : 0px 2px 2px rgba(0,0,0,0.4);
/*#-webkit-box-shadow : 0px 2px 2px rgba(0,0,0,0.4);*/
/*#-moz-box-shadow : 0px 2px 2px rgba(0,0,0,0.4);
#box-shadow : 0px 2px 2px rgba(0,0,0,0.4);*/
font-size : 9px;
color : #ffffff;
padding : 1px 17px;
# background : #c20000;
/*# background : #c20000;*/
background : #F5A9A9;
background : -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c20000), color-stop(100%,#ff0055));
background : -moz-linear-gradient(top, #c20000 0%, #ff0055 100%);
Expand Down Expand Up @@ -989,8 +1012,8 @@ img.smalllazy {
.option-bar-menu{
margin: auto;
width: 50%;
#border:3px solid #8AC007;
#padding: 10px;
/*#border:3px solid #8AC007;
#padding: 10px;*/
}


Expand Down Expand Up @@ -1103,7 +1126,7 @@ img.smalllazy {

.sample-row-grid{
color : #157fcc;
#background-color : #157fcc;
/*#background-color : #157fcc;*/
}

.selected-row-grid{
Expand All @@ -1125,8 +1148,6 @@ img.smalllazy {
font-size : 9px;
padding : 1px 1px;
background : #F5F5F5;


}


Expand All @@ -1138,7 +1159,7 @@ img.smalllazy {
}

.btn-blue:hover{
#background : #A9D0F5;
/*#background : #A9D0F5;*/
cursor : pointer;
color : black;

Expand Down
2 changes: 1 addition & 1 deletion js/core/app/proposalmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ProposalManager.prototype.get = function(forceUpdate) {
localStorage.setItem("proposals", JSON.stringify(proposals));
_this.onActiveProposalChanged.notify();
};
EXI.getDataAdapter({async : true, onSuccess : onSuccess}).proposal.proposal.getProposalsInfo();
EXI.getDataAdapter({async : false, onSuccess : onSuccess}).proposal.proposal.getProposalsInfo();
}

return JSON.parse(localStorage.getItem("proposals"));
Expand Down
6 changes: 3 additions & 3 deletions js/core/controller/labcontactexicontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ LabContactExiController.prototype.init = function() {
adapter.proposal.labcontacts.getLabContacts();

/** Loading welcome page **/
EXI.addMainPanel(new AddressWelcomeMainView());
// EXI.addMainPanel(new AddressWelcomeMainView());

}).enter(this.setPageBackground);

Path.map("#/proposal/address/:lacontactId/main").to(function() {
Path.map("#/proposal/address/:labcontactId/main").to(function() {
var mainView = new AddressMainView();
EXI.addMainPanel(mainView);
mainView.load(this.params['lacontactId']);
mainView.load(this.params['labcontactId']);
}).enter(this.setPageBackground);

};
27 changes: 20 additions & 7 deletions js/core/controller/shippingexicontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,37 @@ ShippingExiController.prototype.init = function() {

Path.map("#/proposal/shipping/nav").to(function() {
loadShipmentNavigationList();
EXI.addMainPanel(new ShippingWelcomeMainView());
// EXI.addMainPanel(new ShippingWelcomeMainView());
});

Path.map("#/shipping/:shippingId/main").to(function() {
var mainView = new ShippingMainViewTest();
var mainView = new ShippingMainView();
EXI.addMainPanel(mainView);
mainView.load(this.params['shippingId']);
}).enter(this.setPageBackground);

Path.map("#/shipping/main").to(function() {
var mainView = new ShippingMainViewTest();
Path.map("#/shipping/main").to(function() {

var mainView = new ShippingMainView();
EXI.addMainPanel(mainView);
mainView.load();
}).enter(this.setPageBackground);


Path.map("#/shipping/edv").to(function() {
var mainView = new ElectronDensityViewer();
Path.map("#/shipping/:shippingId/:shippingStatus/containerId/:containerId/edit").to(function() {
var mainView = new PuckFormView();
EXI.addMainPanel(mainView);
mainView.load(this.params['containerId'],this.params['shippingId'],this.params['shippingStatus']);
}).enter(this.setPageBackground);

Path.map("#/shipping/:shippingId/containerId/:containerId/sampleId/:sampleId/editCrystalForm").to(function() {
var mainView = new CrystalFormView();
EXI.addMainPanel(mainView);
mainView.load(this.params['containerId'],this.params['sampleId'],this.params['shippingId']);
}).enter(this.setPageBackground);

// Path.map("#/shipping/edv").to(function() {
// var mainView = new ElectronDensityViewer();
// EXI.addMainPanel(mainView);
// }).enter(this.setPageBackground);

};
Loading