Add the icons for shipped apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c3985aba70
commit
17a7eaabcd
6 changed files with 74 additions and 12 deletions
1
apps/files_external/img/app-dark.svg
Normal file
1
apps/files_external/img/app-dark.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 32 32"><path d="M14.903 3.237l4.76 4.515-7.14 6.772 4.76 4.514 7.142-6.772 4.762 4.515V3.237H14.904zM5.38 5.495C4.063 5.495 3 6.5 3 7.752V25.81c0 1.25 1.062 2.257 2.38 2.257h19.045c1.318 0 2.38-1.007 2.38-2.257v-6.772l-2.38-2.257v9.03H5.38V7.752h9.523l-2.38-2.258H5.38z" fill="#000"/></svg>
|
After Width: | Height: | Size: 367 B |
|
@ -24,13 +24,21 @@
|
||||||
namespace OCA\Files_External\Settings;
|
namespace OCA\Files_External\Settings;
|
||||||
|
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\Settings\ISection;
|
use OCP\IURLGenerator;
|
||||||
|
use OCP\Settings\IIconSection;
|
||||||
|
|
||||||
class Section implements ISection {
|
class Section implements IIconSection {
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $l;
|
||||||
|
/** @var IURLGenerator */
|
||||||
|
private $url;
|
||||||
|
|
||||||
public function __construct(IL10N $l) {
|
/**
|
||||||
|
* @param IURLGenerator $url
|
||||||
|
* @param IL10N $l
|
||||||
|
*/
|
||||||
|
public function __construct(IURLGenerator $url, IL10N $l) {
|
||||||
|
$this->url = $url;
|
||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,4 +72,11 @@ class Section implements ISection {
|
||||||
public function getPriority() {
|
public function getPriority() {
|
||||||
return 10;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getIcon() {
|
||||||
|
return $this->url->imagePath('files_external', 'app-dark.svg');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
1
apps/theming/img/app-dark.svg
Normal file
1
apps/theming/img/app-dark.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M10.707 11.412l-.587-.587-.03-.03a.513.513 0 0 1-.074-.526L13.07 3.4l-1.5-1.498-.15.15-.708-.706.505-.505a.538.538 0 0 1 .224-.128c.04-.01.05-.01.087-.016h.087c.04.006.05.006.086.016.072.02.134.055.192.1.74.676 1.42 1.415 2.127 2.124a.503.503 0 0 1 .103.556l-3.053 6.87.344.343.49-.49 3.01 3.01a1.192 1.192 0 0 1-1.685 1.686l-3.012-3.01.49-.488zm-.533-10.217a.986.986 0 0 0-1.396 0l-7.582 7.58a.99.99 0 0 0 0 1.398l1.397 1.396a.986.986 0 0 0 1.396 0l7.58-7.583a.988.988 0 0 0 0-1.396l-1.396-1.395z" fill="#000"/></svg>
|
After Width: | Height: | Size: 611 B |
|
@ -24,13 +24,21 @@
|
||||||
namespace OCA\Theming\Settings;
|
namespace OCA\Theming\Settings;
|
||||||
|
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\Settings\ISection;
|
use OCP\IURLGenerator;
|
||||||
|
use OCP\Settings\IIconSection;
|
||||||
|
|
||||||
class Section implements ISection {
|
class Section implements IIconSection {
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $l;
|
||||||
|
/** @var IURLGenerator */
|
||||||
|
private $url;
|
||||||
|
|
||||||
public function __construct(IL10N $l) {
|
/**
|
||||||
|
* @param IURLGenerator $url
|
||||||
|
* @param IL10N $l
|
||||||
|
*/
|
||||||
|
public function __construct(IURLGenerator $url, IL10N $l) {
|
||||||
|
$this->url = $url;
|
||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,4 +72,11 @@ class Section implements ISection {
|
||||||
public function getPriority() {
|
public function getPriority() {
|
||||||
return 30;
|
return 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getIcon() {
|
||||||
|
return $this->url->imagePath('theming', 'app-dark.svg');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,13 +24,21 @@
|
||||||
namespace OCA\User_LDAP\Settings;
|
namespace OCA\User_LDAP\Settings;
|
||||||
|
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\Settings\ISection;
|
use OCP\IURLGenerator;
|
||||||
|
use OCP\Settings\IIconSection;
|
||||||
|
|
||||||
class Section implements ISection {
|
class Section implements IIconSection {
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $l;
|
||||||
|
/** @var IURLGenerator */
|
||||||
|
private $url;
|
||||||
|
|
||||||
public function __construct(IL10N $l) {
|
/**
|
||||||
|
* @param IURLGenerator $url
|
||||||
|
* @param IL10N $l
|
||||||
|
*/
|
||||||
|
public function __construct(IURLGenerator $url, IL10N $l) {
|
||||||
|
$this->url = $url;
|
||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,4 +72,11 @@ class Section implements ISection {
|
||||||
public function getPriority() {
|
public function getPriority() {
|
||||||
return 25;
|
return 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getIcon() {
|
||||||
|
return $this->url->imagePath('user_ldap', 'app.svg');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,13 +24,21 @@
|
||||||
namespace OCA\WorkflowEngine\Settings;
|
namespace OCA\WorkflowEngine\Settings;
|
||||||
|
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\Settings\ISection;
|
use OCP\IURLGenerator;
|
||||||
|
use OCP\Settings\IIconSection;
|
||||||
|
|
||||||
class Section implements ISection {
|
class Section implements IIconSection {
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $l;
|
||||||
|
/** @var IURLGenerator */
|
||||||
|
private $url;
|
||||||
|
|
||||||
public function __construct(IL10N $l) {
|
/**
|
||||||
|
* @param IURLGenerator $url
|
||||||
|
* @param IL10N $l
|
||||||
|
*/
|
||||||
|
public function __construct(IURLGenerator $url, IL10N $l) {
|
||||||
|
$this->url = $url;
|
||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,4 +62,11 @@ class Section implements ISection {
|
||||||
public function getPriority() {
|
public function getPriority() {
|
||||||
return 55;
|
return 55;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getIcon() {
|
||||||
|
return $this->url->imagePath('core', 'actions/tag.svg');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue