Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
e8324ed
fix ui update timpicker span
cakasuma Nov 9, 2018
12be43b
fix invalid time error
cakasuma Nov 9, 2018
8bb6dd5
change var and comment
cakasuma Nov 13, 2018
f9366b9
fixed state readability and add contributor
cakasuma Nov 13, 2018
01f3dee
change quotes: improve coding style
cakasuma Nov 13, 2018
43c11a3
start adding forward dates
OskarAhl Nov 14, 2018
172f187
start adding timepicker for start time
OskarAhl Nov 14, 2018
c9387af
Update dropdown styling to be responsive to text
OskarAhl Nov 15, 2018
bac9a74
Add show/hide to timepicker based on start time
OskarAhl Nov 15, 2018
aa0d094
start adding selected time from timepicker to start date
OskarAhl Nov 15, 2018
bc147d3
update setDateStart hour
OskarAhl Nov 16, 2018
00266be
fix hh:mm formatting of timepicker
OskarAhl Nov 16, 2018
d44f102
Merge branch 'development' of https://github.com/binary-com/webtrader…
OskarAhl Nov 19, 2018
281bfc0
start refactoring state, use jquery to set timepicker value
OskarAhl Nov 19, 2018
dc414ae
Merge branch 'development' of https://github.com/binary-com/webtrader…
OskarAhl Nov 20, 2018
3e5112f
update state.date_start with future contract HHMM, remove jquery
OskarAhl Nov 22, 2018
1b675aa
update selected time
OskarAhl Nov 26, 2018
f192690
Merge branch 'development' of https://github.com/binary-com/webtrader…
OskarAhl Nov 26, 2018
96d3e9a
refactor setDateStartHour and set timepicker to always start from 00:…
OskarAhl Nov 26, 2018
1e6d289
center dropdown text
OskarAhl Nov 26, 2018
4bb5a89
Fix trade input alignments
OskarAhl Nov 27, 2018
4afc053
refactor future contract timepicker variable names
OskarAhl Nov 27, 2018
acf7fe5
remove comment
OskarAhl Nov 27, 2018
afefd75
change window to card ui view
cakasuma Jan 18, 2019
055fffd
remove phone unsupported
cakasuma Jan 23, 2019
87d1bc1
New translations messages.pot (Russian)
ashkanx Jan 29, 2019
f58e473
New translations messages.pot (Chinese Simplified)
ashkanx Jan 29, 2019
dfac217
New translations messages.pot (Chinese Traditional)
ashkanx Jan 29, 2019
2de5494
New translations messages.pot (French)
ashkanx Jan 29, 2019
ac24661
New translations messages.pot (German)
ashkanx Jan 29, 2019
439d1e8
New translations messages.pot (Indonesian)
ashkanx Jan 29, 2019
ce55211
New translations messages.pot (Italian)
ashkanx Jan 29, 2019
e2705a0
New translations messages.pot (Japanese)
ashkanx Jan 29, 2019
76bf352
New translations messages.pot (Polish)
ashkanx Jan 29, 2019
e2788af
New translations messages.pot (Portuguese)
ashkanx Jan 29, 2019
f7562f2
New translations messages.pot (Spanish)
ashkanx Jan 29, 2019
d147b8e
New translations messages.pot (Thai)
ashkanx Jan 29, 2019
5936b6d
New translations messages.pot (Vietnamese)
ashkanx Jan 29, 2019
28ca54b
New translations messages.pot (Acholi)
ashkanx Jan 29, 2019
3314eeb
fix dropdown icon image
cakasuma Jan 30, 2019
b2340af
New translations messages.pot (French)
ashkanx Feb 1, 2019
1ebd1a9
New translations messages.pot (French)
ashkanx Feb 1, 2019
9edea58
New translations messages.pot (French)
ashkanx Feb 1, 2019
1afd397
New translations messages.pot (Indonesian)
ashkanx Feb 1, 2019
2a7b71c
add font weight bold
cakasuma Feb 1, 2019
e705bb3
New translations messages.pot (Indonesian)
ashkanx Feb 1, 2019
c7dcd42
New translations messages.pot (Indonesian)
ashkanx Feb 1, 2019
d0a6f17
Merge branch 'development' of github.com:binary-com/webtrader into os…
OskarAhl Feb 4, 2019
911990b
Keep time for future contracts instead of resetting to 00:00 for ever…
OskarAhl Feb 4, 2019
537d14f
upgrade dependencies security
cakasuma Feb 4, 2019
6f55cfb
Merge pull request #1329 from OskarAhl/oskar/forward_starting_contracts
oskar-binary Feb 4, 2019
02d033f
remove grunt if and register deploy conditional task
cakasuma Feb 4, 2019
89ca1a7
update binary style
cakasuma Feb 4, 2019
49a9526
Merge pull request #1388 from cakasuma/amam/upgrade_dependencies_secu…
oskar-binary Feb 4, 2019
66c8343
resolve conflicts
cakasuma Feb 4, 2019
35ff9a8
resolve package json
cakasuma Feb 4, 2019
e78079d
resolve conflict
cakasuma Feb 4, 2019
12e0395
deprecate live and beta
cakasuma Feb 7, 2019
bf35151
Merge pull request #1387 from cakasuma/amam/upgrade_dependencies_depl…
oskar-binary Feb 7, 2019
3c0b411
New translations messages.pot (Spanish)
ashkanx Feb 7, 2019
494481b
New translations messages.pot (Spanish)
ashkanx Feb 7, 2019
8b9d75e
add left and top validation for dialog
cakasuma Feb 8, 2019
a528209
Merge branch 'development' of https://github.com/binary-com/webtrader…
cakasuma Feb 8, 2019
0430e07
New translations messages.pot (Thai)
ashkanx Feb 8, 2019
0dbf08e
New translations messages.pot (Thai)
ashkanx Feb 8, 2019
132773d
New translations messages.pot (Thai)
ashkanx Feb 8, 2019
27679ca
Merge branch 'master' of https://github.com/binary-com/webtrader into…
cakasuma Feb 8, 2019
61fcc5e
resolve conflicts
cakasuma Feb 8, 2019
b915c04
fix yarn lock
cakasuma Feb 8, 2019
7f3b541
New translations messages.pot (Thai)
ashkanx Feb 8, 2019
0a19cf4
Merge pull request #1389 from cakasuma/amam/upgrade_dependencies_design
oskar-binary Feb 8, 2019
1339a23
New translations messages.pot (Polish)
ashkanx Feb 10, 2019
8fa721e
New translations messages.pot (Polish)
ashkanx Feb 10, 2019
e09d899
refactor and add timepicker validation for future contracts timepicker
OskarAhl Feb 11, 2019
1b68062
update future contract dropdown style
OskarAhl Feb 11, 2019
056f5e7
add timepicker validation for future starting contracts
OskarAhl Feb 11, 2019
79bb68c
set default hh_mm to now hh_mm
OskarAhl Feb 11, 2019
e328918
remove redundant function argument
OskarAhl Feb 11, 2019
92eb37a
Merge pull request #1390 from OskarAhl/oskar/add_date_validation
oskar-binary Feb 11, 2019
4c46d1e
New translations messages.pot (Russian)
ashkanx Feb 12, 2019
44fc9cf
New translations messages.pot (Russian)
ashkanx Feb 12, 2019
96a9e1e
add now validation only for today future contracts
OskarAhl Feb 12, 2019
aff8a66
add missing space
OskarAhl Feb 12, 2019
935f2f9
remove unused range variable
OskarAhl Feb 12, 2019
562d056
Merge pull request #1391 from OskarAhl/oskar/add_is_today_check
oskar-binary Feb 12, 2019
8f7f2e7
nit space
cakasuma Feb 13, 2019
58fda4b
Merge pull request #1309 from cakasuma/amam/invalid_time_error_and_ui
oskar-binary Feb 13, 2019
7a623b6
New translations messages.pot (Indonesian)
ashkanx Feb 13, 2019
704b8e5
add nav element for navigation
cakasuma Feb 13, 2019
7c4b14f
fix overflow logout
cakasuma Feb 13, 2019
b848c54
fix font size too big
cakasuma Feb 13, 2019
b42bf50
Merge pull request #1381 from binary-com/CrowdIn
ashkanx Feb 13, 2019
c2aa024
fix padding too big
cakasuma Feb 13, 2019
2f641cd
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
94b00eb
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
afc22d9
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
a5dcde1
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
f96a2ed
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
a6089aa
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
4ae8587
New translations messages.pot (Spanish)
ashkanx Feb 13, 2019
b9bc6fc
relative to navhead
cakasuma Feb 14, 2019
468b5a2
New translations messages.pot (Thai)
ashkanx Feb 14, 2019
db90532
New translations messages.pot (Thai)
ashkanx Feb 14, 2019
7503357
Merge pull request #1371 from cakasuma/amam/dialog_improvements
ashkanx Feb 14, 2019
01c5484
fix dialog max
cakasuma Feb 15, 2019
6e87856
added events dialog restore
cakasuma Feb 15, 2019
c4a7762
add single quotation
cakasuma Feb 15, 2019
41f9f37
Merge pull request #1393 from cakasuma/amam/fix_dialog_max
oskar-binary Feb 15, 2019
345ae9c
fix dialog overlapping and intermitten chart issue
cakasuma Feb 16, 2019
83f0020
add validation restore
cakasuma Feb 16, 2019
4f2a7ab
fix issue 1 about the default for duration date
cakasuma Feb 18, 2019
a4e166a
add rivets binder to edit mindatepicker
cakasuma Feb 18, 2019
909cf71
refactor logic statement
cakasuma Feb 19, 2019
17c31e7
fix naming rivets extra
cakasuma Feb 19, 2019
3f8bf50
alter logic to draw endtime
cakasuma Feb 19, 2019
8a6a458
git or logic exit tick time when date expiry not present
cakasuma Feb 19, 2019
deb5f71
reposition hasintradayunit function
cakasuma Feb 19, 2019
d25c59f
remove extra blank lines
cakasuma Feb 19, 2019
bc27a7e
Merge pull request #1395 from cakasuma/amam/ifx_endtime_expiry_remaining
oskar-binary Feb 19, 2019
97365e0
revert date expiry change
cakasuma Feb 19, 2019
bcfbc21
Merge pull request #1394 from cakasuma/amam/fix_dialog_overlapping
oskar-binary Feb 19, 2019
67029a8
fix minimize error
cakasuma Feb 19, 2019
54c16bc
Merge pull request #1396 from cakasuma/amam/fix_minimize_error
oskar-binary Feb 19, 2019
d87e9e1
Merge pull request #1392 from binary-com/CrowdIn
ashkanx Feb 19, 2019
a58ecf7
below nav approach
cakasuma Feb 20, 2019
381f345
revert change navbar fixed
cakasuma Feb 20, 2019
b234369
Merge pull request #1398 from cakasuma/amam/fix_first_min_max
oskar-binary Feb 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 12 additions & 27 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ module.exports = function (grunt) {
"!binary-com-jquery-dialogextended/**", "binary-com-jquery-dialogextended/jquery.dialogextend.min.js",
"binary-com-jquery-ui-timepicker/jquery.ui.timepicker.js", "binary-com-jquery-ui-timepicker/jquery.ui.timepicker.css",
"binary-com-longcode/dist/main.js",
"binary-style/binary.css",
"binary-style/binary.js",
"binary-style/src/images/favicons/**",
"@binary-com/binary-style/binary.css",
"@binary-com/binary-style/binary.js",
"@binary-com/binary-style/src/images/favicons/**",
"!highstock-release/**", "highstock-release/highstock.js", "highstock-release/themes/**", "highstock-release/modules/exporting.js", "highstock-release/modules/offline-exporting.js", "highstock-release/highcharts-more.js",
"moment/min/moment.min.js", "moment/locale/**",
"text/text.js",
Expand Down Expand Up @@ -318,30 +318,6 @@ module.exports = function (grunt) {
command: "mkdir beta; mv dist/compressed/* beta; mv beta dist/compressed"
}
},
if: {
live: {
// Target-specific file lists and/or options go here.
options: {
// execute test function(s)
test() {
return process.env.TRAVIS_BRANCH === "master";
}
},
//array of tasks to execute if all tests pass
ifTrue: [ "gh-pages:travis-deploy" ]
},
beta: {
// Target-specific file lists and/or options go here.
options: {
// execute test function(s)
test: function() {
return process.env.TRAVIS_BRANCH === "development";
}
},
//array of tasks to execute if all tests pass
ifTrue: [ "shell:moveEverythingToBETA_folder", "gh-pages:travis-deploy" ]
}
},
po2json: {
options: {
format: "raw"
Expand Down Expand Up @@ -403,4 +379,13 @@ module.exports = function (grunt) {
grunt.registerTask("deploy-branch", ["default","gitinfo", "clean:current_branch", "copy:copy_current_branch", "gh-pages:deploy-branch"]);
/* clean all the files in gh-pages branch */
grunt.registerTask("gh-pages-clean", ["gh-pages:clean"]);

// conditional switch for deployment
grunt.registerTask("deploy", function () {
if (process.env.TRAVIS_BRANCH === "master") {
grunt.task.run(["gh-pages:travis-deploy"]);
} else if (process.env.TRAVIS_BRANCH === "development") {
grunt.task.run(["shell:moveEverythingToBETA_folder", "gh-pages:travis-deploy"]);
}
});
};
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-cssmin": "^0.12.2",
"grunt-contrib-htmlmin": "^0.4.0",
"grunt-contrib-imagemin": "^1.0.1",
"grunt-contrib-htmlmin": "^3.0.0",
"grunt-contrib-imagemin": "^3.1.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-uglify": "^0.8.0",
"grunt-contrib-uglify": "^4.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-gh-pages": "^2.0.0",
"grunt-gh-pages": "^3.1.0",
"grunt-gitinfo": "^0.1.7",
"grunt-if": "^0.1.5",
"grunt-newer": "^1.2.0",
"grunt-po2json": "^0.3.0",
"grunt-remove-logging": "ehynds/grunt-remove-logging",
Expand All @@ -43,7 +42,7 @@
"lodash": "^4.17.5"
},
"scripts": {
"deploy-gh-pages": "grunt if:live if:beta",
"deploy-gh-pages": "grunt deploy",
"start": "grunt && concurrently -k \"grunt watch\" \"grunt connect\"",
"watch": "grunt watch",
"server": "grunt connect",
Expand Down Expand Up @@ -71,10 +70,11 @@
"url": "https://github.com/binary-com/webtrader/issues"
},
"dependencies": {
"@binary-com/binary-style": "^0.2.15",
"@binary-com/webtrader-charts": "0.5.2",
"alameda": "^1.2.0",
"binary-com-jquery-dialogextended": "binary-com/jquery-dialogextend#master",
"binary-com-jquery-ui-timepicker": "^1.0.1",
"binary-style": "^0.2.4",
"chosen-js": "^1.6.2",
"clipboard": "^1.7.1",
"datatables.net": "^1.10.15",
Expand All @@ -94,8 +94,7 @@
"require-css": "^0.1.10",
"rivets": "0.8.1",
"text": "requirejs/text",
"vanderlee-colorpicker": "^1.2.13",
"@binary-com/webtrader-charts": "0.5.2"
"vanderlee-colorpicker": "^1.2.13"
},
"contributors": [
{
Expand Down
4 changes: 4 additions & 0 deletions src/common/rivetsExtra.es6
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ rv.binders.slider = {
}
}

rv.binders.datepicker_mindate = {
routine: (el, value) => $(el).datepicker('option', 'minDate', value)
}

/* trun input element in jquery-ui-datepicker */
rv.binders.datepicker = {
priority: 94,
Expand Down
30 changes: 22 additions & 8 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ div.ui-tooltip { /* override default jquery ui max tooltip width */
outline: 0;
}

ul.ui-widget.ui-widget-content {
border: 1px solid #f2f2f2;
}

.ui-dialog .ui-dialog-content {
padding: .5em .5em;
padding-bottom: 0;
Expand Down Expand Up @@ -378,7 +382,7 @@ a.ui-state-default.ui-state-hover {
background: #dedede;
}
.ui-widget.ui-widget-content {
border: 1px solid #c5c5c5;
border: unset;
}
.ui-datepicker-close {
display: none;
Expand Down Expand Up @@ -439,6 +443,9 @@ button.ui-datepicker-current {
.ui-timepicker-title {
text-align: center;
}
.ui-timepicker-close {
display: none;
}
.ui-timepicker td {
border: none;
}
Expand Down Expand Up @@ -585,6 +592,10 @@ label.checkbox input:checked ~ span.check {
transform: scale(1) rotate(45deg);
}

.logo-parent {
padding: 6px 8px !important;
}

.chosen-disable {
width: 100%;
height: 29px;
Expand All @@ -593,13 +604,16 @@ label.checkbox input:checked ~ span.check {
}

.ui-icon-caret-1-e {
background-image: url('./images/single-angle-pointing-to-right.svg') !important;
background-size: 12px 10px !important;
background-position: 2px 5px !important;
margin: 0 !important;
top: calc(50% - 10px) !important;
right: 2px !important;
left: auto;
left: auto !important;
}

.ui-icon-caret-1-e:after {
content: "»";
font-family: roboto, sans-serif !important;
font-size: 16px;
font-weight: bold;
left: 25% !important;
top: 50% !important;
}

.ui-dialog-titlebar {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ window.requirejs.config({
"moment-locale":"lib/moment/locale",
"clipboard": "lib/clipboard/dist/clipboard.min",
"indicator_levels": "charts/indicators/level",
"binary-style": "lib/binary-style/binary",
"binary-style": "lib/@binary-com/binary-style/binary",
"babel-runtime/regenerator": "lib/regenerator-runtime/runtime",
"webtrader-charts" : "lib/@binary-com/webtrader-charts/dist/webtrader-charts.iife",
"chosen": "lib/chosen-js/chosen.jquery",
Expand Down
Loading