]> source.dussan.org Git - nextcloud-server.git/commitdiff
UI problems solved. Bookmarks app updated.
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Tue, 21 Feb 2012 21:31:35 +0000 (22:31 +0100)
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Wed, 22 Feb 2012 15:04:31 +0000 (16:04 +0100)
16 files changed:
apps/bookmarks/css/bookmarks.css
apps/bookmarks/js/bookmarks.js
apps/bookmarks/templates/list.php
apps/bookmarks/templates/settings.php
apps/contacts/css/contacts.css
apps/contacts/js/contacts.js
apps/gallery/css/styles.css
apps/media/js/collection.js
apps/media/js/loader.js
apps/media/js/music.js
apps/media/js/playlist.js
apps/media/js/scanner.js
core/css/styles.css
core/js/js.js
core/templates/layout.user.php
settings/css/settings.css

index 8dfdc8a07b948760a866c86c61bec3c28ef88e15..499a4e9c53e94b511d3754e43e254a6accce1f6e 100644 (file)
@@ -1,4 +1,7 @@
-#content { overflow: auto; }
+#content { overflow: auto; height: 100%; }
+#firstrun { width: 80%; margin: 5em auto auto auto; text-align: center; font-weight:bold; font-size:1.5em;  color:#777;}
+#firstrun small { display: block; font-weight: normal; font-size: 0.5em; }
+#firstrun #selections { font-size:0.8em;  width: 100%; margin: 2em auto auto auto; clear: both; }
 
 .bookmarks_headline {
        font-size: large;
index fadbbd5513ae43c7c5a68f87fa7486e3ab464be8..328f88a45d9276cd8742c7d91f469577bceb6f65 100644 (file)
@@ -35,6 +35,7 @@ function getBookmarks() {
        
                        for(var i in bookmarks.data) {
                                updateBookmarksList(bookmarks.data[i]);
+                               $("#firstrun").hide();
                        }
 
                        $('.bookmark_link').click(recordClick);
@@ -71,6 +72,8 @@ function addOrEditBookmark(event) {
        var tags = encodeEntities($('#bookmark_add_tags').val());
        var taglist = tags.split(' ');
        var tagshtml = '';
+       $("#firstrun").hide();
+
        for ( var i=0, len=taglist.length; i<len; ++i ){
                tagshtml += '<a class="bookmark_tag" href="?tag=' + encodeURI(taglist[i]) + '">' + taglist[i] + '</a> ';
        }
index d44a0ecbcdbacd0eaf141b0e0ef8d86fd88b662f..bd33fe457fd9b05ebb4fa8318266906da2225ceb 100644 (file)
        <p><label class="bookmarks_label"></label><input type="submit" value="<?php echo $l->t('Add bookmark'); ?>" id="bookmark_add_submit" /></p>
 </div>
 <div class="bookmarks_list">
-       <?php echo $l->t('You have no bookmarks'); ?>
 </div>
-<div id="footer">
-Bookmark pages more easily. Drag this bookmarklet to the Bookmarks bar of your browser:
-<a style='background-color:#dddddd;border:1px groove #999; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px' href='javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') ?>?output=popup&url="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=510px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();'>ownCloud bookmark</a>
+<div id="firstrun">
+       <?php echo $l->t('You have no bookmarks'); ?>
+       <small><?php echo $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.'); ?></small>
+       <div id="selections">
+               <a class="button" href='javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') ?>?output=popup&url="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=510px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();'><?php echo $l->t('Add page to ownCloud'); ?></a>
+       </div>
 </div>
index a985ee9d61b0b8e2d811372bfd3ca60b6dd22ad9..41433d847678c51adb2c986247cd9963bd9cffd3 100644 (file)
@@ -8,7 +8,7 @@
 ?>
 <form id="bookmarks">
                <fieldset class="personalblock">
-                       <span class="bold"><?php echo $l->t('Bookmarklet:');?></span>&nbsp;<a class="bookmarks_addBml" href="javascript:(function(){url=encodeURIComponent(location.href);window.open('<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks') })()"><?php echo $l->t('Add page to ownCloud'); ?></a>
+                       <span class="bold"><?php echo $l->t('Bookmarklet:');?></span>&nbsp;<a class="bookmarks_addBml" href='javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') ?>?output=popup&url="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=510px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();'><?php echo $l->t('Add page to ownCloud'); ?></a>
                        <br/><em><?php echo $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.'); ?></em><br />
                </fieldset>
 </form>
