瀏覽代碼

Added error_icon.png and spinner.gif images

Added error_icon.png and spinner.gif images to not make it dependent of
Plone resources.
Alexandru Ghica 12 年之前
父節點
當前提交
0f9c088c41
共有 4 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      converse.css
  2. 1 1
      converse.js
  3. 二進制
      images/error_icon.png
  4. 二進制
      images/spinner.gif

+ 1 - 1
converse.css

@@ -30,7 +30,7 @@
 }
 
 #connecting-to-chat {
-    background: url('/spinner.gif') no-repeat;
+    background: url(images/spinner.gif) no-repeat left;
     padding-left: 1.4em;
 }
 

+ 1 - 1
converse.js

@@ -1818,7 +1818,7 @@
             $toggle.hide();
             $connecting.show();
             $connecting.html('Unable to communicate with chat server');
-            $connecting.css('background-image', "url('/error_icon.png')");
+            $connecting.css('background-image', "url(images/error_icon.png)");
             console.log("Connection Failed :(");
         }, this));
 

二進制
images/error_icon.png


二進制
images/spinner.gif