Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 702684b

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into pr/1517
# Conflicts: # js/languages/ru.json
2 parents 8ea1c38 + 685ee2e commit 702684b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2672
-500
lines changed

css/obBase.css

Lines changed: 56 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ label.fieldItem {
10561056
top: 0;
10571057
left: 0;
10581058
right: 0;
1059-
z-index: 7;
1059+
z-index: 1;
10601060
}
10611061

10621062
.modal-child {
@@ -4010,6 +4010,16 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
40104010
transition: width .35s cubic-bezier(0, 0, 0.2, 1);
40114011
}
40124012
4013+
.customizePrimaryColorRecommendations.show,
4014+
.customizeSecondaryColorRecommendations.show,
4015+
.customizeBackgroundColorRecommendations.show {
4016+
width: 273px;
4017+
}
4018+
4019+
.customizeTextColorRecommendations.show {
4020+
width: 121px;
4021+
}
4022+
40134023
.customColorChoice {
40144024
background: #fff;
40154025
display: inline-block;
@@ -4291,6 +4301,39 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
42914301
z-index: 14;
42924302
}
42934303
4304+
#ov1 #loadingModal.hide {
4305+
height: 0; /* kludge to allow top bar to fade in. Transitions don't work if display is none */
4306+
padding: 0;
4307+
overflow: hidden;
4308+
display: block;
4309+
}
4310+
4311+
#loadingModal #loadingModalContent {
4312+
position: absolute;
4313+
right: 0;
4314+
left: 0;
4315+
top: 50%;
4316+
margin-top: 120px;
4317+
opacity: 1;
4318+
transition: opacity 1s 5s ease;
4319+
box-sizing: border-box;
4320+
padding: 9px;
4321+
text-align: center;
4322+
}
4323+
4324+
#loadingModal #loadingModalBtns {
4325+
opacity: 1;
4326+
transition: opacity 1s 5s ease;
4327+
/* this seems redundant, but if you don't also have a transition on the button container, for some reason the normal
4328+
background color will be used instead of the background color from the custCol-secondary class until the parent
4329+
transition is complete on Win64 10. */
4330+
}
4331+
4332+
#loadingModal.hide #loadingModalContent,
4333+
#loadingModal.hide #loadingModalBtns {
4334+
opacity: 0;
4335+
}
4336+
42944337
#ov1 .server-connect-modal {
42954338
z-index: 15;
42964339
}
@@ -4345,10 +4388,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
43454388
bottom: 0;
43464389
}
43474390

4348-
#loadingModal .btn {
4349-
-webkit-app-region: no-drag;
4350-
}
4351-
43524391
.pill {
43534392
border-radius: 2px;
43544393
padding: 5px 7px;
@@ -4876,7 +4915,8 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
48764915
border-bottom: solid 2px rgba(255,255,255,0.08);
48774916
}
48784917

4879-
#ov1 .textOpacity0 {
4918+
#ov1 .textOpacity0,
4919+
#ov1 .opacity0 {
48804920
opacity: 0;
48814921
}
48824922

@@ -5716,9 +5756,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
57165756
width: 260px;
57175757
}
57185758

5719-
#ov1 .width270 {
5720-
width: 270px;
5721-
}
57225759
#ov1 .width380 {
57235760
width: 380px;
57245761
}
@@ -5827,13 +5864,21 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
58275864
-webkit-filter: blur(20px) grayscale(1) contrast(0.5);
58285865
}
58295866

5867+
/* to fade out a visible element, add the fadeOut class */
5868+
/* to fade in an element with opacity 0, add the fadeIn class */
58305869

58315870
#ov1 .fadeOut {
58325871
opacity: 0;
58335872
pointer-events: none;
58345873
transition: opacity .3s cubic-bezier(0, 0, 0.2, 1);
58355874
}
58365875

5876+
#ov1 .fadeIn {
5877+
opacity: 1;
5878+
pointer-events: auto;
5879+
transition: opacity .3s cubic-bezier(0, 0, 0.2, 1);
5880+
}
5881+
58375882
#ov1 .foldIn {
58385883
height: 0;
58395884
padding: 0;
@@ -6103,7 +6148,8 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
61036148
#ov1.notFancy #userPage .js-modal-close [class *= "ion-"]:before,
61046149
#ov1.notFancy #obContainer .js-modal-close [class *= "ion-"]:before,
61056150
#ov1.notFancy #modalHolder .js-modal-close [class *= "ion-"]:before,
6106-
#ov1.notFancy #messageModal .js-modal-close [class *= "ion-"]:before{
6151+
#ov1.notFancy #messageModal .js-modal-close [class *= "ion-"]:before,
6152+
#ov1 #modalHolder .js-closeBuyWizardModal [class *= "ion-"]:before {
61076153
text-shadow: 0 0 1px rgba(0,0,0,1), 0 0 2px rgba(255,255,255, 1) !important;
61086154
}
61096155