index 384541f37518cc751b1b48b30f4360adec5d94ad..b24ec438f247c68498477d2f2463a92c0e5d5c16 100644 (file)
@@ -17,8 +17,8 @@
 #contacts_propertymenu li a:hover { color: #fff }
 #actionbar { height: 30px; width: 200px; position: fixed; right: 0px; top: 75px; margin: 0 0 0 0; padding: 0 0 0 0;}
 #card { /*max-width: 70em; border: thin solid lightgray; display: block;*/ }
-#firstrun { /*border: thin solid lightgray;*/ width: 80%; margin: 5em auto auto auto; text-align: center; font-weight:bold; font-size:1.5em;  color:#777;}
-#firstrun #selections { /*border: thin solid lightgray;*/ font-size:0.8em;  width: 100%; margin: 2em auto auto auto; clear: both; }
+#firstrun { width: 100%; position: absolute; top: 5em; left: 0; text-align: center; font-weight:bold; font-size:1.5em; color:#777; }
+#firstrun #selections { font-size:0.8em; margin: 2em auto auto auto; clear: both; }
 
 #card input[type="text"].contacts_property,input[type="email"].contacts_property { width: 16em; }
 #card input[type="text"],input[type="email"],input[type="tel"],input[type="date"], select { background-color: #f8f8f8; border: 0 !important; -webkit-appearance:none !important; -moz-appearance:none  !important; -webkit-box-sizing:none !important; -moz-box-sizing:none !important; box-sizing:none !important; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; float: left; }
index 11661320c5901d237f3953eb49f9cac7fd57e776..d033e3f21cdfb3f8f5915cf021b7db7ae1f2b418 100644 (file)
@@ -8,7 +8,7 @@ String.prototype.strip_tags = function(){
        tags = this;
        stripped = tags.replace(/[\<\>]/gi, "");
        return stripped;
-}
+};
 
 
 Contacts={
@@ -142,7 +142,7 @@ Contacts={
                                                        }
                                        });
                                });
-                       }
+                       };
                },
                loadListHandlers:function() {
                        //$('.add,.delete').hide();
@@ -323,7 +323,7 @@ Contacts={
                                        }
                                });
                        },
