diff --git a/public/assets/css/general.css b/public/assets/css/general.css
index 2074e0d6..80eedeaa 100644
--- a/public/assets/css/general.css
+++ b/public/assets/css/general.css
@@ -23,7 +23,7 @@ html, body {
height: 100%;
}
-body, .flex-container {
+body, .flex-container--column, .flex-container--row {
display: -webkit-flex;
display: flex;
}
@@ -36,7 +36,6 @@ body, .flex-container--column {
.flex-container--row {
-webkit-flex-direction: row;
flex-direction: row;
- justify-content: space-between;
}
.flex-container--wrap {
@@ -44,20 +43,23 @@ body, .flex-container--column {
flex-wrap: wrap;
}
-.flex-container--align-center {
+.flex-container--left-bottom {
+ justify-content: flex-start;
+ align-items: baseline;
+}
+
+.flex-container--left-center {
+ justify-content: flex-start;
align-items: center;
}
-.flex-container--justify-center {
+.flex-container--center-center {
justify-content: center;
+ align-items: center;
}
-.flex-container--justify-space-between {
+.flex-container--space-between-bottom {
justify-content: space-between;
-}
-
-.flex-container--left-bottom {
- justify-content: flex-start;
align-items: baseline;
}
diff --git a/public/assets/css/mediaQueries.css b/public/assets/css/mediaQueries.css
index 890b1585..2d7f4a1a 100644
--- a/public/assets/css/mediaQueries.css
+++ b/public/assets/css/mediaQueries.css
@@ -1,4 +1,4 @@
-@media (max-width: 1050px) {
+@media (max-width: 1120px) {
.nav-bar--center {
display: none;
@@ -10,7 +10,7 @@
}
-@media (max-width: 750px ) {
+@media (max-width: 800px ) {
body, button, input, textarea, label, select, option, p, h3 {
font-size: medium;
diff --git a/public/assets/js/dropzoneFunctions.js b/public/assets/js/dropzoneFunctions.js
index 567537e1..f1a8ddf6 100644
--- a/public/assets/js/dropzoneFunctions.js
+++ b/public/assets/js/dropzoneFunctions.js
@@ -31,7 +31,7 @@ function dragend_handler(event) {
function dragenter_handler(event) {
var thisDropzone = document.getElementById(event.target.id);
- thisDropzone.setAttribute('class', 'dropzone dropzone--drag-over row row--margined row--padded row--tall flex-container flex-container--column flex-container--justify-center');
+ thisDropzone.setAttribute('class', 'dropzone dropzone--drag-over row row--margined row--padded row--tall flex-container--column flex-container--center-center');
thisDropzone.firstElementChild.setAttribute('class', 'hidden');
thisDropzone.lastElementChild.setAttribute('class', '');
@@ -39,13 +39,13 @@ function dragenter_handler(event) {
function dragexit_handler(event) {
var thisDropzone = document.getElementById(event.target.id);
- thisDropzone.setAttribute('class', 'dropzone row row--tall row--margined row--padded flex-container flex-container--column flex-container--justify-center');
+ thisDropzone.setAttribute('class', 'dropzone row row--tall row--margined row--padded flex-container--column flex-container--center-center');
thisDropzone.firstElementChild.setAttribute('class', '');
thisDropzone.lastElementChild.setAttribute('class', 'hidden');
}
function preview_onmouseenter_handler () {
- document.getElementById('asset-preview-dropzone-instructions').setAttribute('class', 'flex-container flex-container--column flex-container--justify-center position-absolute');
+ document.getElementById('asset-preview-dropzone-instructions').setAttribute('class', 'flex-container--column flex-container--center-center position-absolute');
document.getElementById('asset-preview').style.opacity = 0.2;
}
diff --git a/public/assets/js/generalFunctions.js b/public/assets/js/generalFunctions.js
index f6cd1714..89782d75 100644
--- a/public/assets/js/generalFunctions.js
+++ b/public/assets/js/generalFunctions.js
@@ -201,7 +201,7 @@ function showAssetDetails(event) {
var thisAssetImage = thisAssetHolder.firstElementChild;
var thisAssetDetails = thisAssetHolder.lastElementChild;
thisAssetImage.style.opacity = 0.2;
- thisAssetDetails.setAttribute('class', 'grid-item-details flex-container flex-container--column flex-container--justify-center');
+ thisAssetDetails.setAttribute('class', 'grid-item-details flex-container--column flex-container--center-center');
}
function hideAssetDetails(event) {
diff --git a/views/channel.handlebars b/views/channel.handlebars
index 0f81e08f..d512e675 100644
--- a/views/channel.handlebars
+++ b/views/channel.handlebars
@@ -1,11 +1,17 @@
-
Below are the contents for {{this.channelName}}:{{this.longChannelId}}
-
- {{#each this.claims}}
- {{> gridItem}}
- {{/each}}
-
+ {{#ifConditional this.totalPages '===' 0}}
+
There is no content in {{this.channelName}}:{{this.longChannelId}} yet. Upload some!
+ {{/ifConditional}}
+ {{#ifConditional this.totalPages '>=' 1}}
+
Below are the contents for {{this.channelName}}:{{this.longChannelId}}
+
+ {{#each this.claims}}
+ {{> gridItem}}
+ {{/each}}
+
+ {{/ifConditional}}
+ {{#ifConditional this.totalPages '>' 1}}
+ {{/ifConditional}}
diff --git a/views/index.handlebars b/views/index.handlebars
index 432a33f4..ba66b4ef 100644
--- a/views/index.handlebars
+++ b/views/index.handlebars
@@ -1,8 +1,8 @@
-
+
-
+
Drag & drop image or video here to publish
@@ -107,7 +107,7 @@
}
// publish status functions
function showPublishStatus() {
- publishStatus.setAttribute('class', 'row row--tall flex-container flex-container--column flex-container--justify-center');
+ publishStatus.setAttribute('class', 'row row--tall flex-container--column flex-container--center-center');
}
function updatePublishStatus(msg){
publishUpdate.innerHTML = msg;
diff --git a/views/partials/assetInfo.handlebars b/views/partials/assetInfo.handlebars
index a79912ea..8677710d 100644
--- a/views/partials/assetInfo.handlebars
+++ b/views/partials/assetInfo.handlebars
@@ -54,7 +54,7 @@
Share:
-
+
twitter
facebook
tumblr
diff --git a/views/partials/channelCreationForm.handlebars b/views/partials/channelCreationForm.handlebars
index 67b62312..685edad9 100644
--- a/views/partials/channelCreationForm.handlebars
+++ b/views/partials/channelCreationForm.handlebars
@@ -4,7 +4,7 @@
-
+
@
diff --git a/views/partials/channelLoginForm.handlebars b/views/partials/channelLoginForm.handlebars
index 6721547c..99e5c759 100644
--- a/views/partials/channelLoginForm.handlebars
+++ b/views/partials/channelLoginForm.handlebars
@@ -4,7 +4,7 @@
-
+
@
diff --git a/views/partials/navBar.handlebars b/views/partials/navBar.handlebars
index cb403b2c..9ab1a71d 100644
--- a/views/partials/navBar.handlebars
+++ b/views/partials/navBar.handlebars
@@ -1,5 +1,5 @@
-
-
+
-
+
@@ -16,7 +16,7 @@
-
+