aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.html
blob: add283852c6c416268c37a1290ec332c18d769e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="en">
	<head>
    	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    	<link rel="stylesheet" type="text/css" href="css/Layer.css">
   		<script type="text/montage-serialization">
            {
                "owner": {
                    "module": "js/panels/Timeline/Layer.reel",
                    "name": "Layer",
                    "properties": {
                        "element": {"#": "layer"},
						"styleRepetition" : {"@":"repetition1"},
						"dynamicLayerName" : {"@":"dtext1"},
						"slotStyle" : {"@":"slot1"}
                    }
                },
	            "dtext1" : {
	            	"module" : "montage/ui/dynamic-text.reel",
	            	"name" : "DynamicText",
	            	"properties" : {
	            		"element" : {"#" : "layer-label-text"}
	            	},
	            	"bindings" : {
	            		"value" : {
	            			"boundObject" : {"@": "owner"},
	            			"boundObjectPropertyPath" : "layerName",
	            			"oneway" : false
	            		}
	            	}
	            },
	            "repetition1": {
	                "module": "montage/ui/repetition.reel",
	                "name": "Repetition",
	                "properties": {
	                    "element": {"#": "style-container"},
	                    "isSelectionEnabled" : true
	                },
	                "bindings": {
	                    "objects": {
	                        "boundObject": {"@": "owner"},
	                        "boundObjectPropertyPath": "arrLayerStyles",
	                        "oneway": false
	                    }
	                }
	            },
	            "style" : {
	            	"module" : "js/panels/Timeline/Style.reel",
	            	"name" : "LayerStyle",
	            	"properties" : {
	            		"element" : {"#" : "layer-style"}
	            	},
	            	"bindings" : {
	            		"styleID" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.styleID",
	            			"oneway" : false
	            		},
	            		"whichView" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.whichView",
	            			"oneway" : false
	            		},
	            		"editorProperty" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.editorProperty",
	            			"oneway" : false
	            		},
	            		"isSelected" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.isSelected",
	            			"oneway" : false
	            		},
	            		"editorValue" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.editorValue",
	            			"oneway" : false
	            		},
	            		"ruleTweener" : {
	            			"boundObject" : {"@": "repetition1"},
	            			"boundObjectPropertyPath" : "objectAtCurrentIteration.ruleTweener",
	            			"oneway" : false
	            		}
	            	}
	            }
            }
        </script>
	</head>
	<body>
    
		<div id="layer" class="container-layer">
			<div class="label-layer">
				<span class="collapsible-label" id="layer-label-text" spellcheck="false">Label</span>
				<span class="collapsible-clicker collapsible-collapsed"></span>
				<div class="cssbutton button-lock"></div>
				<div class="cssbutton button-visible"></div>
			</div>
			<div class="collapsible-content content-layer collapsible-collapsed">
				<div class="label-position">
					<span class="collapsible-label">Position</span>
					<span class="collapsible-clicker clicker-position"></span>
				</div>
				<div class="content-position collapsible-content">
					<div class="layout-table">
						<div class="layout-row">
							<div class="layout-cell">X</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Y</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Z</div>
							<div class="layout-cell">100px</div>
						</div>
					</div>
				</div>
				<div class="label-transform">
					<span class="collapsible-label">Transform</span>
					<span class="clicker-transform collapsible-clicker"></span>
				</div>
				<div class="content-transform collapsible-content">
					<div class="layout-table">
						<div class="layout-row">
							<div class="layout-cell">Scale X</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Scale Y</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Skew X</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Skew Y</div>
							<div class="layout-cell">100px</div>
						</div>
						<div class="layout-row">
							<div class="layout-cell">Rotation</div>
							<div class="layout-cell">100px</div>
						</div>
					</div>
					
				</div>
				<div class="label-style">
					<span class="collapsible-label">Style</span>
					<span class="clicker-style collapsible-clicker"></span>
					<div class="cssbutton button-delete"></div>
					<div class="cssbutton button-add"></div>
				</div>
				<div class="content-style collapsible-content">
					<div class="" id="style-container">
						<div class="style-row" id="layer-style">
						</div>
					</div>
				</div>
			</div>
		</div>
    </body>
</html>