entcore 4.0.0-dev.18 → 4.0.0-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
|
|
32
32
|
</div>
|
|
33
33
|
<div class="element reduce-block-six" ng-repeat="document in documentList.documents">
|
|
34
|
-
<explorer ng-model="document.selected"
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
<explorer ng-model="document.selected"
|
|
35
|
+
ng-click="updateSelection(document)" on-open="selectDocument(document)"
|
|
36
|
+
ng-switch="document.role()"
|
|
37
|
+
doc-id="[[document._id]]">
|
|
38
|
+
<div class="img container" ng-switch-when="img">
|
|
37
39
|
<div class="clip">
|
|
38
40
|
<img image-lazy-load="document.thumbUrl"/>
|
|
39
41
|
<div class="absolute" ng-if="display.loading && display.loading.indexOf(document) !== -1">
|
|
@@ -41,7 +43,11 @@
|
|
|
41
43
|
</div>
|
|
42
44
|
</div>
|
|
43
45
|
</div>
|
|
44
|
-
<div class="img container" ng-
|
|
46
|
+
<div class="img container video" ng-switch-when="video"
|
|
47
|
+
ng-style="{'background-image': videoThumbUrl(document)}">
|
|
48
|
+
<i class="[[document.role()]]-large"></i>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="img container" ng-switch-default>
|
|
45
51
|
<i class="[[document.role()]]-large"></i>
|
|
46
52
|
</div>
|
|
47
53
|
<legend>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
~
|
|
19
19
|
-->
|
|
20
20
|
|
|
21
|
-
<p>
|
|
21
|
+
<p>
|
|
22
22
|
<em class="twelve cell small-text"><i18n>video.upload.supported.formats</i18n></em>
|
|
23
23
|
<em class="twelve cell small-text"><i18n>video.upload.supported.weight</i18n></em>
|
|
24
24
|
</p>
|
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
<article class="default flex-row align-center absolute-position">
|
|
34
34
|
<div class="three select-file">
|
|
35
35
|
<div class="hidden-content">
|
|
36
|
-
<input
|
|
36
|
+
<input
|
|
37
|
+
class="upload-input"
|
|
38
|
+
type="file"
|
|
39
|
+
files-input-change="importFiles()"
|
|
40
|
+
accept="video/avi, video/msvideo, video/x-msvideo, video/quicktime, video/x-quicktime, video/mp4"
|
|
41
|
+
ng-model="upload.files" />
|
|
37
42
|
</div>
|
|
38
43
|
<button class="file-button no-margin" translate content="library.file.choose" ng-click="triggerIpnutFileClick($event)"></button>
|
|
39
44
|
</div>
|
|
@@ -154,6 +154,8 @@ export declare class Element extends Model implements Node, Shareable, Selectabl
|
|
|
154
154
|
size?: number;
|
|
155
155
|
captation?: boolean;
|
|
156
156
|
duration?: number;
|
|
157
|
+
width?: number;
|
|
158
|
+
height?: number;
|
|
157
159
|
};
|
|
158
160
|
link?: string;
|
|
159
161
|
icon?: string;
|
|
@@ -221,6 +223,8 @@ export declare class Element extends Model implements Node, Shareable, Selectabl
|
|
|
221
223
|
size?: number;
|
|
222
224
|
captation?: boolean;
|
|
223
225
|
duration?: number;
|
|
226
|
+
width?: number;
|
|
227
|
+
height?: number;
|
|
224
228
|
};
|
|
225
229
|
version: number;
|
|
226
230
|
link: string;
|