Compare commits
10 commits
5c71e2dc34
...
b5a3b78691
Author | SHA1 | Date | |
---|---|---|---|
b5a3b78691 | |||
5f0bdba3d1 | |||
|
ce7e4c671f | ||
|
53f31f5d8c | ||
|
23548ca336 | ||
|
1868691e00 | ||
|
968b9513de | ||
|
406d028b25 | ||
|
24cae5a3bb | ||
|
3132bd6d2a |
6 changed files with 48 additions and 27 deletions
26
README.md
26
README.md
|
@ -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
|
||||
|
||||
|
|
|
@ -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' );
|
||||
|
||||
?>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
2.0.0
|
||||
2.1.0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;}*/
|
||||
|
Loading…
Add table
Reference in a new issue