integrate overview better with the rest of the menu

This commit is contained in:
Bernhard Posselt
2012-10-30 18:16:09 +01:00
parent 4fe9b3ed63
commit da211f5114
3 changed files with 26 additions and 8 deletions

View File

@@ -164,9 +164,11 @@
<div class="sidebar">
<div class="well">
<div class="menu-support-container">
<a href="{{ pathto(master_doc) }}">Overview</a>
<ul id="menu-support" class="menu">
{{ toctree(maxdepth=2) }}
<ul>
<li><a href="{{ pathto(master_doc) }}">Overview</a></li>
</ul>
{{ toctree(maxdepth=3) }}
</ul>
</div>
</div>

View File

@@ -1090,12 +1090,10 @@ img.alignleft{ margin-right: 20px; }
font-weight: bold;
}
.indextable a {
color: #fefefe;
}
.indextable dt {
border-radius: 5px;
border-radius: 0;
background-color: #fefefe !important;
}
.headerlink {
@@ -1110,3 +1108,17 @@ tt.file {
tt.file:before {
content: "file: ";
}
.fixed_table_of_contents {
position: fixed;
top: 132px;
}
.documentation_content {
margin-left: 260px;
}
#menu-support > ul {
margin-left: 15px;
padding-left: 0;
}

View File

@@ -58,11 +58,12 @@ Templates can also include other templates by using the $this->inc('templateName
Template class
--------------
OC_Template
-----------
.. php:class:: OC_Template
This class provides the templates for owncloud. It is used for loading template files, assign variables to it and render the whole template.
.. php:method:: __construct($app, $name[, $renderas])
@@ -274,6 +275,9 @@ Template class
Template syntax
---------------
html_select_options
~~~~~~~~~~~~~~~~~~~
.. php:function:: html_select_options($options, $selected[, $params])
:param array $options: an array of the form value => label