Название вашего журнала (quwiero) wrote in changelog,
Название вашего журнала
quwiero
changelog

[ljcom] r12614: LJSUP-13553: Add standart spinner

Committer: sboronchiev
LJSUP-13553: Add standart spinner
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/htdocs/stc/shop/shop.css
U   trunk/templates/Shop/Wallet.tmpl
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2012-09-06 09:01:35 UTC (rev 12613)
+++ trunk/bin/upgrading/en_LJ.dat	2012-09-06 09:49:00 UTC (rev 12614)
@@ -16553,6 +16553,8 @@
 wallet.bml.landing.label.send_tokens.to|staleness=1
 wallet.bml.landing.label.send_tokens.to=to
 
+wallet.bml.landing.loading=Loading…
+
 wallet.bml.landing.message.xfer_success|staleness=1
 wallet.bml.landing.message.xfer_success=You have successfully sent [[qty]] [[?qty|token|tokens|tokens]] to [[rcpt]].
 

Modified: trunk/htdocs/stc/shop/shop.css
===================================================================
--- trunk/htdocs/stc/shop/shop.css	2012-09-06 09:01:35 UTC (rev 12613)
+++ trunk/htdocs/stc/shop/shop.css	2012-09-06 09:49:00 UTC (rev 12614)
@@ -1174,15 +1174,22 @@
 .no-items .b-tokens-items {
 	display: none;
 	}
+	
+	
+/* Preloader */
+.b-buy-goods .b-splatest-more {
+	display: none;
+	}
 .b-tokens-preloader-show {
 	min-height: 45px;
-	background: url(/img/preloader/spinner1.gif) no-repeat 50% 50%;
 	}
 	.b-tokens-preloader-show .b-tokens-items {
-		display: table;
-		visibility: hidden;
+		display: none;
 		}
-	.b-tokens-preloader-show .b-items-notfound  {
+	.b-tokens-preloader-show .b-splatest-more {
+		display: block;
+		}
+	.b-tokens-preloader-show .b-items-notfound {
 		display: none;
 		}
 	.b-items-notfound {

Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-09-06 09:01:35 UTC (rev 12613)
+++ trunk/templates/Shop/Wallet.tmpl	2012-09-06 09:49:00 UTC (rev 12614)
@@ -184,6 +184,9 @@
 					<div class="b-items-notfound">
 						<tmpl_var expr="ml('wallet.bml.reserved.notfound')">
 					</div>
+					<div class="b-splatest-more">
+						<span class="b-splatest-more-inner"><TMPL_VAR expr="ml('wallet.bml.landing.loading')"></span>
+					</div>
 		        </form>
 			</li>
 			<li data-pagesize="<TMPL_VAR pagesize>" class="b-buy-goods-item b-incoming-item <TMPL_IF tab_incoming_active>current</TMPL_IF> <TMPL_UNLESS blockings>no-items</TMPL_UNLESS>">
@@ -228,6 +231,9 @@
 					<div class="b-items-notfound">
 						<tmpl_var expr="ml('wallet.bml.incoming.notfound')">
 					</div>
+					<div class="b-splatest-more">
+						<span class="b-splatest-more-inner"><TMPL_VAR expr="ml('wallet.bml.landing.loading')"></span>
+					</div>
 				</form>
 			</li>
 		</TMPL_UNLESS>

Tags: css, dat, ljcom, quwiero, sboronchiev, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments