2
0
Эх сурвалжийг харах

Replace tabs with spaces in source files. (#1005)

linkmauve 7 жил өмнө
parent
commit
4dc5e01d76

+ 1 - 1
demo/anonymous.html

@@ -16,7 +16,7 @@
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <![if gte IE 9]>
     <![if gte IE 9]>
         <link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/3.2.1/css/converse.min.css" />
         <link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/3.2.1/css/converse.min.css" />
-	<script src="https://cdn.conversejs.org/3.2.1/dist/converse.min.js"></script>
+        <script src="https://cdn.conversejs.org/3.2.1/dist/converse.min.js"></script>
     <![endif]>
     <![endif]>
 </head>
 </head>
 
 

+ 1 - 1
demo/embedded.html

@@ -17,7 +17,7 @@
     <script type="text/javascript" src="../analytics.js"></script>
     <script type="text/javascript" src="../analytics.js"></script>
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <![if gte IE 9]>
     <![if gte IE 9]>
-	<script src="../dist/converse-muc-embedded.min.js"></script>
+        <script src="../dist/converse-muc-embedded.min.js"></script>
     <![endif]>
     <![endif]>
 </head>
 </head>
 
 

+ 1 - 1
demo/index.html

@@ -16,7 +16,7 @@
     <script type="text/javascript" src="analytics.js"></script>
     <script type="text/javascript" src="analytics.js"></script>
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <![if gte IE 9]>
     <![if gte IE 9]>
-	<script src="/dist/converse.min.js"></script>
+        <script src="/dist/converse.min.js"></script>
     <![endif]>
     <![endif]>
 </head>
 </head>
 
 

+ 1 - 1
demo/without_bundled_dependencies.html

@@ -51,7 +51,7 @@
     <script type="text/javascript" src="../node_modules/moment/min/moment-with-locales.js"></script>
     <script type="text/javascript" src="../node_modules/moment/min/moment-with-locales.js"></script>
 
 
     <script type="text/javascript" src="../3rdparty/lodash.fp.js"></script>
     <script type="text/javascript" src="../3rdparty/lodash.fp.js"></script>
-	<script src="../dist/converse-no-dependencies.js"></script>
+    <script src="../dist/converse-no-dependencies.js"></script>
 </head>
 </head>
 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
     <section class="intro">
     <section class="intro">

+ 1 - 1
docs/source/_static/style.css

@@ -47,7 +47,7 @@ h5 {
 }
 }
 .bs-sidenav .nav .nav .nav > li > a {
 .bs-sidenav .nav .nav .nav > li > a {
     font-size: 90%;
     font-size: 90%;
-	color: gray;
+    color: gray;
 }
 }
 
 
 /*
 /*

+ 3 - 3
sass/_chatrooms.scss

@@ -165,10 +165,10 @@
                             &.occupant {
                             &.occupant {
                                 cursor: pointer;
                                 cursor: pointer;
                                 .occupant-status {
                                 .occupant-status {
-									display: inline-block;
+                                    display: inline-block;
                                     margin-right: 0.5em;
                                     margin-right: 0.5em;
-									width: 0.5em;
-									height: 0.5em;
+                                    width: 0.5em;
+                                    height: 0.5em;
                                     &.occupant-online,
                                     &.occupant-online,
                                     &.occupant-chat {
                                     &.occupant-chat {
                                         background-color: #1A9707;
                                         background-color: #1A9707;

+ 28 - 28
sass/_core.scss

@@ -28,18 +28,18 @@
         width: 100vw;
         width: 100vw;
     }
     }
 
 
-	::-webkit-input-placeholder { /* Chrome/Opera/Safari */
+    ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
         color: $subdued-color;
         color: $subdued-color;
-	}
-	::-moz-placeholder { /* Firefox 19+ */
+    }
+    ::-moz-placeholder { /* Firefox 19+ */
         color: $subdued-color;
         color: $subdued-color;
-	}
-	:-ms-input-placeholder { /* IE 10+ */
+    }
+    :-ms-input-placeholder { /* IE 10+ */
         color: $subdued-color;
         color: $subdued-color;
-	}
-	:-moz-placeholder { /* Firefox 18- */
+    }
+    :-moz-placeholder { /* Firefox 18- */
         color: $subdued-color;
         color: $subdued-color;
-	}
+    }
     ::placeholder {
     ::placeholder {
         color: $subdued-color;
         color: $subdued-color;
     }
     }
