minor update
This commit is contained in:
1 parent
3ded19016a
commit
874819266d
9 files changed
+27
-16
No files matched your search
@@ -16,4 +16,4 @@
|
||||
//= require orbitdesktop
|
||||
//= require jquery.gridster
|
||||
//= require desktop/books_pages
|
||||
//= require select2
|
||||
//= require select2
|
||||
@@ -849,7 +849,7 @@ var orbitDesktop = function(dom){
|
||||
if(i == 1){
|
||||
$column = $('<div class="g_col g_col_w1"></div>');
|
||||
}
|
||||
var $newelement = $('<div class="element w1 h1 hp vp thmc2">'+$(this).html()+'</div>');
|
||||
var $newelement = $('<div class="element w1 h1 thmc2">'+$(this).html()+'</div>');
|
||||
$column.append($newelement);
|
||||
if(i == 4){
|
||||
$result.append($column);
|
||||
@@ -899,6 +899,11 @@ var orbitDesktop = function(dom){
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$(window).on('keydown', function(){
|
||||
if($('#searchbox').val() == 'Search'){
|
||||
$('#searchbox').focus();
|
||||
}
|
||||
});
|
||||
o.appname_substr('#group_wrapper .element');
|
||||
o.simple_switch();
|
||||
}
|
||||
@@ -910,7 +915,7 @@ var orbitDesktop = function(dom){
|
||||
$.each(apps,function(i,app){
|
||||
var $app;
|
||||
count++;
|
||||
$app = $('<div class="element w1 h1 hp vp thmc2" data-category="'+app.data_category+'" data-content="'+app.data_content+'"><span class="tile thmc2"></span><a href="'+app._id+'" class="appicon"><img src="'+o.iconPath+app.data_content+'.png" alt="" onclick="return false;"></a><h1 class="appname thmtxt">'+app.title+'</h1></div>');
|
||||
$app = $('<div class="element w1 h1 thmc2" data-category="'+app.data_category+'" data-content="'+app.data_content+'"><span class="tile thmc2"></span><a href="'+app._id+'" class="appicon"><img src="'+o.iconPath+app.data_content+'.png" alt="" onclick="return false;"></a><h1 class="appname thmtxt">'+app.title+'</h1></div>');
|
||||
if( count > 4 ){
|
||||
count = 1, colindex+=1;
|
||||
$('#app_list').append('<div class="g_col g_col_w1 col'+ colindex +'"/>');
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
-moz-transition: left 0.3s ease;
|
||||
transition: left 0.3s ease; }
|
||||
.s_switch .s_switch_switcher input[type=checkbox]:checked + .s_switch_toggle {
|
||||
left: 32px; }
|
||||
left: 30px; }
|
||||
|
||||
/* tool bar */
|
||||
.toolbar {
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
@include transition-type(left,0.3);
|
||||
}
|
||||
&:checked + .s_switch_toggle {
|
||||
left: 32px;
|
||||
left: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -468,7 +468,7 @@ a.admtxt.admbg2:hover {
|
||||
height: 60px;
|
||||
margin: 0 auto;
|
||||
position: relative; }
|
||||
[data-sizex="1"] .appicon {
|
||||
[data-sizex="1"] .appicon, .w1.h1 .appicon {
|
||||
margin-top: 24px; }
|
||||
#sections .appicon {
|
||||
width: 30px;
|
||||
|
||||
@@ -442,7 +442,7 @@ a.admtxt.admbg2:hover {
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
|
||||
[data-sizex="1"] & {
|
||||
[data-sizex="1"] &, .w1.h1 & {
|
||||
margin-top: 24px;
|
||||
}
|
||||
#sections & {
|
||||
|
||||
@@ -95,6 +95,12 @@
|
||||
orbitDesktop.prototype.currentUsername = "<%= @currentusername %>";
|
||||
//uselessfunction();
|
||||
var od = new orbitDesktop("#ajax_container");
|
||||
if($.browser.msie){
|
||||
if($.browser.version < 9){
|
||||
$.fx.off = true;
|
||||
o.notify("We turn off the animation (javascript) for you, but still you can turn it on",10);
|
||||
}
|
||||
}
|
||||
o.notify("Welcome "+o.currentUsername+"!!","alert",3);
|
||||
</script>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="s_tab stb_h">
|
||||
<ul>
|
||||
<li><a href="#st1" class="hh1 hp thmtxt thmc2">Select Theme</a></li>
|
||||
<li><a href="#st2" class="hh1 hp admtxt admbg">Custom Theme</a></li>
|
||||
<li><a href="#st1" class="hh1 hp thmtxt thmc2">Themes</a></li>
|
||||
<li><a href="#st2" class="hh1 hp admtxt admbg">Theme Color</a></li>
|
||||
<li><a href="#st3" class="hh1 hp admtxt admbg">Wallpaper</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user