various update
This commit is contained in:
1 parent
42f45aa137
commit
0219c3df28
41 files changed
+120
-20
No files matched your search
@@ -178,7 +178,7 @@ var orbitDesktop = function(dom){
|
||||
};
|
||||
this.tempFunc = function(){
|
||||
//o.notify("This is test notification!!","alert",2)
|
||||
$.post("/desktop/save_desktop_settings",{"id":o.desktopId,"theme":$("#change_theme").val()},function(){
|
||||
$.post("/desktop/save_desktop_settings",{"id":o.desktopId,"theme":$('.theme_name').text()},function(){
|
||||
o.notify("Settings Saved!!","success");
|
||||
})
|
||||
}
|
||||
@@ -294,8 +294,17 @@ var orbitDesktop = function(dom){
|
||||
var bindHandlers = function(){
|
||||
$(".theme_list > li").click(function(){
|
||||
o.changeTheme($(this).find('.theme_name').text());
|
||||
$(".theme_list > li").removeClass('thmc1').data('clicked',null);
|
||||
$(this).addClass('thmc1').data('clicked',true);
|
||||
$(".theme_list > li")
|
||||
.removeClass('thmc1')
|
||||
.data('clicked',null)
|
||||
.find('.theme_name')
|
||||
.removeClass('thmtxt');
|
||||
$(this)
|
||||
.addClass('thmc1')
|
||||
.data('clicked',true)
|
||||
.find('.theme_name')
|
||||
.addClass('thmtxt');
|
||||
od.tempFunc();
|
||||
});
|
||||
|
||||
$('.tinycanvas').each(function(){
|
||||
@@ -332,6 +341,7 @@ var orbitDesktop = function(dom){
|
||||
|
||||
});
|
||||
|
||||
$('.theme_list li:first-child').data('clicked',true); // this line just for demo
|
||||
$('.theme_list li').hover(function(){
|
||||
$(this)
|
||||
.addClass('thmc1')
|
||||
|
||||
@@ -70,7 +70,7 @@ a:focus { outline: none; }
|
||||
}
|
||||
#side {
|
||||
width: 156px;
|
||||
height: 540px;
|
||||
height: 516px;
|
||||
position: absolute;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
@@ -79,7 +79,7 @@ a:focus { outline: none; }
|
||||
#holder {
|
||||
/*overflow: hidden;
|
||||
overflow-x: auto;*/
|
||||
height: 540px;
|
||||
height: 516px;
|
||||
width: auto;
|
||||
position: relative;
|
||||
}
|
||||
@@ -176,7 +176,7 @@ a:focus { outline: none; }
|
||||
z-index: 2;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
.holder_f {
|
||||
.holder_f .appholder {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -184,6 +184,7 @@ a:focus { outline: none; }
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.holder_f .appname { display: none; }
|
||||
.dtitle {
|
||||
font-size: 30px;
|
||||
line-height: 60px;
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
<li class="element w2 h2 hp vp" data-category="widget" data-content='weather'>
|
||||
<span class="tile thmc2 op09"></span>
|
||||
<h1 class="appname thmtxt">Weather</h1>
|
||||
<div class="appholder holder_f">
|
||||
<div class="appholder">
|
||||
</div>
|
||||
</li>
|
||||
<li class="element w2 h1 hp vp" data-category="widget" data-content='clock'>
|
||||
<li class="element w2 h1 hp vp holder_f" data-category="widget" data-content='clock'>
|
||||
<span class="tile thmc1 op08"></span>
|
||||
<h1 class="appname thmtxt">Clock</h1>
|
||||
<div class="appholder holder_f">test content</div>
|
||||
<div class="appholder">test content</div>
|
||||
</li>
|
||||
<li class="element w2 h1 hp vp" data-category="widget" data-content="school_events">
|
||||
<span class="tile thmc1 op08"></span>
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
<div class="overview">
|
||||
<div id="st1" class="st_c">
|
||||
<ul class="theme_list">
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">default</span></li>
|
||||
<li class="thmc1"><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name thmtxt">default</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">snake</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">sexy</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">vintage</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">Woodstock westwood allenwood</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">natural</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">chris</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">Wood</span></li>
|
||||
<li><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name">Wood</span></li>
|
||||
|
||||
Reference in new issue
Block a user