aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/popup
diff options
context:
space:
mode:
authorPierre Frisch2011-12-22 07:25:50 -0800
committerValerio Virgillito2012-01-27 11:18:17 -0800
commitb89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch)
tree0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /node_modules/montage/ui/popup
parent2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff)
downloadninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/popup')
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.css67
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.html120
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.js134
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.css17
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.html120
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.js186
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.css15
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.html35
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.js121
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.css70
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.html54
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.js519
12 files changed, 1458 insertions, 0 deletions
diff --git a/node_modules/montage/ui/popup/alert.reel/alert.css b/node_modules/montage/ui/popup/alert.reel/alert.css
new file mode 100755
index 00000000..6dee8b6a
--- /dev/null
+++ b/node_modules/montage/ui/popup/alert.reel/alert.css
@@ -0,0 +1,67 @@
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.montage-alert-dialog {
8 min-width: 300px;
9}
10.montage-alert-dialog .montage-alert-content {
11 font-size: 1.3em;
12 padding: 15px;
13
14}
15.montage-alert-dialog .montage-alert-actions {
16 float: right;
17}
18
19/*
20
21.montage-alert-dialog {
22 font-family: "AG Buch BQ Regular", "AG Buch BQ", Helvetica, Arial, sans-serif;
23 background-color: #333;
24 border: 1px solid #333;
25 border-radius: 5px;
26 margin: 0;
27 padding: 0px 3px;
28}
29
30.montage-alert-dialog .header {
31 height: 25px;
32 color: #fff;
33}
34
35.montage-alert-dialog .header h4 {
36 margin: 10px 0;
37 font-weight: normal;
38}
39
40.montage-alert-dialog .content {
41 text-align: center;
42 margin: 5px 0;
43 background-color: #e6e6e6;
44 padding: 10px;
45}
46
47.montage-alert-dialog .msg-container {
48 padding: 10px 0;
49 border-bottom: 1px solid #ccc;
50}
51
52.montage-alert-dialog .msg {
53 font-size: 18pt;
54 font-weight: normal;
55}
56
57.montage-alert-dialog .msg-detail {
58 font-size: 12pt;
59 font-weight: normal;
60 color: #cccccc;
61}
62
63.montage-alert-dialog .action-container {
64 padding: 10px 0;
65}
66*/
67
diff --git a/node_modules/montage/ui/popup/alert.reel/alert.html b/node_modules/montage/ui/popup/alert.reel/alert.html
new file mode 100755
index 00000000..f71da981
--- /dev/null
+++ b/node_modules/montage/ui/popup/alert.reel/alert.html
@@ -0,0 +1,120 @@
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="alert.css">
11 <script type="text/montage-serialization">
12{
13 "dynamictext1": {
14 "module": "montage/ui/dynamic-text.reel",
15 "name": "DynamicText",
16 "properties": {
17 "element": {
18 "#": "title"
19 }
20 },
21 "bindings": {
22 "value": {
23 "boundObject": {
24 "@": "owner"
25 },
26 "boundObjectPropertyPath": "title",
27 "oneway": true
28 }
29 }
30 },
31 "dynamictext2": {
32 "module": "montage/ui/dynamic-text.reel",
33 "name": "DynamicText",
34 "properties": {
35 "element": {
36 "#": "msg"
37 }
38 },
39 "bindings": {
40 "value": {
41 "boundObject": {
42 "@": "owner"
43 },
44 "boundObjectPropertyPath": "msg",
45 "oneway": true
46 }
47 }
48 },
49 "dynamictext3": {
50 "module": "montage/ui/dynamic-text.reel",
51 "name": "DynamicText",
52 "properties": {
53 "element": {
54 "#": "msg-detail"
55 }
56 },
57 "bindings": {
58 "value": {
59 "boundObject": {
60 "@": "owner"
61 },
62 "boundObjectPropertyPath": "details",
63 "oneway": true
64 }
65 }
66 },
67 "button1": {
68 "module": "montage/ui/button.reel",
69 "name": "Button",
70 "properties": {
71 "identifier": "Ok",
72 "element": {
73 "#": "action-ok"
74 }
75 },
76 "listeners": [
77 {
78 "type": "action",
79 "listener": {
80 "@": "owner"
81 }
82 }
83 ]
84 },
85 "owner": {
86 "module": "montage/ui/popup/alert.reel",
87 "name": "Alert",
88 "properties": {
89 "element": {
90 "#": "alert-container"
91 }
92 }
93 }
94}
95 </script>
96
97
98 </head>
99 <body>
100 <div id="alert-container" class="montage-alert-dialog">
101
102 <div class="montage-popup-header">
103 <h3 id="title" class="title"></h3>
104 </div>
105
106 <div class="montage-alert-content">
107 <div id="msg" class="msg"></div>
108 <div id="msg-detail" class="msg-detail"></div>
109 </div>
110
111 <div class="montage-popup-footer">
112 <div class="montage-alert-actions">
113 <div class="submit" id="action-ok">OK</div>
114 </div>
115 <div class="clearfix"></div>
116 </div>
117
118 </div>
119 </body>
120</html>
diff --git a/node_modules/montage/ui/popup/alert.reel/alert.js b/node_modules/montage/ui/popup/alert.reel/alert.js
new file mode 100755
index 00000000..54b854a4
--- /dev/null
+++ b/node_modules/montage/ui/popup/alert.reel/alert.js
@@ -0,0 +1,134 @@
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/**
8 @module "montage/ui/popup/alert.reel"
9 @requires montage/core/core
10 @requires montage/ui/component
11 @requires "montage/ui/popup/popup.reel"
12*/
13