Răsfoiți Sursa

removed rooms from login view & removed right margin from dashboard

unknown 9 ani în urmă
părinte
comite
227532ce0d
3 a modificat fișierele cu 26 adăugiri și 14 ștergeri
  1. 4 5
      app/app.css
  2. 7 7
      app/templates/dashboard.html
  3. 15 2
      app/templates/home.html

+ 4 - 5
app/app.css

@@ -411,7 +411,7 @@ form button:hover {
   background-color: rgba(255, 255, 255, 0.3);
 }
 .bg-bubbles li:nth-child(10) {
-  left: 90%;
+  left: 80%;
   width: 160px;
   height: 160px;
   -webkit-animation-delay: 11s;
@@ -463,7 +463,6 @@ footer {
   height: 60px;
   margin-top: 95px;
   color: white;
-  background-color: rgba(255,255,255,0.4);
   padding-top: 5px;
 }
 .push {
@@ -708,7 +707,7 @@ footer a:hover{
 #croom_container {
   margin-left: auto;
   margin-right: auto;
-  margin-bottom: 100px;
+  margin-bottom: 10px;
   width: 304px !important;
 }
 #croom_label {
@@ -831,7 +830,7 @@ footer a:hover{
   text-align: center;
 }
 .admin-queue-panel:first-child {
-  margin-top: 100px;
+  margin-top: 20px;
 }
 #songs {
   margin-top: -200px;
@@ -887,4 +886,4 @@ footer a:hover{
 }
 #loginregistercontainer {
   margin-bottom: 100px;
-}
+}

+ 7 - 7
app/templates/dashboard.html

@@ -27,12 +27,12 @@
     </ul>
 
     <script type="text/javascript">
-        window.doorbellOptions = {
-            appKey: 'v2Gu14c8s9HgBsAFCXNWIm2vlk11N12Plt2Wu5k2MbQIkM1Ao6kOTCbfN95ElEVM',
-            hideEmail: true
-        };
-        (function(d, t) {
-            var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/2408?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g);
-        }(document, 'script'));
+      window.doorbellOptions = {
+          appKey: 'v2Gu14c8s9HgBsAFCXNWIm2vlk11N12Plt2Wu5k2MbQIkM1Ao6kOTCbfN95ElEVM',
+          hideEmail: true
+      };
+      (function(d, t) {
+          var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/2408?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g);
+      }(document, 'script'));
     </script>
 </template>

+ 15 - 2
app/templates/home.html

@@ -1,7 +1,8 @@
 <template name="home">
     <div class="homepage">
-        {{> header}}
+      {{> header}}
         {{#if currentUser}}
+          {{> dashboard}}
         {{else}}
             <div id="loginregistercontainer">
                 <div id="login-view">
@@ -12,8 +13,20 @@
                 </div>
             </div>
         {{/if}}
-        {{> dashboard}}
         <div class="push"></div>
     </div>
     {{> footer}}
+    
+    <ul class="bg-bubbles">
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+        <li></li>
+    </ul>
 </template>