File tree Expand file tree Collapse file tree 3 files changed +28
-7
lines changed
javascript/binary/pages/trade Expand file tree Collapse file tree 3 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -774,14 +774,19 @@ function displayTooltip(market, symbol){
774
774
'use strict' ;
775
775
var tip = document . getElementById ( 'symbol_tip' ) ,
776
776
guide = document . getElementById ( 'guideBtn' ) ,
777
- app = document . getElementById ( 'androidApp' ) ;
777
+ app = document . getElementById ( 'androidApp' ) ,
778
+ appstore = document . getElementById ( 'appstore' ) ;
778
779
if ( market . match ( / ^ v o l i d x / ) || symbol . match ( / ^ R / ) || market . match ( / ^ r a n d o m _ i n d e x / ) || market . match ( / ^ r a n d o m _ d a i l y / ) ) {
780
+ if ( guide ) guide . hide ( ) ;
779
781
tip . show ( ) ;
780
782
tip . setAttribute ( 'target' , page . url . url_for ( '/get-started/volidx-markets' ) ) ;
781
783
app . show ( ) ;
784
+ appstore . show ( ) ;
782
785
} else {
783
786
app . hide ( ) ;
787
+ appstore . hide ( ) ;
784
788
tip . hide ( ) ;
789
+ if ( guide ) guide . show ( ) ;
785
790
}
786
791
if ( market . match ( / ^ o t c _ i n d e x / ) || symbol . match ( / ^ O T C _ / ) || market . match ( / o t c _ s t o c k / ) || markets . by_symbol ( symbol ) . submarket . name . match ( / o t c _ s t o c k / ) ) {
787
792
tip . show ( ) ;
Original file line number Diff line number Diff line change 1
- #androidApp {
1
+ #app-container {
2
+ text-align : center ;
3
+ }
4
+
5
+ #androidApp , #appstore {
2
6
width : 100px ;
3
7
height : 30px ;
4
8
display : inline-block ;
5
- background : url (" ../images/pages/trade/google-play-badge.png" ) no-repeat ;
6
- background-size : 100px 30px ;
7
9
position : relative ;
8
10
}
9
11
12
+ #appstore {
13
+ background : url (" ../images/pages/applications/appstore.svg" ) 0 0 / 100px 30px no-repeat ;
14
+ margin-left : 10px ;
15
+ }
16
+
17
+ #androidApp {
18
+ background : url (" ../images/pages/trade/google-play-badge.png" ) 0 0 / 100px 30px no-repeat ;
19
+ }
20
+
10
21
/* trading page */
11
22
#trading_socket_container {
12
- #androidApp {
23
+ #androidApp , #appstore {
13
24
float : if ($LANGUAGE_DIRECTION == ltr , right , left );
14
25
}
15
26
@media (max-width : 768px ) {
16
27
#androidApp {
28
+ margin-left : 10px ;
29
+ }
30
+ #appstore , #androidApp {
17
31
margin : 0 auto ;
18
32
padding-bottom : 10px ;
19
- display : block ;
20
33
float : none ;
21
34
}
22
35
}
Original file line number Diff line number Diff line change 3
3
<div id="loading_container" class="overlay_container">
4
4
</div>
5
5
<div id="guideBtn"></div>
6
- <a href="https://goo.gl/5KmSsU" target="_blank" id="androidApp"></a>
6
+ <div id="app-container">
7
+ <a href="https://itunes.apple.com/app/apple-store/id1091187567?pt=117911266&ct=trading_page&mt=8" target="_blank" id="appstore"></a>
8
+ <a href="https://goo.gl/5KmSsU" target="_blank" id="androidApp"></a>
9
+ </div>
7
10
<div class="row" id="contract_symbol_container">
8
11
<div id="contract_markets_container">
9
12
<select id="contract_markets"></select>
You can’t perform that action at this time.
0 commit comments