aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 22:08:04 -0800
committerValerio Virgillito2012-02-16 22:08:04 -0800
commit0175cb67e426a27a3ecfb7b81317caa383c8a5a5 (patch)
treeb4fbfcaabaadff508ad5463e8f71fd643995aacb /js/io/ui
parentfe71cb9aa1700199c0089166ad54fc56eb760644 (diff)
parent9f0c4efe2ed9a00f2c5d85c9d88a8040fedb5d8f (diff)
downloadninja-0175cb67e426a27a3ecfb7b81317caa383c8a5a5.tar.gz
Merge branch 'refs/heads/master' into components
Diffstat (limited to 'js/io/ui')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js8
-rw-r--r--js/io/ui/save-as-dialog.reel/save-as-dialog.css57
-rw-r--r--js/io/ui/save-as-dialog.reel/save-as-dialog.html4
3 files changed, 43 insertions, 26 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index e5bad98e..a2283d46 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -88,7 +88,13 @@ exports.CloudPopup = Montage.create(Component, {
88 downloadCloudApp: { 88 downloadCloudApp: {
89 enumerable: false, 89 enumerable: false,
90 value: function() { 90 value: function() {
91 console.log(this._os); 91 if(this._os === 'mac') {
92 location.href = '/ninja_localcloud_for_mac.zip';
93 } else if (this._os === 'windows') {
94 location.href = '/ninja_localcloud_for_windows.zip';
95 } else {
96 alert('Your operating system is not supported by the Ninja Local Cloud App.');
97 }
92 } 98 }
93 }, 99 },
94 //////////////////////////////////////////////////////////////////// 100 ////////////////////////////////////////////////////////////////////
diff --git a/js/io/ui/save-as-dialog.reel/save-as-dialog.css b/js/io/ui/save-as-dialog.reel/save-as-dialog.css
index 40434c25..92970706 100644
--- a/js/io/ui/save-as-dialog.reel/save-as-dialog.css
+++ b/js/io/ui/save-as-dialog.reel/save-as-dialog.css
@@ -10,8 +10,12 @@
10 height:150px; 10 height:150px;
11 padding-left: 15px; 11 padding-left: 15px;
12 padding-right: 15px; 12 padding-right: 15px;
13 background-color:#313131;
14 color: #ffffff; 13 color: #ffffff;
14 background-color:#494949;
15 font-family: 'Droid Sans', sans-serif;
16 border-radius: 8px;
17 box-shadow: 0px 0px 8px rgba(0, 0, 0, .8);
18 text-shadow: 1px 1px 1px #000;
15} 19}
16 20
17.saveAsDialog .title{ 21.saveAsDialog .title{
@@ -24,7 +28,7 @@
24} 28}
25 29
26.saveAsDialog .locationSelection{ 30.saveAsDialog .locationSelection{
27 border: 1px groove #000000; 31 border: 1px solid #000000;
28 overflow: auto; 32 overflow: auto;
29 height:38%; 33 height:38%;
30 padding: 15px; 34 padding: 15px;
@@ -65,31 +69,38 @@
65 margin-left:3px; 69 margin-left:3px;
66} 70}
67 71
72.saveAsDialog .buttons button {
73 float: left;
74 width: 100px;
75 margin-top: 3px;
76}
77
68.saveAsDialog .okButton{ 78.saveAsDialog .okButton{
69 margin-right:25px; 79 margin: 0px 5px 0px 5px;
70 -webkit-box-align: center; 80 /*margin-right:25px;*/
71 text-align: center; 81 /*-webkit-box-align: center;*/
72 cursor: default; 82 /*text-align: center;*/
73 padding: 0px 6px 0px; 83 /*cursor: default;*/
74 border:2px solid #d1d1d1; 84 /*padding: 0px 6px 0px;*/
75 background-color: #e1e1e1; 85 /*border:2px solid #d1d1d1;*/
76 box-sizing: border-box; 86 /*background-color: #e1e1e1;*/
77 border-radius:10px; 87 /*box-sizing: border-box;*/
78 background-image: -webkit-linear-gradient(bottom, #e1e1e1 13%, #d1d1d1 58%, #e1e1e1 40%); 88 /*border-radius:10px;*/
79 cursor:pointer; 89 /*background-image: -webkit-linear-gradient(bottom, #e1e1e1 13%, #d1d1d1 58%, #e1e1e1 40%);*/
90 /*cursor:pointer;*/
80} 91}
81 92
82.saveAsDialog .cancelButton{ 93.saveAsDialog .cancelButton{
83 -webkit-box-align: center; 94 /*-webkit-box-align: center;*/
84 text-align: center; 95 /*text-align: center;*/
85 cursor: default; 96 /*cursor: default;*/
86 padding: 0px 6px 0px; 97 /*padding: 0px 6px 0px;*/
87 border:2px solid #d1d1d1; 98 /*border:2px solid #d1d1d1;*/
88 background-color: #e1e1e1; 99 /*background-color: #e1e1e1;*/
89 box-sizing: border-box; 100 /*box-sizing: border-box;*/
90 border-radius:10px; 101 /*border-radius:10px;*/
91 background-image: -webkit-linear-gradient(bottom, #e1e1e1 13%, #d1d1d1 58%, #e1e1e1 40%); 102 /*background-image: -webkit-linear-gradient(bottom, #e1e1e1 13%, #d1d1d1 58%, #e1e1e1 40%);*/
92 cursor:pointer; 103 /*cursor:pointer;*/
93} 104}
94 105
95.saveAsDialog input[type="button"]:disabled{ 106.saveAsDialog input[type="button"]:disabled{
diff --git a/js/io/ui/save-as-dialog.reel/save-as-dialog.html b/js/io/ui/save-as-dialog.reel/save-as-dialog.html
index f2011a34..4f0d5779 100644
--- a/js/io/ui/save-as-dialog.reel/save-as-dialog.html
+++ b/js/io/ui/save-as-dialog.reel/save-as-dialog.html
@@ -48,8 +48,8 @@
48 </div> 48 </div>
49 <div class="errorMsg"><span id="error" class="error"></span></div> 49 <div class="errorMsg"><span id="error" class="error"></span></div>
50 <div class="buttons"> 50 <div class="buttons">
51 <input id="cancelButton" type="button" value="CANCEL" class="cancelButton nj-skinned" /> 51 <button id="cancelButton" type="button" value="CANCEL" class="cancelButton nj-skinned" >CANCEL</button>
52 <input id="okButton" disabled="true" type="button" value="OK" class="okButton nj-skinned" /> 52 <button id="okButton" disabled="true" type="button" value="OK" class="okButton nj-skinned" >OK</button>
53 </div> 53 </div>
54 54
55</div> 55</div>