diff --git a/public/assets/img/loading.gif b/public/assets/img/loading.gif deleted file mode 100644 index a9648d12..00000000 Binary files a/public/assets/img/loading.gif and /dev/null differ diff --git a/public/assets/js/generalFunctions.js b/public/assets/js/generalFunctions.js deleted file mode 100644 index 74497983..00000000 --- a/public/assets/js/generalFunctions.js +++ /dev/null @@ -1,56 +0,0 @@ -// Create new error objects, that prototypically inherit from the Error constructor -function FileError(message) { - this.name = 'FileError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -FileError.prototype = Object.create(Error.prototype); -FileError.prototype.constructor = FileError; - -function NameError(message) { - this.name = 'NameError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -NameError.prototype = Object.create(Error.prototype); -NameError.prototype.constructor = NameError; - -function ChannelNameError(message) { - this.name = 'ChannelNameError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -ChannelNameError.prototype = Object.create(Error.prototype); -ChannelNameError.prototype.constructor = ChannelNameError; - -function ChannelPasswordError(message) { - this.name = 'ChannelPasswordError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -ChannelPasswordError.prototype = Object.create(Error.prototype); -ChannelPasswordError.prototype.constructor = ChannelPasswordError; - -function AuthenticationError(message) { - this.name = 'AuthenticationError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -AuthenticationError.prototype = Object.create(Error.prototype); -AuthenticationError.prototype.constructor = AuthenticationError; - -function showAssetDetails(event) { - var thisAssetHolder = document.getElementById(event.target.id); - var thisAssetImage = thisAssetHolder.firstElementChild; - var thisAssetDetails = thisAssetHolder.lastElementChild; - thisAssetImage.style.opacity = 0.2; - thisAssetDetails.setAttribute('class', 'grid-item-details flex-container--column flex-container--center-center'); -} - -function hideAssetDetails(event) { - var thisAssetHolder = document.getElementById(event.target.id); - var thisAssetImage = thisAssetHolder.firstElementChild; - var thisAssetDetails = thisAssetHolder.lastElementChild; - thisAssetImage.style.opacity = 1; - thisAssetDetails.setAttribute('class', 'hidden'); -} diff --git a/public/assets/js/progressBarConstructor.js b/public/assets/js/progressBarConstructor.js deleted file mode 100644 index e69de29b..00000000 diff --git a/views/partials/assetInfo.handlebars b/views/partials/assetInfo.handlebars deleted file mode 100644 index 0ecd3644..00000000 --- a/views/partials/assetInfo.handlebars +++ /dev/null @@ -1,134 +0,0 @@ -{{#if claimInfo.channelName}} -
-
- Channel: -
- {{claimInfo.channelName}} -
-
-{{/if}} - -{{#if claimInfo.description}} -
- {{claimInfo.description}} -
-{{/if}} - -
- -
-
- Embed: -
-
-
- - {{#ifConditional claimInfo.contentType '===' 'video/mp4'}} - - {{else}} - - {{/ifConditional}} -
- -
-
-
-
-
- -
-
-
- Share: -
- -
-
-
- - - - - -
- [more] -
- - diff --git a/views/partials/channelCreationForm.handlebars b/views/partials/channelCreationForm.handlebars deleted file mode 100644 index 1b28db91..00000000 --- a/views/partials/channelCreationForm.handlebars +++ /dev/null @@ -1,39 +0,0 @@ -
-

-
-
- -
-
- @ - - -
-
-
-
-
- -
-
- -
-
-
- -
- -
-
- - - - - - - diff --git a/views/partials/channelLoginForm.handlebars b/views/partials/channelLoginForm.handlebars deleted file mode 100644 index c4c0217f..00000000 --- a/views/partials/channelLoginForm.handlebars +++ /dev/null @@ -1,28 +0,0 @@ -
-

-
-
- -
-
- @ - -
-
-
-
-
- -
-
- -
-
-
- -
- -
-
- - diff --git a/views/partials/contentListItem.handlebars b/views/partials/contentListItem.handlebars deleted file mode 100644 index 378153fe..00000000 --- a/views/partials/contentListItem.handlebars +++ /dev/null @@ -1,15 +0,0 @@ -
-
- - {{#ifConditional this.contentType '===' 'video/mp4'}} - - {{else}} - - {{/ifConditional}} - -
-

{{this.title}}

- spee.ch{{this.showUrlShort}} -
-
- diff --git a/views/partials/gridItem.handlebars b/views/partials/gridItem.handlebars deleted file mode 100644 index 45bd7bcd..00000000 --- a/views/partials/gridItem.handlebars +++ /dev/null @@ -1,11 +0,0 @@ -
- {{#ifConditional this.contentType '===' 'video/mp4'}} - - {{else}} - - {{/ifConditional}} - - -
diff --git a/views/partials/navBar.handlebars b/views/partials/navBar.handlebars deleted file mode 100644 index 8460ee4a..00000000 --- a/views/partials/navBar.handlebars +++ /dev/null @@ -1,68 +0,0 @@ - - -