diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/io/workflow/newFileDialog/new-file-location.reel | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/io/workflow/newFileDialog/new-file-location.reel')
3 files changed, 119 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 | ||