@@ -61,33 +61,33 @@
     }
     }
 
 
     @keyframes colorchange-chatmessage {
     @keyframes colorchange-chatmessage {
-		0%   {background-color: rgba(141, 216, 174, 1);}
-		25%  {background-color: rgba(141, 216, 174, 0.75);}
-		50%  {background-color: rgba(141, 216, 174, 0.5);}
-		75%  {background-color: rgba(141, 216, 174, 0.25);}
-		100% {background-color: transparent;}
+        0%   {background-color: rgba(141, 216, 174, 1);}
+        25%  {background-color: rgba(141, 216, 174, 0.75);}
+        50%  {background-color: rgba(141, 216, 174, 0.5);}
+        75%  {background-color: rgba(141, 216, 174, 0.25);}
+        100% {background-color: transparent;}
     }
     }
     @-webkit-keyframes colorchange-chatmessage {
     @-webkit-keyframes colorchange-chatmessage {
-		0%   {background-color: rgba(141, 216, 174, 1);}
-		25%  {background-color: rgba(141, 216, 174, 0.75);}
-		50%  {background-color: rgba(141, 216, 174, 0.5);}
-		75%  {background-color: rgba(141, 216, 174, 0.25);}
-		100% {background-color: transparent;}
+        0%   {background-color: rgba(141, 216, 174, 1);}
+        25%  {background-color: rgba(141, 216, 174, 0.75);}
+        50%  {background-color: rgba(141, 216, 174, 0.5);}
+        75%  {background-color: rgba(141, 216, 174, 0.25);}
+        100% {background-color: transparent;}
     }
     }
 
 
     @keyframes colorchange-chatmessage-muc {
     @keyframes colorchange-chatmessage-muc {
-		0%   {background-color: rgba(255, 181, 162, 1);}
-		25%  {background-color: rgba(255, 181, 162, 0.75);}
-		50%  {background-color: rgba(255, 181, 162, 0.5);}
-		75%  {background-color: rgba(255, 181, 162, 0.25);}
-		100% {background-color: transparent;}
+        0%   {background-color: rgba(255, 181, 162, 1);}
+        25%  {background-color: rgba(255, 181, 162, 0.75);}
+        50%  {background-color: rgba(255, 181, 162, 0.5);}
+        75%  {background-color: rgba(255, 181, 162, 0.25);}
+        100% {background-color: transparent;}
     }
     }
     @-webkit-keyframes colorchange-chatmessage-muc {
     @-webkit-keyframes colorchange-chatmessage-muc {
-		0%   {background-color: rgba(255, 181, 162, 1);}
-		25%  {background-color: rgba(255, 181, 162, 0.75);}
-		50%  {background-color: rgba(255, 181, 162, 0.5);}
-		75%  {background-color: rgba(255, 181, 162, 0.25);}
-		100% {background-color: transparent;}
+        0%   {background-color: rgba(255, 181, 162, 1);}
+        25%  {background-color: rgba(255, 181, 162, 0.75);}
+        50%  {background-color: rgba(255, 181, 162, 0.5);}
+        75%  {background-color: rgba(255, 181, 162, 0.25);}
+        100% {background-color: transparent;}
     }
     }
 
 
 
 

+ 78 - 78
sass/_fonts.scss

@@ -29,84 +29,84 @@
 
 
 #converse-embedded-chat,
 #converse-embedded-chat,
 #conversejs {
 #conversejs {
