nutella_framework 0.4.19 → 0.4.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="utf-8">
6
6
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
- <title>Channel Creation Interface</title>
7
+ <title>RoomCast - Channel Creator</title>
8
8
  <meta name="description" content="This interface allows the teacher/developer to add/delete or modify the channels catalogue of RoomCast.">
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1">
10
10
  <link rel="stylesheet" type="text/css" href="dist/main.css">
@@ -29,6 +29,7 @@
29
29
  "watchify": "^2.2.1"
30
30
  },
31
31
  "dependencies": {
32
+ "d3": "^3.5.5",
32
33
  "material-ui": "^0.7.3",
33
34
  "nutella_lib": "^0.5.1",
34
35
  "react": "^0.13.2",
@@ -4,6 +4,7 @@ var Mui = require('material-ui');
4
4
  var TopBar = require('./TopBar');
5
5
  var Dialog = Mui.Dialog;
6
6
  var FlatButton = Mui.FlatButton;
7
+ var UploadingScreen = require('./UploadingScreen');
7
8
 
8
9
  var CataloguePage = React.createClass({
9
10
 
@@ -16,6 +17,16 @@ var CataloguePage = React.createClass({
16
17
  window.removeEventListener("resize", this.updateDimensions);
17
18
  },
18
19
 
20
+ componentWillReceiveProps: function(newProps) {
21
+ var self = this;
22
+ if(!newProps.isUploading) {
23
+ if (self.refs.uploadingScreen) {
24
+ console.log(self.refs.uploadingScreen.getDOMNode());
25
+ React.unmountComponentAtNode(self.refs.uploadingScreen.getDOMNode());
26
+ }
27
+ }
28
+ },
29
+
19
30
  getInitialState: function () {
20
31
  return {
21
32
  height: 0
@@ -95,10 +106,17 @@ var CataloguePage = React.createClass({
95
106
  overlay = <div className="grid-overlay is-shown" onTouchTap={this.props.onExitSelection} ></div>;
96
107
  }
97
108
 
109
+ var uploadingScreen = null;
110
+ if(this.props.isUploading) {
111
+ uploadingScreen = <UploadingScreen ref='uploadingScreen' />;
112
+ }
113
+
98
114
  return (
99
115
 
100
116
  <div>
101
117
 
118
+ {uploadingScreen}
119
+
102
120
  <TopBar
103
121
  onSave={this.enableSaveDialog}
104
122
  onUndo={this.enableUndoDialog}
@@ -122,6 +122,15 @@ var Channel = React.createClass({
122
122
 
123
123
  handleSetUrl: function() {
124
124
  var value = this.refs['textFieldUrl' + this.props.channelId].getValue();
125
+ switch(this.props.channel.type) {
126
+ case 'web':
127
+ value = 'http://' + value;
128
+ break;
129
+ case 'iOS':
130
+ value = value + '://';
131
+ break;
132
+ default:
133
+ }
125
134
  this.props.onSetUrl(value);
126
135
  },
127
136
 
@@ -165,7 +174,6 @@ var Channel = React.createClass({
165
174
  if(this.imageFile_) {
166
175
  ReactMain.imagesQueue++;
167
176
  nutella.net.bin.uploadFile(this.imageFile_, function(url) {
168
- console.log('got url', url);
169
177
  self.props.onSetScreenshot(self.props.channelId, url);
170
178
  ReactMain.imagesQueue--;
171
179
  if(ReactMain.imagesQueue === 0) {
@@ -205,12 +213,19 @@ var Channel = React.createClass({
205
213
  }
206
214
 
207
215
  var urlPlaceholder;
216
+ var urlPrefix = null;
217
+ var urlSuffix = null;
218
+ var urlCleaned = this.props.channel.url;
208
219
  switch(this.props.channel.type) {
209
220
  case 'web':
210
221
  urlPlaceholder = 'URL:';
222
+ urlPrefix = 'http://';
223
+ urlCleaned = urlCleaned.slice(7, urlCleaned.length);
211
224
  break;
212
225
  case 'iOS':
213
226
  urlPlaceholder = 'Custom URL:';
227
+ urlSuffix = '://';
228
+ urlCleaned = urlCleaned.slice(0, urlCleaned.length - 3);
214
229
  break;
215
230
  default:
216
231
  urlPlaceholder = 'URL:';
@@ -242,13 +257,15 @@ var Channel = React.createClass({
242
257
 
243
258
  <div className='url-div' >
244
259
 
245
- <span> {urlPlaceholder} </span>
260
+ <span className='urlPlaceholder'> {urlPlaceholder} </span>
261
+ <span> {urlPrefix} </span>
246
262
  <TextField
247
263
  ref={'textFieldUrl' + this.props.channelId}
248
264
  hintText={''}
249
- value={this.props.channel.url}
265
+ value={urlCleaned}
250
266
  multiLine={true}
251
267
  onChange={this.handleSetUrl} />
268
+ <span> {urlSuffix} </span>
252
269
 
253
270
  </div>
254
271
  </div>
@@ -0,0 +1,74 @@
1
+
2
+ var React = require('react');
3
+ var Mui = require('material-ui');
4
+ var Paper = Mui.Paper;
5
+ var d3 = require('d3');
6
+
7
+ var UploadingScreen = React.createClass({
8
+
9
+ componentDidMount: function() {
10
+
11
+ d3.xml("./upload.svg", "image/svg+xml", function (logo) {
12
+
13
+ d3.select('.uploading-container')[0][0].appendChild(logo.documentElement);
14
+
15
+ d3.select('#logo')
16
+ .attr({
17
+ width: window.innerWidth,
18
+ height: window.innerHeight
19
+ })
20
+ .style({
21
+ position: 'fixed',
22
+ top: '0',
23
+ 'background-color': 'rgba(0,0,0,0.8)',
24
+ 'z-index': '200'
25
+ });
26
+
27
+ var colorBlue = function(id) {
28
+ d3.select(id).style({
29
+ 'fill': '#00bcd4'
30
+ });
31
+ };
32
+
33
+ var colorPink = function(id) {
34
+ d3.select(id).style({
35
+ 'fill': '#e91e63'
36
+ });
37
+ };
38
+
39
+ var removeColor = function() {
40
+ d3.selectAll('rect').style({
41
+ 'fill': null
42
+ });
43
+ };
44
+
45
+ var sequence = [1,2,3,4,8,7,6,5];
46
+ var i = 0;
47
+ var action = function() {
48
+ removeColor();
49
+ if(sequence[i] < 5) {
50
+ colorBlue('#ch' + sequence[i]);
51
+ } else {
52
+ colorPink('#ch' + sequence[i]);
53
+ }
54
+ i++;
55
+ if(i===sequence.length) {
56
+ i = 0;
57
+ }
58
+ };
59
+
60
+ setInterval(action, 200);
61
+
62
+ });
63
+
64
+ },
65
+
66
+ render: function() {
67
+
68
+ return <div className='uploading-container' ></div>;
69
+
70
+ }
71
+
72
+ });
73
+
74
+ module.exports = UploadingScreen;
@@ -3,6 +3,7 @@ var React = require('react');
3
3
  var Channel = require('./Channel');
4
4
  var CataloguePage = require('./CataloguePage');
5
5
  var DetailPage = require('./DetailPage');
6
+ var UploadingScreen = require('./UploadingScreen');
6
7
 
7
8
  var Main = React.createClass({
8
9
 
@@ -30,7 +31,8 @@ var Main = React.createClass({
30
31
  channels: {},
31
32
  selectedChannel: null,
32
33
  page: 'catalogue',
33
- backgroundMessage: null
34
+ backgroundMessage: null,
35
+ isUploading: false
34
36
  }
35
37
  },
36
38
 
@@ -39,7 +41,6 @@ var Main = React.createClass({
39
41
  var callback = function() {
40
42
  if(publish) {
41
43
  nutella.net.publish('channels/update', self.state.channels);
42
- console.log('publishing', channels);
43
44
  }
44
45
  };
45
46
  this.setState({
@@ -76,6 +77,9 @@ var Main = React.createClass({
76
77
  this.saveLocalCatalogue(true);
77
78
  } else {
78
79
  // Launch task to save images (if needed) on each channel, then publish
80
+ self.setState({
81
+ isUploading: true
82
+ });
79
83
  this.getIds().forEach(function(id) {
80
84
  self.refs['channel' + id].handleStoreImageOnServer();
81
85
  });
@@ -84,9 +88,14 @@ var Main = React.createClass({
84
88
 
85
89
  },
86
90
 
91
+ /**
92
+ * Called when last saving on server has finished.
93
+ */
87
94
  handleSaveCallback: function() {
88
- console.log("All done!");
89
95
  this.saveLocalCatalogue(true);
96
+ this.setState({
97
+ isUploading: false
98
+ });
90
99
  },
91
100
 
92
101
  handleUndo: function() {
@@ -133,7 +142,7 @@ var Main = React.createClass({
133
142
  getIds: function() {
134
143
  var channels = this.state.channels;
135
144
  var ids = [];
136
- if(channels.length !== 0) {
145
+ if(Object.keys(channels).length !== 0) {
137
146
  for (var c in channels) {
138
147
  if (channels.hasOwnProperty(c)) {
139
148
  ids.push(+c);
@@ -183,10 +192,7 @@ var Main = React.createClass({
183
192
  var channel = channels[channelId];
184
193
  channel.screenshot = value;
185
194
  channels[channelId] = channel;
186
- console.log(channel, channels);
187
195
  this.setChannels(channels);
188
- console.warn('saved', value, channelId);
189
-
190
196
  },
191
197
 
192
198
  handleSetDescription: function(value) {
@@ -315,6 +321,7 @@ var Main = React.createClass({
315
321
  channels={channels}
316
322
  isSelected={this.state.selectedChannel != null}
317
323
  backgroudMessage={backgroundMessage}
324
+ isUploading={this.state.isUploading}
318
325
  onSave={this.handleSave}
319
326
  onUndo={this.handleUndo}
320
327
  onExitSelection={this.handleExitSelection}
@@ -0,0 +1,216 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
4
+ <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
5
+ <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
6
+ <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
7
+ <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
8
+ <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
9
+ <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
10
+ <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
11
+ <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
12
+ ]>
13
+ <svg version="1.1" id="logo" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
14
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="900px" height="750px"
15
+ viewBox="0 0 900 750" enable-background="new 0 0 900 750" xml:space="preserve">
16
+ <metadata>
17
+ <sfw xmlns="&ns_sfw;">
18
+ <slices></slices>
19
+ <sliceSourceBounds bottomLeftOrigin="true" width="339.202" height="186.981" x="280.549" y="276.732"></sliceSourceBounds>
20
+ </sfw>
21
+ </metadata>
22
+ <g>
23
+ <rect id="ch1" x="281" y="287.057" fill="#FFFFFF" width="76.833" height="87.724"/>
24
+ <g>
25
+ <g>
26
+ <g>
27
+ <path d="M357.85,374.781v-8.42v-18.015v-16.86c-0.001-2.245,0.023-4.496-0.028-6.736c-0.109-4.849-0.167-9.714-0.327-14.554
28
+ c-0.055-1.665-0.195-3.43-0.085-5.092c0.153-2.317,0.516-4.654,0.455-7.035c-0.034-1.322-0.101-2.587-0.094-3.923
29
+ c0.011-2.362-0.014-4.726-0.042-7.088l0.104,0.104l-5.24,0.056c-4.58,0.045-9.166,0.09-13.743,0.136l-11.496,0.117
30
+ c-1.821,0.017-3.654,0.034-5.475,0.051h-0.141c-2.552,0.34-4.935,0.141-7.594,0.159c-1.977,0.016-3.95,0.099-5.926,0.14
31
+ c-1.878,0.038-3.78-0.076-5.652-0.14c-7.189-0.099-14.378-0.198-21.567-0.198c0.109-0.142,0.217-0.283,0.359-0.425l-0.055,1.597
32
+ l0.16,9.985c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.841-0.336,7.479-0.148,11.333c0.105,2.162,0.309,4.462,0.309,6.639
33
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.12-0.103-0.24-0.205-0.36-0.325l0.946,0.021h26.361h9.985
34
+ c1.579,0.158,3.779,0.152,5.392,0.24c4.637,0.251,9.143,0.241,13.855,0.279c5.441,0.033,10.887,0.066,16.327,0.099
35
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
36
+ c-7.006-0.312-16.651-0.176-23.694-0.173l-2.233-0.001L281,374.935h-0.15l0-0.154l-0.08-35.801c0-3.63-0.224-7.155-0.214-10.78
37
+ c0.005-1.688-0.054-3.568,0.111-5.19c0.23-2.279,0.271-4.59,0.316-6.929l-0.104-29.023l0-0.106l0.121-0.002l0.666-0.014
38
+ l12.116,0.106c6.836-0.064,13.67,0.027,20.503-0.106l7.856,0.053h6.389l29.304-0.327l0.355-0.004l0.005,0.401l0.189,13.7
39
+ c-0.113,1.987-0.43,4.024-0.472,6.002c-0.038,1.801,0.106,3.737,0.158,5.536c0.162,5.104,0.324,10.2,0.485,15.302
40
+ c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.26-0.183,9.393c-0.098,7.428-0.195,14.85-0.293,22.277
41
+ L357.85,374.781z"/>
42
+ </g>
43
+ </g>
44
+ </g>
45
+ </g>
46
+ <g>
47
+ <rect id="ch2" x="367.833" y="287.057" fill="#FFFFFF" width="76.834" height="87.724"/>
48
+ <g>
49
+ <g>
50
+ <g>
51
+ <path d="M367.85,374.781v-8.42v-18.015v-16.86c-0.001-2.246,0.023-4.496-0.028-6.736c-0.109-4.849-0.167-9.715-0.327-14.554
52
+ c-0.055-1.665-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.654,0.455-7.034c-0.034-1.323-0.101-2.588-0.094-3.924
53
+ c0.011-2.362-0.014-4.725-0.042-7.088l-0.001-0.104l0.106-0.001l5.24-0.056c4.579-0.045,9.166-0.09,13.743-0.136l11.496-0.117
54
+ c1.821-0.017,3.654-0.034,5.475-0.051h0.14c2.553-0.34,4.936-0.141,7.594-0.159c1.977-0.016,3.95-0.099,5.926-0.14
55
+ c1.879-0.038,3.78,0.076,5.652,0.14l21.567,0.297l0.37,0.005l-0.012,0.321l-0.055,1.597l0.16,9.985
56
+ c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.841-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64l-0.156,36.999
57
+ l-0.001,0.332l-0.307-0.007l-0.946-0.021h-26.361h-9.985c-1.579-0.158-3.779-0.152-5.391-0.24
58
+ c-4.637-0.251-9.143-0.241-13.855-0.279c-5.441-0.033-10.887-0.066-16.327-0.099c-0.245-0.002-3.908-0.094-3.968-0.022
59
+ l0.398-0.426c0,0,26.514,0.104,26.891,0.105c3.896,0.015,4.863,0.16,9.357,0.36c7.006,0.312,16.651,0.176,23.694,0.173
60
+ l2.233,0.001c4.753-0.01,9.507-0.021,14.26-0.021c-0.052,0.048-0.103,0.096-0.15,0.144l-0.08-35.8
61
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.568,0.111-5.19c0.23-2.28,0.271-4.59,0.316-6.93
62
+ c-0.035-9.674-0.069-19.349-0.069-29.023c0.028,0.041,0.058,0.081,0.086,0.109l-0.665,0.014l-12.116-0.106
63
+ c-6.836,0.064-13.67-0.027-20.504,0.106l-7.855-0.053h-6.39c-9.768,0.109-19.536,0.218-29.304,0.218
64
+ c0.132-0.096,0.265-0.192,0.361-0.288l0.189,13.699c-0.113,1.987-0.43,4.025-0.472,6.002c-0.038,1.802,0.106,3.737,0.158,5.536
65
+ c0.162,5.104,0.324,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.26-0.183,9.393
66
+ c-0.098,7.428-0.195,14.85-0.293,22.277L367.85,374.781z"/>
67
+ </g>
68
+ </g>
69
+ </g>
70
+ </g>
71
+ <g>
72
+ <rect id="ch3" x="454.667" y="287.057" fill="#FFFFFF" width="76.834" height="87.724"/>
73
+ <g>
74
+ <g>
75
+ <g>
76
+ <path d="M531.518,374.781v-8.42v-18.015v-16.86c-0.001-2.246,0.023-4.496-0.028-6.736c-0.109-4.849-0.167-9.715-0.327-14.554
77
+ c-0.055-1.665-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.654,0.455-7.034c-0.034-1.323-0.101-2.588-0.094-3.924
78
+ c0.011-2.362-0.014-4.725-0.042-7.088l0.104,0.104l-5.24,0.056c-4.579,0.045-9.166,0.09-13.743,0.136l-11.495,0.117
79
+ c-1.821,0.017-3.654,0.034-5.476,0.051h-0.141c-2.552,0.34-4.935,0.141-7.594,0.159c-1.977,0.016-3.95,0.099-5.926,0.14
80
+ c-1.879,0.038-3.78-0.076-5.652-0.14c-7.189-0.099-14.378-0.198-21.567-0.198c0.108-0.142,0.217-0.283,0.358-0.425l-0.055,1.597
81
+ l0.16,9.985c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.841-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64
82
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.119-0.103-0.239-0.205-0.359-0.325l0.946,0.021h26.361h9.985
83
+ c1.578,0.158,3.778,0.152,5.391,0.24c4.637,0.251,9.144,0.241,13.855,0.279c5.441,0.033,10.888,0.066,16.327,0.099
84
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
85
+ c-7.006-0.312-16.651-0.176-23.694-0.173l-2.233-0.001l-14.26,0.031h-0.149l-0.001-0.154l-0.08-35.8
86
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.568,0.111-5.19c0.23-2.28,0.271-4.59,0.316-6.93l-0.104-29.023v-0.106
87
+ l0.121-0.002l0.665-0.014l12.116,0.106c6.836-0.064,13.67,0.027,20.504-0.106l7.855,0.053h6.39l29.304-0.327l0.355-0.004
88
+ l0.005,0.401l0.189,13.699c-0.113,1.987-0.43,4.025-0.472,6.002c-0.038,1.802,0.106,3.737,0.158,5.536
89
+ c0.162,5.104,0.323,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.26-0.183,9.393
90
+ c-0.098,7.428-0.195,14.85-0.293,22.277L531.518,374.781z"/>
91
+ </g>
92
+ </g>
93
+ </g>
94
+ </g>
95
+ <g>
96
+ <rect id="ch4" x="542.167" y="287.057" fill="#FFFFFF" width="76.834" height="87.724"/>
97
+ <g>
98
+ <g>
99
+ <g>
100
+ <path d="M619.018,374.781v-8.42v-18.015v-16.86c-0.001-2.246,0.023-4.496-0.028-6.736c-0.109-4.849-0.167-9.715-0.327-14.554
101
+ c-0.055-1.665-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.654,0.455-7.034c-0.034-1.323-0.101-2.588-0.094-3.924
102
+ c0.011-2.362-0.014-4.725-0.042-7.088l0.104,0.104l-5.24,0.056c-4.579,0.045-9.166,0.09-13.743,0.136l-11.495,0.117
103
+ c-1.821,0.017-3.654,0.034-5.476,0.051h-0.141c-2.552,0.34-4.935,0.141-7.594,0.159c-1.977,0.016-3.95,0.099-5.926,0.14
104
+ c-1.879,0.038-3.78-0.076-5.652-0.14c-7.189-0.099-14.378-0.198-21.567-0.198c0.108-0.142,0.217-0.283,0.358-0.425l-0.055,1.597
105
+ l0.16,9.985c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.841-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64
106
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.119-0.103-0.239-0.205-0.359-0.325l0.946,0.021h26.361h9.985
107
+ c1.578,0.158,3.778,0.152,5.391,0.24c4.637,0.251,9.144,0.241,13.855,0.279c5.441,0.033,10.888,0.066,16.327,0.099
108
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
109
+ c-7.006-0.312-16.651-0.176-23.694-0.173l-2.233-0.001l-14.26,0.031h-0.149l-0.001-0.154l-0.08-35.8
110
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.568,0.111-5.19c0.23-2.28,0.271-4.59,0.316-6.93l-0.104-29.023v-0.106
111
+ l0.121-0.002l0.665-0.014l12.116,0.106c6.836-0.064,13.67,0.027,20.504-0.106l7.855,0.053h6.39l29.304-0.327l0.355-0.004
112
+ l0.005,0.401l0.189,13.699c-0.113,1.987-0.43,4.025-0.472,6.002c-0.038,1.802,0.106,3.737,0.158,5.536
113
+ c0.162,5.104,0.323,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.26-0.183,9.393
114
+ c-0.098,7.428-0.195,14.85-0.293,22.277L619.018,374.781z"/>
115
+ </g>
116
+ </g>
117
+ </g>
118
+ </g>
119
+ <g>
120
+ <rect id="ch5" x="281" y="384.781" fill="#FFFFFF" width="76.833" height="87.724"/>
121
+ <g>
122
+ <g>
123
+ <g>
124
+ <path d="M357.85,472.505v-8.42v-18.016v-16.86c-0.001-2.245,0.023-4.495-0.028-6.735c-0.109-4.849-0.167-9.715-0.327-14.554
125
+ c-0.055-1.665-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.653,0.455-7.034c-0.034-1.322-0.101-2.588-0.094-3.924
126
+ c0.011-2.361-0.014-4.725-0.042-7.088l0.104,0.104l-5.24,0.057c-4.579,0.045-9.166,0.09-13.743,0.135l-11.496,0.117
127
+ c-1.821,0.018-3.654,0.034-5.475,0.051h-0.14c-2.553,0.34-4.936,0.141-7.594,0.16c-1.977,0.016-3.951,0.098-5.927,0.139
128
+ c-1.878,0.039-3.78-0.076-5.652-0.139c-7.189-0.1-14.378-0.199-21.567-0.199c0.109-0.141,0.217-0.283,0.359-0.424l-0.055,1.596
129
+ l0.16,9.986c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.84-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64
130
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.12-0.103-0.24-0.205-0.36-0.325l0.945,0.021h26.361h9.985
131
+ c1.579,0.158,3.779,0.152,5.391,0.24c4.637,0.251,9.143,0.241,13.855,0.279c5.441,0.033,10.887,0.065,16.327,0.099
132
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
133
+ c-7.006-0.312-16.651-0.176-23.694-0.173l-2.233-0.001l-14.26,0.03l-0.15,0.001l0-0.154l-0.08-35.801
134
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.568,0.111-5.189c0.23-2.28,0.271-4.591,0.316-6.93l-0.104-29.023l0-0.107
135
+ l0.121-0.002l0.666-0.014l12.116,0.105c6.835-0.064,13.67,0.027,20.503-0.105l7.856,0.053h6.39l29.303-0.327l0.355-0.004
136
+ l0.005,0.401l0.189,13.699c-0.113,1.986-0.43,4.025-0.472,6.002c-0.038,1.802,0.106,3.737,0.158,5.536
137
+ c0.162,5.104,0.324,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.261-0.183,9.393
138
+ c-0.098,7.429-0.195,14.851-0.293,22.277L357.85,472.505z"/>
139
+ </g>
140
+ </g>
141
+ </g>
142
+ </g>
143
+ <g>
144
+ <rect id="ch6" x="367.833" y="384.781" fill="#FFFFFF" width="76.834" height="87.724"/>
145
+ <g>
146
+ <g>
147
+ <g>
148
+ <path d="M367.85,472.505v-8.42v-18.016v-16.86c-0.001-2.245,0.023-4.495-0.028-6.735c-0.109-4.849-0.167-9.715-0.327-14.554
149
+ c-0.055-1.666-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.653,0.455-7.034c-0.034-1.322-0.101-2.588-0.094-3.924
150
+ c0.011-2.361-0.014-4.726-0.042-7.088l-0.001-0.104l0.106-0.002l5.24-0.055c4.58-0.046,9.167-0.091,13.744-0.137l11.495-0.117
151
+ c1.821-0.017,3.655-0.033,5.476-0.051h0.14c2.552-0.34,4.936-0.141,7.594-0.158c1.977-0.016,3.95-0.1,5.926-0.141
152
+ c1.879-0.037,3.78,0.076,5.652,0.141l21.567,0.297l0.37,0.005l-0.012,0.321l-0.055,1.596l0.16,9.986
153
+ c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.84-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64l-0.156,36.999
154
+ l-0.001,0.332l-0.307-0.007l-0.945-0.021h-26.362h-9.985c-1.579-0.158-3.779-0.152-5.391-0.24
155
+ c-4.637-0.251-9.143-0.241-13.855-0.279c-5.441-0.033-10.887-0.065-16.327-0.099c-0.245-0.002-3.908-0.094-3.968-0.022
156
+ l0.398-0.426c0,0,26.514,0.104,26.891,0.105c3.896,0.015,4.863,0.16,9.357,0.36c7.007,0.312,16.651,0.176,23.694,0.173
157
+ l2.233,0.001c4.753-0.01,9.507-0.021,14.26-0.021c-0.052,0.048-0.103,0.096-0.15,0.144l-0.08-35.801
158
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.567,0.111-5.189c0.23-2.279,0.271-4.591,0.316-6.93
159
+ c-0.035-9.675-0.069-19.35-0.069-29.023c0.028,0.04,0.058,0.08,0.086,0.108l-0.665,0.015l-12.116-0.107
160
+ c-6.836,0.064-13.67-0.027-20.504,0.107l-7.855-0.053h-6.39c-9.768,0.108-19.536,0.217-29.304,0.217
161
+ c0.132-0.096,0.265-0.191,0.361-0.287l0.189,13.699c-0.113,1.986-0.43,4.025-0.472,6.002c-0.038,1.801,0.106,3.736,0.158,5.536
162
+ c0.162,5.104,0.324,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.261-0.183,9.393
163
+ c-0.098,7.429-0.195,14.851-0.293,22.277L367.85,472.505z"/>
164
+ </g>
165
+ </g>
166
+ </g>
167
+ </g>
168
+ <g>
169
+ <rect id="ch7" x="454.667" y="384.781" fill="#FFFFFF" width="76.834" height="87.724"/>
170
+ <g>
171
+ <g>
172
+ <g>
173
+ <path d="M531.518,472.505v-8.42v-18.016v-16.86c-0.001-2.245,0.023-4.495-0.028-6.735c-0.109-4.849-0.167-9.715-0.327-14.554
174
+ c-0.055-1.666-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.653,0.455-7.034c-0.034-1.322-0.101-2.588-0.094-3.924
175
+ c0.011-2.361-0.014-4.726-0.042-7.088l0.104,0.104l-5.24,0.057c-4.579,0.045-9.166,0.09-13.743,0.135l-11.495,0.117
176
+ c-1.821,0.018-3.654,0.034-5.476,0.051h-0.141c-2.552,0.34-4.935,0.141-7.594,0.16c-1.977,0.016-3.95,0.098-5.926,0.139
177
+ c-1.879,0.039-3.78-0.076-5.652-0.139c-7.189-0.1-14.378-0.199-21.567-0.199c0.108-0.141,0.217-0.283,0.358-0.424l-0.055,1.596
178
+ l0.16,9.986c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.84-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64
179
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.119-0.103-0.239-0.205-0.359-0.325l0.945,0.021h26.362h9.984
180
+ c1.579,0.158,3.779,0.152,5.392,0.24c4.637,0.251,9.144,0.241,13.855,0.279c5.441,0.033,10.888,0.065,16.327,0.099
181
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
182
+ c-7.007-0.312-16.651-0.176-23.694-0.173l-2.233-0.001l-14.26,0.03l-0.149,0.001l-0.001-0.154l-0.08-35.801
183
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.567,0.111-5.189c0.23-2.279,0.271-4.591,0.316-6.93l-0.104-29.023v-0.107
184
+ l0.121-0.002l0.665-0.014l12.116,0.105c6.836-0.064,13.67,0.027,20.504-0.105l7.855,0.053h6.39l29.304-0.327l0.355-0.004
185
+ l0.005,0.401l0.189,13.699c-0.113,1.986-0.43,4.025-0.472,6.002c-0.038,1.801,0.106,3.736,0.158,5.536
186
+ c0.162,5.104,0.323,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.261-0.183,9.393
187
+ c-0.098,7.429-0.195,14.851-0.293,22.277L531.518,472.505z"/>
188
+ </g>
189
+ </g>
190
+ </g>
191
+ </g>
192
+ <g>
193
+ <rect id="ch8" x="542.167" y="384.781" fill="#FFFFFF" width="76.834" height="87.724"/>
194
+ <g>
195
+ <g>
196
+ <g>
197
+ <path d="M619.018,472.505v-8.42v-18.016v-16.86c-0.001-2.245,0.023-4.495-0.028-6.735c-0.109-4.849-0.167-9.715-0.327-14.554
198
+ c-0.055-1.666-0.195-3.43-0.085-5.093c0.153-2.317,0.516-4.653,0.455-7.034c-0.034-1.322-0.101-2.588-0.094-3.924
199
+ c0.011-2.361-0.014-4.726-0.042-7.088l0.104,0.104l-5.24,0.057c-4.579,0.045-9.166,0.09-13.743,0.135l-11.495,0.117
200
+ c-1.821,0.018-3.654,0.034-5.476,0.051h-0.141c-2.552,0.34-4.935,0.141-7.594,0.16c-1.977,0.016-3.95,0.098-5.926,0.139
201
+ c-1.879,0.039-3.78-0.076-5.652-0.139c-7.189-0.1-14.378-0.199-21.567-0.199c0.108-0.141,0.217-0.283,0.358-0.424l-0.055,1.596
202
+ l0.16,9.986c0.104,7.084,0.069,14.105-0.16,21.17c-0.118,3.84-0.336,7.479-0.148,11.333c0.105,2.163,0.309,4.462,0.309,6.64
203
+ c-0.052,12.333-0.104,24.666-0.104,36.999c-0.119-0.103-0.239-0.205-0.359-0.325l0.945,0.021h26.362h9.984
204
+ c1.579,0.158,3.779,0.152,5.392,0.24c4.637,0.251,9.144,0.241,13.855,0.279c5.441,0.033,10.888,0.065,16.327,0.099
205
+ c0.245,0.002,3.908,0.094,3.968,0.022l-0.398,0.426c0,0-26.514-0.104-26.891-0.105c-3.896-0.015-4.863-0.16-9.357-0.36
206
+ c-7.007-0.312-16.651-0.176-23.694-0.173l-2.233-0.001l-14.26,0.03l-0.149,0.001l-0.001-0.154l-0.08-35.801
207
+ c0-3.63-0.224-7.155-0.214-10.78c0.005-1.688-0.054-3.567,0.111-5.189c0.23-2.279,0.271-4.591,0.316-6.93l-0.104-29.023v-0.107
208
+ l0.121-0.002l0.665-0.014l12.116,0.105c6.836-0.064,13.67,0.027,20.504-0.105l7.855,0.053h6.39l29.304-0.327l0.355-0.004
209
+ l0.005,0.401l0.189,13.699c-0.113,1.986-0.43,4.025-0.472,6.002c-0.038,1.801,0.106,3.736,0.158,5.536
210
+ c0.162,5.104,0.323,10.2,0.485,15.302c0.096,3.123-0.074,6.086-0.147,9.193c-0.061,3.129-0.122,6.261-0.183,9.393
211
+ c-0.098,7.429-0.195,14.851-0.293,22.277L619.018,472.505z"/>
212
+ </g>
213
+ </g>
214
+ </g>
215
+ </g>
216
+ </svg>
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="utf-8">
6
6
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
- <title>Configuration Interface</title>
7
+ <title>RoomCast - Package Creator</title>
8
8
  <meta name="description" content="This interface allows the user to set the mapping of the available channels on the resources.">
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1">
10
10
  <link rel="stylesheet" type="text/css" href="dist/main.css">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutella_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.19
4
+ version: 0.4.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic
@@ -410,6 +410,7 @@ files:
410
410
  - framework_components/roomcast-channel-creator/src/app/components/PageSliderMixin.js
411
411
  - framework_components/roomcast-channel-creator/src/app/components/Router.js
412
412
  - framework_components/roomcast-channel-creator/src/app/components/TopBar.js
413
+ - framework_components/roomcast-channel-creator/src/app/components/UploadingScreen.js
413
414
  - framework_components/roomcast-channel-creator/src/app/components/main.js
414
415
  - framework_components/roomcast-channel-creator/src/css/font-awesome.min.css
415
416
  - framework_components/roomcast-channel-creator/src/css/ionicons.min.css
@@ -425,6 +426,7 @@ files:
425
426
  - framework_components/roomcast-channel-creator/src/fonts/ionicons.woff
426
427
  - framework_components/roomcast-channel-creator/src/less/main.less
427
428
  - framework_components/roomcast-channel-creator/src/less/my_overrides.less
429
+ - framework_components/roomcast-channel-creator/upload.svg
428
430
  - framework_components/roomcast-package-creator/.gitignore
429
431
  - framework_components/roomcast-package-creator/README.md
430
432
  - framework_components/roomcast-package-creator/dist/app.js
@@ -556,7 +558,6 @@ files:
556
558
  - lib/logging/nutella_logging.rb
557
559
  - lib/nutella_framework.rb
558
560
  - lib/tmux/tmux.rb
559
- - nutella_framework.gemspec
560
561
  - nutella_lib/framework_core.rb
561
562
  - nutella_lib/framework_log.rb
562
563
  - nutella_lib/framework_net.rb