index.html

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -40,58 +40,28 @@ <h2 class="ion-android-close custCol-text clickable"></h2>
4040
</div>
4141
</div>
4242
</div>
43-
<!--
44-
<div class="modal modal-opaque hide js-loadingMessageModal">
45-
<div class="modal-child modal-childMain">
46-
<div class="btn-corner btn-cornerTR js-closeIndexModal">
47-
<h2 class="ion-close-circled"></h2>
48-
</div>
49-
<h1 class="txt-center rowTop20"><i class="ion-android-sync spinner"></i> Loading...</h1>
50-
<p class="txt-center js-indexLoadingMsg1"></p>
51-
<p class="txt-center js-indexLoadingMsg2"></p>
52-
<p class="txt-center js-indexLoadingMsg3"></p>
53-
<h2 class="txt-center">
54-
&nbsp;<span class="js-indexLoadingMsg4"></span>&nbsp;
55-
</h2>
56-
<div class="rowTop20 width100 positionWrapper pad50">
57-
<div class="txtFieldWrapper">
58-
<input type="text" class="txtField borderRadius3 placeholder-dark" placeholder="http://serverIPorURL/api/v1/"
59-
style="height: 32px; text-indent: 10px;" name="newServer" id="indexNewServer" />
60-
<a class="btn btn-txt btn-insideInput js-newServerIndexApp">Set New Server</a>
61-
</div>
62-
</div>
63-
<div class="rowTop20 width100 positionWrapper pad50">
64-
<div class="txtFieldWrapper">
65-
<a class="btn btn-txtOnly js-defaultServerIndexApp">Set to http://localhost:18469/api/v1/</a>
66-
<a class="btn btn-txt btn-insideInput pull-right js-defaultServerIndexApp">Set to Default</a>
67-
</div>
68-
</div>
69-
<div class="positionBottom row60 width100">
70-
<a class="btn btn-txt hCentered js-closeIndexApp">Close Application</a>
71-
</div>
72-
</div>
73-
</div>
74-
</div>
75-
-->
7643
<div id="statusBar"></div>
7744
<div id="pageNav" class="bar navBar navBar-main custCol-secondary padding0"></div>
7845
<!-- the loading modal must be on top of the page nav or the reload button is hidden -->
7946
<div id="loadingModal" class="modal modal-opaque js-loadingModal top0 hide">
8047
<div class="spinner-with-logo fullCentered">
8148
<i class="ion-android-sync spinner fontSize30 spinner-with-logo-icon"></i>
8249
</div>
83-
<div class="width100 positionTop">
84-
<a class="btn btn-txt rowTop10 marginRight10 pull-right js-indexReload"><i class="ion-android-sync"></i> <span class="js-translate" data-translate="Reload"></span></a>
85-
<a class="btn btn-txt rowTop10 marginRight10 pull-right" href="#home"><i class="ion-home"></i> <span class="js-translate" data-translate="LoadIndex"></span></a>
50+
<div id="loadingModalContent">
51+
<p class="fontSize16 js-translate" data-translate="errorMessages.loadingViewError"></p>
52+
<div id="loadingModalBtns">
53+
<a class="btn btn-large marginRight10 custCol-secondary custCol-text js-indexReload"><i class="ion-android-sync"></i> <span class="js-translate" data-translate="Reload"></span></a>
54+
<a class="btn btn-large custCol-secondary custCol-text" href="#home"><i class="ion-eye"></i> <span class="js-translate" data-translate="LoadIndex"></span></a>
55+
</div>
56+
8657
</div>
8758
</div>
8859

8960
<!--TODO: modularize non-modular scripts -->
9061
<script src="js/utils/list.min.js"></script>
9162

9263
<script>
93-
var app = require('./js/main'),
94-
remote = require('remote');
64+
var app = require('./js/start');
9565

9666
window.translateIndex = function(){
9767
$('.js-translate').each(function() {

js/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function App() {
1818
// TODO: rather than attach the serverConfigs CL
1919
// in main.js, pass in the instance here so the
2020
// dependency is more explicit.
21-
};
21+
}
2222

2323
App.prototype.connectHeartbeatSocket = function() {
2424
var activeServer = this.serverConfigs.getActive();

0 commit comments

Comments
 (0)