-    .icon-address-book:before 	{ content: "\270f"; }
-    .icon-attachment:before 	{ content: "\e032"; }
-    .icon-away:before 		    { content: "\25fb"; }
-    .icon-blocked:before 		{ content: "\2718"; }
-    .icon-bold:before 		    { content: "\e04d"; }
-    .icon-bubbles2:before 		{ content: "\e016"; }
-    .icon-bubbles3:before 		{ content: "\e017"; }
-    .icon-bubbles:before 		{ content: "\e015"; }
-    .icon-busy:before 		    { content: "\e004"; }
-    .icon-dnd:before 		    { content: "\e004"; }
-    .icon-cancel-circle:before 	{ content: "\e058"; }
-    .icon-checkmark:before 		{ content: "\2713"; }
-    .icon-close:before 		    { content: "\2715"; }
-    .icon-closed:before 		{ content: "\25ba"; }
-    .icon-cog:before 		    { content: "\e02f"; }
-    .icon-cogs:before 		    { content: "\e022"; }
-    .icon-conversejs:before 	{ content: "\e600"; }
-    .icon-database:before 		{ content: "\f1c0"; }
-    .icon-envelope:before 		{ content: "\f003"; }
-    .icon-exit:before 		    { content: "\e601"; }
-    .icon-eye-blocked:before 	{ content: "\e031"; }
-    .icon-eye:before 		    { content: "\e030"; }
-    .icon-github:before 		{ content: "\eab0"; }
-    .icon-globe:before 		    { content: "\f0ac"; }
-    .icon-google2:before 		{ content: "\ea89"; }
-    .icon-group:before 		    { content: "\f0c0"; }
-    .icon-happy:before 		    { content: "\263b"; }
-    .icon-heart2:before 		{ content: "\f004"; }
-    .icon-heart:before 		    { content: "\2764"; }
-    .icon-heart_empty:before 	{ content: "\f08a"; }
-    .icon-hide-users:before 	{ content: "\e01c"; }
-    .icon-home:before 		    { content: "\e000"; }
-    .icon-idcard-dark:before 	{ content: "\f2c2"; }
-    .icon-idcard:before 		{ content: "\f2c3"; }
-    .icon-image:before 		    { content: "\2b14"; }
-    .icon-info:before 		    { content: "\2360"; }
-    .icon-italic:before 		{ content: "\e04f"; }
-    .icon-key:before 		    { content: "\e028"; }
-    .icon-legal:before 		    { content: "\f0e3"; }
-    .icon-lock-2:before 		{ content: "\e027"; }
-    .icon-minus:before 		    { content: "\e05a"; }
-    .icon-music:before 		    { content: "\266b"; }
-    .icon-newtab:before 		{ content: "\e053"; }
-    .icon-notebook:before 		{ content: "\2710"; }
-    .icon-notification:before 	{ content: "\e01f"; }
-    .icon-offline:before 		{ content: "\e002"; }
-    .icon-logout:before	        { content: "\e002"; }
-    .icon-online:before 		{ content: "\25fc"; }
-    .icon-opened:before 		{ content: "\25bc"; }
-    .icon-pencil:before 		{ content: "\270e"; }
-    .icon-phone-hang-up:before 	{ content: "\260e"; }
-    .icon-phone:before 		    { content: "\260f"; }
-    .icon-plus:before 		    { content: "\271a"; }
-    .icon-pushpin:before 		{ content: "\e012"; }
-    .icon-quotes-left:before 	{ content: "\e01d"; }
-    .icon-reddit:before 		{ content: "\eac6"; }
-    .icon-remove:before 		{ content: "\e02d"; }
-    .icon-room-info:before 		{ content: "\e059"; }
-    .icon-save:before 		    { content: "\f0c7"; }
-    .icon-search:before 		{ content: "\e021"; }
-    .icon-show-users:before 	{ content: "\e01e"; }
-    .icon-smiley:before 		{ content: "\263a"; }
-    .icon-snowflake:before 		{ content: "\f2dc"; }
-    .icon-spell-check:before 	{ content: "\e045"; }
-    .icon-spinner:before 		{ content: "\231b"; }
-    .icon-star:before 		    { content: "\f005"; }
-    .icon-star_empty:before 	{ content: "\f006"; }
-    .icon-strikethrough:before 	{ content: "\e050"; }
-    .icon-twitter:before 		{ content: "\ea96"; }
-    .icon-underline:before 		{ content: "\e04e"; }
-    .icon-unlocked:before 		{ content: "\e025"; }
-    .icon-user:before 		    { content: "\e01a"; }
-    .icon-users:before 		    { content: "\e01b"; }
-    .icon-warning:before 		{ content: "\26a0"; }
-    .icon-wrench:before 		{ content: "\e024"; }
-    .icon-xa:before 		    { content: "\e602"; }
-    .icon-zoomin:before 		{ content: "\e02b"; }
-    .icon-zoomout:before 		{ content: "\e02a"; }
+    .icon-address-book:before   { content: "\270f"; }
+    .icon-attachment:before     { content: "\e032"; }
+    .icon-away:before           { content: "\25fb"; }
+    .icon-blocked:before        { content: "\2718"; }
+    .icon-bold:before           { content: "\e04d"; }
+    .icon-bubbles2:before       { content: "\e016"; }
+    .icon-bubbles3:before       { content: "\e017"; }
+    .icon-bubbles:before        { content: "\e015"; }
+    .icon-busy:before           { content: "\e004"; }
+    .icon-dnd:before            { content: "\e004"; }
+    .icon-cancel-circle:before  { content: "\e058"; }
+    .icon-checkmark:before      { content: "\2713"; }
+    .icon-close:before          { content: "\2715"; }
+    .icon-closed:before         { content: "\25ba"; }
+    .icon-cog:before            { content: "\e02f"; }
+    .icon-cogs:before           { content: "\e022"; }
+    .icon-conversejs:before     { content: "\e600"; }
+    .icon-database:before       { content: "\f1c0"; }
+    .icon-envelope:before       { content: "\f003"; }
+    .icon-exit:before           { content: "\e601"; }
+    .icon-eye-blocked:before    { content: "\e031"; }
+    .icon-eye:before            { content: "\e030"; }
+    .icon-github:before         { content: "\eab0"; }
+    .icon-globe:before          { content: "\f0ac"; }
+    .icon-google2:before        { content: "\ea89"; }
+    .icon-group:before          { content: "\f0c0"; }
+    .icon-happy:before          { content: "\263b"; }
+    .icon-heart2:before         { content: "\f004"; }
+    .icon-heart:before          { content: "\2764"; }
+    .icon-heart_empty:before    { content: "\f08a"; }
+    .icon-hide-users:before     { content: "\e01c"; }
+    .icon-home:before           { content: "\e000"; }
+    .icon-idcard-dark:before    { content: "\f2c2"; }
+    .icon-idcard:before         { content: "\f2c3"; }
+    .icon-image:before          { content: "\2b14"; }
+    .icon-info:before           { content: "\2360"; }
+    .icon-italic:before         { content: "\e04f"; }
+    .icon-key:before            { content: "\e028"; }
+    .icon-legal:before          { content: "\f0e3"; }
+    .icon-lock-2:before         { content: "\e027"; }
+    .icon-minus:before          { content: "\e05a"; }
+    .icon-music:before          { content: "\266b"; }
+    .icon-newtab:before         { content: "\e053"; }
+    .icon-notebook:before       { content: "\2710"; }
+    .icon-notification:before   { content: "\e01f"; }
+    .icon-offline:before        { content: "\e002"; }
+    .icon-logout:before         { content: "\e002"; }
+    .icon-online:before         { content: "\25fc"; }
+    .icon-opened:before         { content: "\25bc"; }
+    .icon-pencil:before         { content: "\270e"; }
+    .icon-phone-hang-up:before  { content: "\260e"; }
+    .icon-phone:before          { content: "\260f"; }
+    .icon-plus:before           { content: "\271a"; }
+    .icon-pushpin:before        { content: "\e012"; }
+    .icon-quotes-left:before    { content: "\e01d"; }
+    .icon-reddit:before         { content: "\eac6"; }
+    .icon-remove:before         { content: "\e02d"; }
+    .icon-room-info:before      { content: "\e059"; }
+    .icon-save:before           { content: "\f0c7"; }
+    .icon-search:before         { content: "\e021"; }
+    .icon-show-users:before     { content: "\e01e"; }
+    .icon-smiley:before         { content: "\263a"; }
+    .icon-snowflake:before      { content: "\f2dc"; }
+    .icon-spell-check:before    { content: "\e045"; }
+    .icon-spinner:before        { content: "\231b"; }
+    .icon-star:before           { content: "\f005"; }
+    .icon-star_empty:before     { content: "\f006"; }
+    .icon-strikethrough:before  { content: "\e050"; }
+    .icon-twitter:before        { content: "\ea96"; }
+    .icon-underline:before      { content: "\e04e"; }
+    .icon-unlocked:before       { content: "\e025"; }
+    .icon-user:before           { content: "\e01a"; }
+    .icon-users:before          { content: "\e01b"; }
+    .icon-warning:before        { content: "\26a0"; }
+    .icon-wrench:before         { content: "\e024"; }
+    .icon-xa:before             { content: "\e602"; }
+    .icon-zoomin:before         { content: "\e02b"; }
+    .icon-zoomout:before        { content: "\e02a"; }
 
 
     [data-icon]:before {
     [data-icon]:before {
         content: attr(data-icon);
         content: attr(data-icon);

+ 1 - 1
src/templates/registration_request.html

@@ -1,5 +1,5 @@
 <span class="spinner login-submit"></span>
 <span class="spinner login-submit"></span>
 <p class="info">{{{o.__("Hold tight, we're fetching the registration form…")}}}</p>
 <p class="info">{{{o.__("Hold tight, we're fetching the registration form…")}}}</p>
 {[ if (o.cancel) { ]}
 {[ if (o.cancel) { ]}
-	<button class="pure-button button-cancel hor_centered">{{{o.__('Cancel')}}}</button>
+    <button class="pure-button button-cancel hor_centered">{{{o.__('Cancel')}}}</button>
 {[ } ]}
 {[ } ]}