Compare commits

...

10 commits

Author SHA1 Message Date
b5a3b78691 add nextcloud to info.xml 2017-04-27 16:56:05 +02:00
5f0bdba3d1 smaller icons 2017-04-27 16:54:49 +02:00
Michael Träger
ce7e4c671f Update README.md 2017-03-21 16:05:40 +01:00
Michael Traeger
53f31f5d8c update also version file 2016-12-01 17:43:36 +01:00
Michael Traeger
23548ca336 readme and changelog for newest updates 2016-12-01 17:40:57 +01:00
Michael Traeger
1868691e00 light grey as new default color - better default for both systems (hopefully) 2016-12-01 16:26:15 +01:00
Michael Traeger
968b9513de also rename in readme 2016-12-01 00:25:39 +01:00
Michael Traeger
406d028b25 rename 2016-12-01 00:23:52 +01:00
Michael Traeger
24cae5a3bb better description 2016-12-01 00:16:57 +01:00
Michael Träger
3132bd6d2a style updates 2016-07-08 16:06:31 +02:00
6 changed files with 48 additions and 27 deletions

View file

@ -1,11 +1,13 @@
Old Menu - Classic Side-Menu
============================
Classic Side-Menu
=================
Fixed Width Version, Menu on the left side for [owncloud](http://owncloud.org/).
for Nextcloud and Owncloud
Advantages compared to the default menu of owncloud / nextcloud are reduced clicks to open an application, as the sidebar is always visible on wide screens (wider than 1100px). Otherwise on smaller screens the standard drop-down menu is available. It lays the focus more on all installed apps and not only on the files app.
Rebuild of the old Menu on the left side for [owncloud](http://owncloud.org/).
Forked by Michael Träger from https://github.com/SansPseudoFix/Old_menu. This version is without the tiny Icons (therefore normal sized) and with a fix max-width of 100px for the Menu. It looks like the original old menu.
Advantages compared to the default menu of owncloud / nextcloud are reduced clicks to open an application, as the sidebar is always visible on wide screens (wider than 1100px). Otherwise, the standard drop-down menu is available on smaller screens. It lays the focus more on all installed apps and not only on the files app.
Forked from https://github.com/SansPseudoFix/Old_menu (discontinued). Differences: This version is without the tiny Icons (therefore normal sized) and with a fix max-width of 100px for the Menu. It looks like the original old menu.
## How to
@ -13,11 +15,11 @@ Forked by Michael Träger from https://github.com/SansPseudoFix/Old_menu. This v
* download zip
* go to /apps folder
* unzip
* change name to `old_menu`
* activate Old Menu
* change name to `classic_sidemenu`
* activate Classic SideMenu
Alternative
* git clone this repo to /apps direcotry with `git clone https://github.com/mtraeger/own-nextcloud_old_menu.git old_menu`
* git clone this repo to /apps direcotry with `git clone https://github.com/mtraeger/classic_sidemenu.git classic_sidemenu`
* activate in app menu
## Complications
@ -30,17 +32,17 @@ For use with NextCloud-Blue use
```
background-color: #0082c9;
```
instead of `#1d2d44` for Owncloud.
instead of `#1d2d44` for Owncloud in css/classic_sidemenu.css.
You can remove this line also for dark grey.
## Possible Problems
On upgrades of owncloud / nextcloud the acces rights have to be correct. If you cloned or extracted with wrong user permissions, you have to chown (and maybe also chmod +w) the installation directory of this app.
On upgrades of owncloud / nextcloud the acces rights have to be correct. If you cloned or extracted with wrong user permissions, you have to `chown` (and maybe also `chmod +w`) the installation directory of this app for the web user (normally `www-data`).
## TODOs
* Change Name/AppID to old_menu_fixed
* Enable / Disable this feature in user settings
* Enable / Disable this feature in user settings for every user individual
* Change Color of sidebar in admin settings
* Content Security Policy error (only) in Files-App: Menu-Icons disappearing on appeareance of files in Firefox

View file

@ -1,8 +1,8 @@
<?php
/**
* @package old_menu_fixed an ownCloud app
* @package classic_sidemenu an ownCloud app
* @category base
* @author SpF <spf@sanspseudofix.fr>, Michael Traeger
* @author Michael Traeger
*
* @license GNU Affero General Public license (AGPL)
*
@ -25,9 +25,9 @@
/**
* @file appinfo/app.php
* @author SpF, Michael Traeger
* @author Michael Traeger
*/
OCP\Util::addStyle ( 'old_menu', 'old_menu' );
OCP\Util::addStyle ( 'classic_sidemenu', 'classic_sidemenu' );
?>

View file

@ -1,12 +1,12 @@
<?xml version="1.0"?>
<info>
<id>old_menu</id>
<name>Old Menu FixedWith</name>
<description>Old Menu of Owncloud / Nextcloud. Forked version with fixed width.</description>
<version>2.0.0</version>
<id>classic_sidemenu</id>
<name>Classic SideMenu</name>
<description>Classid SideMenu - The old menu of Owncloud / Nextcloud. Forked from SpF.</description>
<version>2.1.0</version>
<licence>AGPL</licence>
<author>Michael Traeger, forked from SpF</author>
<author>Michael Traeger</author>
<bugs>https://github.com/mtraeger/own-nextcloud_old_menu/issues</bugs>
<repository type="git">https://github.com/mtraeger/own-nextcloud_old_menu.git</repository>
@ -14,5 +14,6 @@
<dependencies>
<owncloud min-version="8.0.0" max-version="100"/>
<nextcloud min-version="9" max-version="100"/>
</dependencies>
</info>

View file

@ -1 +1 @@
2.0.0
2.1.0

View file

@ -1,3 +1,8 @@
### 2016, 1 December (V 2.1.0)
* Renaming of the app
* Light Grey as default color for owncloud and nextcloud
### 2016, 7 July (V 2.0.0)
* Fixes for use with nextcloud

View file

@ -1,17 +1,17 @@
@media screen and (min-width: 1100px){
#controls{margin-left: 100px !important;}
#controls .right{margin-right: 100px;}
#controls{margin-left: 85px !important;}
#controls .right{margin-right: 85px;}
#content {margin-top: 0px;}
#content-wrapper {padding-left: 100px !important;width: 100% !important;}
#content-wrapper {padding-left: 85px !important;width: 100% !important;}
#navigation{
background-color: #1d2d44; /*remove this line for standard dark or set #0082c9 for nextcloud blue*/
background-color: #ddd; /*comment this line for default color or set #0082c9 for nextcloud blue or #1d2d44 for owncloud blue*/
visibility:visible;
display: block !important;
position:fixed !important;
bottom:0px;
width: 100px !important;
width: 85px !important;
top:45px;
left:0px;
max-height: 100% !important;
@ -22,13 +22,26 @@
border-radius: 0px;
}
#navigation a {
height: 50px !important;
padding: 0px 0 !important;
}
/*Hide DropDown Icon on Top of Menu*/
#navigation:after {
display:none;
}
#apps {max-height: calc(100vh - 45px);}
.icon-loading-dark:after {
margin: -32px 0 0 -16px;
}
#navigation #apps ul{text-align: center;}
#navigation #apps ul:first-child{padding-top: 10px !important;}
/* may not be required
app-navigation{width: 19.5% !important;}*/