diff options
Diffstat (limited to 'js/io/workflow/newFileDialog')
8 files changed, 605 insertions, 0 deletions
diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css new file mode 100644 index 00000000..1e857874 --- /dev/null +++ b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css | |||
@@ -0,0 +1,50 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | .newfileLocation .newFileName{ | ||
8 | width:70%; | ||
9 | margin-left:5px; | ||
10 | } | ||
11 | |||
12 | .newfileLocation .newFileDirectory{ | ||
13 | width:70%; | ||
14 | margin-left:5px; | ||
15 | } | ||
16 | |||
17 | .newfileLocation .templateSelection{ | ||
18 | float:left; | ||
19 | width:20%; | ||
20 | height:90%; | ||
21 | padding-right: 10px; | ||
22 | } | ||
23 | |||
24 | .newfileLocation .templateSelection .template{ | ||
25 | width:80%; | ||
26 | height:60%; | ||
27 | background-color: #e1e1e1; | ||
28 | border:1px solid #000000; | ||
29 | box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8); | ||
30 | } | ||
31 | |||
32 | .newfileLocation .locationSelection{ | ||
33 | float:left; | ||
34 | width:75%; | ||
35 | } | ||
36 | |||
37 | .newfileLocation .locationSelection div{ | ||
38 | padding-bottom: 5px; | ||
39 | } | ||
40 | |||
41 | .newfileLocation .locationSelection span{ | ||
42 | padding-right: 5px; | ||
43 | white-space: nowrap; | ||
44 | } | ||
45 | |||
46 | .newfileLocation .findDirectory{ | ||
47 | width: 17px; | ||
48 | height:17px; | ||
49 | vertical-align: bottom; | ||
50 | } \ No newline at end of file | ||
diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html new file mode 100644 index 00000000..1be4e485 --- /dev/null +++ b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html | |||
@@ -0,0 +1,41 @@ | |||
1 | <!DOCTYPE HTML> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <link rel="stylesheet" type="text/css" href="new-file-location.css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | |||
14 | "owner":{ | ||
15 | "module": "js/io/workflow/newFileDialog/new-file-location.reel", | ||
16 | "name": "NewFileLocation", | ||
17 | "properties": { | ||
18 | "element": {"#": "newfileLocation"} | ||
19 | } | ||
20 | } | ||
21 | } | ||
22 | </script> | ||
23 | </head> | ||
24 | <body> | ||
25 | <div id="newfileLocation" class="newfileLocation"> | ||
26 | <div class="templateSelection"> | ||
27 | <div class="template"></div> | ||
28 | </div> | ||
29 | <div class="locationSelection"> | ||
30 | <div><span>NAME:</span><input id="newFileName" class="nj-skinned newFileName" type="search" value="" /></div> | ||
31 | <div> | ||
32 | <span>DIRECTORY:</span> | ||
33 | <input type="search" id="newFileDirectory" class="nj-skinned newFileDirectory" /> | ||
34 | <img id="findDirectory" class="findDirectory" src="images/panels/project-panel/icon-button-search.png" /> | ||
35 | </div> | ||
36 | <div><span>HEIGHT:</span><span class="templateHeight" id="templateHeight">176 px</span></div> | ||
37 | <div><span>WIDTH:</span><span class="templateWidth" id="templateWidth">220 px</span></div> | ||
38 | </div> | ||
39 | </div> | ||
40 | </body> | ||
41 | </html> \ No newline at end of file | ||
diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js new file mode 100644 index 00000000..4c90d1a1 --- /dev/null +++ b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js | |||
@@ -0,0 +1,28 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | var newFileWorkflowControllerModule = require("js/io/workflow/newFileDialog/new-file-workflow-controller"); | ||
10 | |||
11 | var NewFileLocation = exports.NewFileLocation = Montage.create(Component, { | ||
12 | |||
13 | willDraw: { | ||
14 | enumerable: false, | ||
15 | value: function() {} | ||
16 | }, | ||
17 | |||
18 | draw: { | ||
19 | enumerable: false, | ||
20 | value: function() {} | ||
21 | }, | ||
22 | |||
23 | didDraw: { | ||
24 | enumerable: false, | ||
25 | value: function() {} | ||
26 | } | ||
27 | |||
28 | }); \ No newline at end of file | ||
diff --git a/js/io/workflow/newFileDialog/new-file-options-navigator.reel/new-file-options-navigator.css b/js/io/workflow/newFileDialog/new-file-options-navigator.reel/new-file-options-navigator.css new file mode 100644 index 00000000..01f0885e --- /dev/null +++ b/js/io/workflow/newFileDialog/new-file-options-navigator.reel/new-file-options-navigator.css | |||
@@ -0,0 +1,95 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | .newfile{ | ||
8 | font-size:12px; | ||
9 | width:510px; | ||
10 | height:500px; | ||
11 | padding-left: 15px; | ||
12 | padding-top: 15px; | ||
13 | background-color:#313131; | ||
14 | } | ||
15 | |||
16 | .newfile .container{ | ||
17 | border: 1px groove #000000; | ||
18 | overflow: auto; | ||
19 | background-color:#5f5f5f; | ||
20 | } | ||
21 | |||
22 | .newfile .left-nav{ | ||
23 | float:left; | ||
24 | width:27%; | ||
25 | height:90%; | ||
26 | overflow-x:hidden; | ||
27 | overflow-y:auto | ||
28 | } | ||
29 | |||
30 | .newfile .right-nav{ | ||
31 | float:left; | ||
32 | width:70%; | ||
33 | height:90%; | ||
34 | overflow: hidden; | ||
35 | } | ||
36 | |||
37 | .newfile .right-top{ | ||
38 | border: 1px groove #000000; | ||
39 | overflow: auto; | ||
40 | min-height:150px; | ||
41 | height:55%; | ||
42 | width:auto; | ||
43 | } | ||
44 | |||
45 | .newfile .right-bottom{ | ||
46 | border: 1px groove #000000; | ||
47 | overflow: auto; | ||
48 | height:45%; | ||
49 | padding: 10px; | ||
50 | } | ||
51 | |||
52 | .newfile .driversList{ | ||
53 | padding: 3px; | ||
54 | text-align: center; | ||
55 | } | ||
56 | |||
57 | .newfile .driversList:hover{ | ||
58 | cursor:pointer; | ||
59 | } | ||
60 | |||
61 | .newfile .projectTypeHeader{ | ||
62 | border-bottom:1px solid #000000; | ||
63 | padding:5px; | ||
64 | text-align: center; | ||
65 | font-weight: bold; | ||
66 | } | ||
67 | |||