Changeset 65

User picture

Author: lukaszkorecki

(2009/04/29 17:28) About 3 years ago

STH.

Affected files

Updated branches/deckUI/deskblip.html Download diff

6465
399
            <div class="displayer" id="dashboard">
399
            <div class="displayer" id="dashboard">
400
                <!-- <h1>Kokpit</h1> -->
400
                <!-- <h1>Kokpit</h1> -->
401
                <div class="dColumn" id="updates">
401
                <div class="dColumn" id="updates">
402
					<h1>
402
					<h3>
403
						Kokpit
403
						Kokpit
404
					</h1>
404
					</h3>
405
					<div class="holder"></div>
405
					<div class="holder"></div>
406
				</div>
406
				</div>
407
				<div class="dColumn" id="messages">
407
				<div class="dColumn" id="messages">
408
					<h1>
408
					<h3>
409
						Wiadomości
409
						Wiadomości
410
					</h1>
410
					</h3>
411
					<div class="holder"><hr /></div>
411
					<div class="holder"><hr /></div>
412
				</div>
412
				</div>
413
				<div class="dColumn" id="privMessages">
413
				<div class="dColumn" id="privMessages">
414
					<h1>
414
					<h3>
415
						Prywatne
415
						Prywatne
416
					</h1>
416
					</h3>
417
					<div class="holder"><hr /></div>
417
					<div class="holder"><hr /></div>
418
				</div>
418
				</div>
419
				<div class="dColumn" id="notices">
419
				<div class="dColumn" id="notices">
420
					<h1>
420
					<h3>
421
						Powiadomienia
421
						Powiadomienia
422
					</h1>
422
					</h3>
423
					<div class="holder"><hr /></div>
423
					<div class="holder"><hr /></div>
424
				</div>
424
				</div>
425
425
				<div class="dColumn" id="favs">
426
					<h3>Ulubione</h3>
427
					<div class="holder"></div>
428
				</div>
429
				<div class="dColumn" id="tag">
430
					<h3>Tag <span></span></h3>
431
					<div class="holder"></div>	
432
				</div>
426
            </div>
433
            </div>
427
            <div class="displayer" id="bliposphere">
434
            <div class="displayer" id="bliposphere">
428
            	<h3>Bliposfera</h3>
435
            	<h3>Bliposfera</h3>
...
...
518
        <!-- CONTROLZ SEKSZYN! - - - - - - - - - - -  - - - - - - -->
525
        <!-- CONTROLZ SEKSZYN! - - - - - - - - - - -  - - - - - - -->
519
        <div id="controls">
526
        <div id="controls">
520
                <form id="sendForm">
527
                <form id="sendForm">
521
					<textarea id="mainEntry" rows="3"></textarea>
528
					<textarea id="mainEntry" rows="1"></textarea>
522
					<ul>
529
					<ul>
523
                    <li>
530
                    <li>
524
                    	<input type="submit" id="sendButton" value="Wyślij" />
531
                    	<input type="submit" id="sendButton" value="Wyślij" />
...
...
532
					</li>
539
					</li>
533
					</ul>
540
					</ul>
534
				</form>
541
				</form>
535
				<p id="infobar">
542
				<span id="infobar">
536
						<a href="#" class="button" id="addBlip" name="addBlip">
543
						<a href="#" class="hide button" id="addBlip" name="addBlip">
537
							<img src="media/img/icons/plus.png">Napisz</a> 
544
							<img src="media/img/icons/plus.png">Napisz</a> 
538
						<a class="button" href="#" id="clearUnread" title="Wyczyść nieprzeczytane" name="clearUnread">
545
						<a class="button" href="#" id="clearUnread" title="Wyczyść nieprzeczytane" name="clearUnread">
539
							<img src="media/img/icons/clean.png" alt="clean">&nbsp;Wyczyść</a>
546
							<img src="media/img/icons/clean.png" alt="clean">&nbsp;Wyczyść</a>
540
						&nbsp;<span id="unread"></span>
547
						&nbsp;<span id="unread"></span>
541
						&nbsp;<img class="loader" src="media/img/ajax-loader-small.gif" alt="ajax loader">
548
						&nbsp;<img class="loader" src="media/img/ajax-loader-small.gif" alt="ajax loader">
542
						&nbsp;<span id="info">Witaj!</span>
549
						&nbsp;<span id="info">Witaj!</span>
543
				</p>
550
				</span>
544
551
545
		</div>
552
		</div>
546
	</div>
553
	</div>

Updated branches/deckUI/lib/BlipApi.js Download diff