-                       delete:function() {
+                       delete: function() {
                                $('#contacts_deletecard').tipsy('hide');
                                $.getJSON('ajax/deletecard.php',{'id':this.id},function(jsondata){
                                        if(jsondata.status == 'success'){
index c039cd5ec02b47a20978248b5f15c44a1dad46a6..da94f9ac9e59444f9e66e13b234b80a91e97df6d 100644 (file)
@@ -1,8 +1,8 @@
-div#gallery_list { margin: 70pt 20pt 0 20pt; }
+div#gallery_list { margin: 4.5em 2em 0 2em; }
 div#gallery_list.leftcontent { padding-top: 15pt; margin: 0; position: absolute; bottom:0px; text-align: center; overflow: auto; }
-div.gallery_album_box { width: 200px; position:relative; text-align: center; border: 0; display: inline-block; margin: 5pt; vertical-align: top; padding: 20px 5px 5px 5px; position: relative; -webkit-transition: color 0.5s ease-in-out; -o-transition: color 0.5s ease-in-out; -moz-transition: color 0.5s ease-in-out;color: #BBB;}
+div.gallery_album_box { width: 200px; position:relative; text-align: center; border: 0; display: inline-block; margin: 5pt; vertical-align: top; padding: 5px 5px 5px 5px; position: relative; -webkit-transition: color 0.5s ease-in-out; -o-transition: color 0.5s ease-in-out; -moz-transition: color 0.5s ease-in-out;color: #BBB;}
 div.gallery_album_box h1 { font-size: 9pt; font-family: Verdana; }
-div.gallery_album_decoration { width: 200px; position: absolute; border: 0; height: 20px; top: 20px; text-align:right; vertical-align:middle; background-color: #eee; opacity: 0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; -o-transition: opacity 0.5s ease-in-out; border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; -moz-border-radius-bottomright: 7px; -moz-border-radius-bottomleft:7px;}
+div.gallery_album_decoration { width: 200px; position: absolute; border: 0; height: 20px; top: 5px; text-align:right; vertical-align:middle; background-color: #eee; opacity: 0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; -o-transition: opacity 0.5s ease-in-out; border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; -moz-border-radius-bottomright: 7px; -moz-border-radius-bottomleft:7px;}
 div.gallery_album_box:hover { color: black; }
 div.gallery_album_box:hover div.gallery_album_decoration { opacity: 0.7;}
 div.gallery_album_decoration a {padding: 0 4pt; cursor: pointer;}
index 2249acf3cc40164170befd142cc3feafc4ff2f97..753785f77b0b0d2933f04a7fc4a8e597360a6a55 100644 (file)
@@ -1,3 +1,5 @@
+var initScanned = false;
+
 Collection={
        artists:[],
        albums:[],
@@ -68,10 +70,10 @@ Collection={
                                        for(var i=0;i<Collection.loadedListeners.length;i++){
                                                Collection.loadedListeners[i]();
                                        }
-                                       if(data.songs.length==0){
+                                       if(data.songs.length==0 && initScanned == false){
                                                $('#scan input.start').click();
+                                               initScanned = true;
                                        }
-                                       
                                }
                        });
                }
@@ -81,13 +83,11 @@ Collection={
                        Collection.parent.show();
                }
                if(!Collection.loaded){
-                       Collection.load(Collection.display)
+                       Collection.load(Collection.display);
                }else{
                        if(Collection.parent){
                                Collection.parent.find('tr:not(.template)').remove();
                                var template=Collection.parent.find('tr.template');
-                               var lastArtist='';
-                               var lastAlbum='';
                                $.each(Collection.artists,function(i,artist){
                                        if(artist.name && artist.songs.length>0){
                                                var tr=template.clone().removeClass('template');
@@ -108,7 +108,7 @@ Collection={
                                                        $('tr[data-artist="'+artist.name+'"]').addClass('active');
                                                });
                                                if(artist.songs.length>1){
-                                                       var expander=$('<a class="expander">&gt;</a>');
+                                                       expander=$('<a class="expander">&gt;</a>');
                                                        expander.data('expanded',false);
                                                        expander.click(function(event){
                                                                var tr=$(this).parent().parent();
@@ -136,10 +136,11 @@ Collection={
                var first=true;
                $.each(artist.albums,function(j,album){
                        $.each(album.songs,function(i,song){
+                               var newRow;
                                if(first){
                                        newRow=tr;
                                }else{
-                                       var newRow=tr.clone();
+                                       newRow=tr.clone();
                                        newRow.find('td.artist').text('');
                                        newRow.find('.expander').remove();
                                }
@@ -221,13 +222,14 @@ Collection={
                tr.find('td.album-expander a.expander').addClass('expanded');
                tr.find('td.album-expander a.expander').text('v');
                $.each(albumData.songs,function(i,song){
+                       var newRow;
                        if(i>0){
-                               var newRow=tr.clone();
+                               newRow=tr.clone();
                                newRow.find('a.expander').remove();
                                newRow.find('td.album a').text('');
                                newRow.find('td.artist a').text('');
                        }else{
-                               var newRow=tr;
+                               newRow=tr;
                        }
                        newRow.find('td.title a').text(song.name);
                        newRow.find('td.title a').click(function(event){
@@ -339,11 +341,11 @@ Collection={
                        path:song.song_path,
                        playCount:song.song_playcount,
                };
-               album.songs.push(songData)
+               album.songs.push(songData);
                artist.songs.push(songData);
                Collection.songs.push(songData);
        }
-}
+};
 
 $(document).ready(function(){
        Collection.parent=$('#collection');
index 055f858ae1648143949666bece34f862d5d0f45c..a832180d1e3a189ae1d8675ffc6218238ba204e5 100644 (file)
@@ -1,7 +1,7 @@
 function musicTypeFromFile(file){
        var extention=file.substr(file.indexOf('.')+1);
        if(extention=='ogg'){
-               return 'oga'
+               return 'oga';
        }
        //TODO check for more specific cases
        return extention;
@@ -39,7 +39,7 @@ function loadPlayer(type,ready){
 }
 
 $(document).ready(function() {
-       loadPlayer.done=false
+       loadPlayer.done=false;
 
 //     FileActions.register('audio','Add to playlist','',addAudio);
 //     FileActions.register('application/ogg','Add to playlist','',addAudio);
index 3373cbac2579242584bc6089613c6c9705e5e363..1ffe4e10087bec762abbcdc477244356e427e451 100644 (file)
@@ -16,7 +16,7 @@ $(document).ready(function(){
                        PlayList.render();
                });
                var button=$('<input type="button" title="'+t('media','Add album to playlist')+'" class="add"></input>');
-               button.css('background-image','url('+OC.imagePath('core','actions/play-add')+')')
+               button.css('background-image','url('+OC.imagePath('core','actions/play-add')+')');
                button.click(function(event){
                        event.stopPropagation();
                        PlayList.add(media);
@@ -24,7 +24,7 @@ $(document).ready(function(){
                });
                row.find('div.name').append(button);
                button.tipsy({gravity:'n', fade:true, delayIn: 400, live:true});
-       }
+       };
        Collection.display();
 
        Collection.load(function(){
@@ -34,11 +34,9 @@ $(document).ready(function(){
                        PlayList.add(song);
                        PlayList.play(0);
                }
-       })
+       });
 });
 
-
-
 function getUrlVars(){
        var vars = {}, hash;
        var hashes = window.location.hash.substr(1).split('&');
@@ -52,8 +50,8 @@ function getUrlVars(){
 function musicTypeFromFile(file){
        var extention=file.split('.').pop();
        if(extention=='ogg'){
-               return 'oga'
+               return 'oga';
        }
        //TODO check for more specific cases
        return extention;
-}
\ No newline at end of file
+}
index 089065989aef2c3ba9f163ede2190a31d0357f7b..8e9e2a9153791061afd5eff7fe4f506c8d84fbd5 100644 (file)
@@ -26,19 +26,19 @@ PlayList.render=function(){
                li.click(function(event){
                        PlayList.play($(this).data('index'));
                });
-               li.append(img)
+               li.append(img);
                li.data('index',i);
                li.addClass('song');
                PlayList.parent.append(li);
        }
         $(".jp-playlist-" + PlayList.current).addClass("collection_playing");
-}
+};
 PlayList.getSelected=function(){
        return $('tbody td.name input:checkbox:checked').parent().parent();
-}
+};
 PlayList.hide=function(){
        $('#playlist').hide();
-}
+};
 
 $(document).ready(function(){
        PlayList.parent=$('#leftcontent');
index 0baa9db419a14acf451d4b6ec211e063cc7a147d..6c991b60d52c81d770f76c87a43bc99edaf00641 100644 (file)
@@ -6,7 +6,7 @@ Scanner={
                $.getJSON(OC.linkTo('media','ajax/api.php')+'?action=find_music',function(songs){
                        Scanner.songsFound=songs.length;
                        if(ready){
-                               ready(songs)
+                               ready(songs);
                        }
                });
        },
@@ -24,13 +24,13 @@ Scanner={
                        Scanner.songsScanned=data.count;
                        $('#scan span.songCount').text(Scanner.songsScanned);
                        var progress=(Scanner.songsScanned/Scanner.songsFound)*100;
-                       $('#scanprogressbar').progressbar('value',progress)
+                       $('#scanprogressbar').progressbar('value',progress);
                });
                Scanner.eventSource.listen('done',function(count){
                        $('#scan input.start').show();
                        $('#scan input.stop').hide();
                        $('#scanprogressbar').hide();
-                       Collection.load(Collection.display)
+                       Collection.load(Collection.display);
                        if(ready){
                                ready();
                        }
@@ -41,4 +41,4 @@ Scanner={
                Scanner.close();
        },
 
-}
+};
index 53af8b383e3aab039e2273ad8cef6eeaf2bd913d..335b008ffd77c50ca575d0c1b1036413da5a80c6 100644 (file)
@@ -3,6 +3,7 @@
  See the COPYING-README file. */
 
 html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
+html, body { height: 100%; }
 article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
 body { line-height:1.5; }
 table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
@@ -55,11 +56,11 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-
 /* CONTENT ------------------------------------------------------------------ */
 #controls { padding: 0 0.5em; width:100%; top:3.5em; height:2.8em; margin:0; background:#f7f7f7; border-bottom:1px solid #eee; position:fixed; z-index:50; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; }
 #controls .button { display:inline-block; }
-#content { margin:3.5em 0 0 12.5em; }
+#content { top: 3.5em; left: 12.5em; position: absolute; }
 #leftcontent, .leftcontent { position:fixed; overflow: auto; top:6.4em; width:20em; background:#f8f8f8; border-right:1px solid #ddd; }
 #leftcontent li, .leftcontent li { background:#f8f8f8; padding:.3em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
 #leftcontent li:hover, #leftcontent li:active, #leftcontent li.active, .leftcontent li:hover, .leftcontent li:active, .leftcontent li.active { background:#eee; }
-#rightcontent, .rightcontent { position:absolute; top:6.4em; left:33em; }
+#rightcontent, .rightcontent { position:fixed; top: 6.4em; left: 32.5em; }
 
 
 /* LOG IN & INSTALLATION ------------------------------------------------------------ */
@@ -113,8 +114,8 @@ table:not(.nostyle) tr { -webkit-transition:background-color 500ms; -moz-transit
 tbody tr:hover, tr:active { background-color:#f8f8f8; }
 
 #body-settings .personalblock, #body-settings .helpblock { padding:.5em 1em; margin:1em; background:#f8f8f8; color:#555; text-shadow:#fff 0 1px 0; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; }
-#body-settings .personalblock#quota { position:relative; margin-top:4.5em; padding:0; }
-#body-settings #controls+.helpblock { position:relative; margin-top:7.3em; }
+#body-settings .personalblock#quota { position:relative; padding:0; }
+#body-settings #controls+.helpblock { position:relative; margin-top: 3em; }
 .personalblock > legend { margin-top:2em; }
 
 #quota div, div.jp-play-bar, div.jp-seek-bar { padding:0; background:#e6e6e6; font-weight:normal; white-space:nowrap; -moz-border-radius-bottomleft:.4em; -webkit-border-bottom-left-radius:.4em; border-bottom-left-radius:.4em; -moz-border-radius-topleft:.4em; -webkit-border-top-left-radius:.4em; border-top-left-radius:.4em; }
index c6cde3cea95d3ee4b0a0f2cbe9f912e8d9cab085..6da9c29e69380fa52bc0d9fbc0ab494082cdddd3 100644 (file)
@@ -13,7 +13,7 @@ function t(app,text){
                        success:function(jsondata){
                                t.cache[app] = jsondata.data;
                        },
-               })
+               });
 
                // Bad answer ...
                if( !( app in t.cache )){
@@ -58,7 +58,7 @@ OC={
                }
                link+=app;
                if(type){
-                       link+=type+'/'
+                       link+=type+'/';
                }
                link+=file;
                return link;
@@ -73,7 +73,7 @@ OC={
         */ 
        imagePath:function(app,file){
                if(file.indexOf('.')==-1){//if no extention is given, use png or svg depending on browser support
-                       file+=(SVGSupport())?'.svg':'.png'
+                       file+=(SVGSupport())?'.svg':'.png';
                }
                return OC.filePath(app,'img',file);
        },
@@ -126,7 +126,7 @@ OC={
                        });
                }
        }
-}
+};
 OC.search.customResults={};
 OC.search.currentResult=-1;
 OC.search.lastQuery='';
@@ -147,7 +147,7 @@ if(typeof localStorage !='undefined'){
                getItem:function(name){
                        return JSON.parse(localStorage.getItem(OC.localStorage.namespace+name));
                }
-       }
+       };
 }else{
        //dummy localstorage
        OC.localStorage={
@@ -160,7 +160,7 @@ if(typeof localStorage !='undefined'){
                getItem:function(name){
                        return null;
                }
-       }
+       };
 }
 
 /**
@@ -182,7 +182,7 @@ if (!Array.prototype.filter) {
                        }
                }
                return res;
-       }
+       };
 }
 /**
  * implement Array.indexOf for browsers without native support
@@ -235,11 +235,11 @@ SVGSupport.checkMimeType=function(){
                        });
                        if(headers["Content-Type"]!='image/svg+xml'){
                                replaceSVG();
-                               SVGSupport.checkMimeType.correct=false
+                               SVGSupport.checkMimeType.correct=false;
                        }
                }
        });
-}
+};
 SVGSupport.checkMimeType.correct=true;
 
 //replace all svg images with png for browser compatibility
@@ -305,11 +305,12 @@ $(document).ready(function(){
 
        $(window).resize(function () {
                fillHeight($('#leftcontent'));
+               fillWindow($('#content'));
                fillWindow($('#rightcontent'));
        });
        $(window).trigger('resize');
        
-       if(!SVGSupport()){//replace all svg images with png images for browser that dont support svg
+       if(!SVGSupport()){ //replace all svg images with png images for browser that dont support svg
                replaceSVG();
        }else{
                SVGSupport.checkMimeType();
@@ -379,7 +380,6 @@ $(document).ready(function(){
                }
        });
 
-       if($('body').attr("id")=="body-user") { $('#settings #expanddiv').hide(); }
        $('#settings #expand').click(function(event) {
                $('#settings #expanddiv').slideToggle();
                event.stopPropagation();
index 64353d4d4f45101863b0c610a2b0a6b8bdaea3e9..c048653cce967509503c493e35864a876cc97360 100644 (file)
@@ -44,8 +44,8 @@
 
                        <ul id="settings" class="svg">
                                <img id="expand" class="svg" alt="<?php echo $l->t('Settings');?>" src="<?php echo image_path('', 'actions/settings.svg'); ?>" />
-                               <span style="display:none"><?php echo $l->t('Settings');?></span>
-                               <div id="expanddiv">
+                               <span style="display:none;"><?php echo $l->t('Settings');?></span>
+                               <div id="expanddiv" <?php if($_['bodyid'] == 'body-user') echo 'style="display:none;"'; ?>>
                                <?php foreach($_['settingsnavigation'] as $entry):?>
                                        <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li>
                                <?php endforeach; ?>
index 8d89cee6ec04777bead223cb5e88545cc5e3423b..a8af839a1e6ce6131ec137b4678a9aba1b360086 100644 (file)
@@ -26,9 +26,9 @@ tr:hover>td.password>span { margin:0; cursor:pointer; }
 tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
 tr:hover>td.remove>img { float:right; }
 li.selected { background-color:#ddd; }
-#content>table:not(.nostyle) { margin-top:6.5em; }
+#content>table:not(.nostyle) { margin-top:3em; }
 table:not(.nostyle) { width:100%; }
-
+#rightcontent { padding-left: 1em; }
 
 /* APPS */
 li { color:#888; }