mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
added css webroot and appsroot info
This commit is contained in:
@@ -393,4 +393,13 @@ To add a script in your controller method, use the controller's **addScript** an
|
||||
// etc
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
If you have to include an image in your CSS, use %appswebroot% and %webroot% for creating absolute paths to your image, for instance:
|
||||
|
||||
|
||||
.. code-block:: css
|
||||
|
||||
.folder > .title {
|
||||
background-image: url('%webroot%/core/img/places/folder.svg');
|
||||
}
|
||||
Reference in New Issue
Block a user