6465
194
194
195
        $.ajax({
195
        $.ajax({
196
            type: "GET",
196
            type: "GET",
197
            //            url: BlipApi.apiUrl + "/users/"+Engine.User.login+"/notices?limit=25&include=user,user[avatar],recipient,recipient[avatar],pictures",
197
                        url: BlipApi.apiUrl +
"/users/"+Engine.User.login+"/notices?limit=25&include=user,user[avatar],recipient,recipient[avatar],pictures",
198
            url: BlipApi.apiUrl + "/notices?limit=25&include=user,user[avatar],recipient,recipient[avatar],pictures",
198
            //url: BlipApi.apiUrl + "/notices?limit=25&include=user,user[avatar],recipient,recipient[avatar],pictures",
199
            dataType: "json",
199
            dataType: "json",
200
            success: function(json) {
200
            success: function(json) {
201
                air.trace(json.length);
201
                air.trace(json.length);

Updated branches/deckUI/lib/deskblip.css Download diff

6465
5
    overflow: hidden;
5
    overflow: hidden;
6
    color: #f3f3f3;
6
    color: #f3f3f3;
7
    line-height: 180%;
7
    line-height: 180%;
8
    background: #222;
8
/*	-webkit-box-shadow: 0px 0px 10px #000		*/
9
/*	-webkit-box-shadow: 0px 0px 10px #000		*/
9
}
10
}
10
.body {
11
.body {
11
	    background: #222;
12
	    background: #222;
12
}
13
}
13
 #window {
14
 #window {
14
    height: 100%;
15
/*    height: 100%;*/
15
    overflow: hidden;
16
16
    background: #222;
17
	max-height:500px;
18
	
19
    overflow: auto;
20
    
17
    /*-webkit-border-radius: 5px;*/
21
    /*-webkit-border-radius: 5px;*/
18
22
19
}
23
}
...
...
37
41
38
42
39
h1, h2, h3 {
43
h1, h2, h3 {
40
    text-align: center;
44
    text-align: left;
41
/*    -webkit-border-radius: 4px;*/
45
/*    -webkit-border-radius: 4px;*/
42
    color: #f3f3f3;
46
    color: #f3f3f3;
43
    width: 75%;
47
    width: 75%;

Updated branches/deckUI/lib/engine.js Download diff

6465
215
            '"><img src="media/img/icons/pmsg.png" /></a> <a class="quote button" href="#"
title="http://blip.pl/dm/' +
215
            '"><img src="media/img/icons/pmsg.png" /></a> <a class="quote button" href="#"
title="http://blip.pl/dm/' +
216
            update.id +
216
            update.id +
217
            '"><img src="media/img/icons/quote.png" /></a><a href="#" class="f' + update.id + ' button favor
"><img src="media/img/icons/fav_empty.png" alt="set/unset as fav" /></a></div>'
217
            '"><img src="media/img/icons/quote.png" /></a><a href="#" class="f' + update.id + ' button favor
"><img src="media/img/icons/fav_empty.png" alt="set/unset as fav" /></a></div>'
218
            + '<span class=" button info"><span>' + update.created_at + " przez " + update.transport.name +
218
            + '<span class=" button info"><span>' + update.created_at + " via " + update.transport.name +
219
            //" id:"+ update.id +
219
            //" id:"+ update.id +
220
            '</span>'
220
            '</span>'
221
            + '<a class="externalLink perm button" target="_blank" href="http://blip.pl/dm/' +
221
            + '<a class="externalLink perm button" target="_blank" href="http://blip.pl/dm/' +
...
...
269
            + '<a class="externalLink perm button" target="_blank" href="http://blip.pl/s/' + update.id +
269
            + '<a class="externalLink perm button" target="_blank" href="http://blip.pl/s/' + update.id +
270
            '"><img src="media/img/icons/perm.png" /></a> </div>';
270
            '"><img src="media/img/icons/perm.png" /></a> </div>';
271
        },
271
        },
272
        Update : function(json) {
273
        
274
        	return 0;	
275
        },
272
        Profile: function(userdata) {
276
        Profile: function(userdata) {
273
            /**
277
            /**
274
	 * Gets user data nad last 5 updates and formats it
278
	 * Gets user data nad last 5 updates and formats it

Updated branches/deckUI/lib/interface.js Download diff

6465
425
        this.nowActive = section;
425
        this.nowActive = section;
426
    },
426
    },
427
	toggleEntry : function() {
427
	toggleEntry : function() {
428
		air.trace("Toggling the toggler");
428
		
429
/*
429
		if($('#sendForm').hasClass('hidden')) {
430
		if($('#sendForm').hasClass('hidden')) {
430
	    	$('#sendForm').show().removeClass('hidden').addClass('visible');
431
	    	$('#sendForm').show().removeClass('hidden').addClass('visible');
431
	    	$('#container').css('bottom', 95);
432
	    	$('#container').css('bottom', 95);
...
...
433
	    	$('#sendForm').hide().addClass('hidden').removeClass('visible');
434
	    	$('#sendForm').hide().addClass('hidden').removeClass('visible');
434
	    	$('#container').css('bottom', 31);
435
	    	$('#container').css('bottom', 31);
435
	    }
436
	    }
437
*/	    
436
    },
438
    },
437
    expandShortlink: function(url, target) {
439
    expandShortlink: function(url, target) {
438
        $("." + target).attr('href', url);
440
        $("." + target).attr('href', url);