restyling

This commit is contained in:
Roland Gruber 2022-01-09 19:22:01 +01:00
parent d87422ffd5
commit f1ac0f46ac
12 changed files with 13 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1">
<rect style="fill:#1e88e5" width="16" height="16" x="0" y="0" rx="1" ry="1"/>
<path style="fill:#ffffff" d="M 7.9325,5.3742 H 7.9816 L 8.8159,8.6871 H 7.1104 Z M 11.589,12 9.0858,4 H 6.914 L 4.4109,12 H 6.2514 L 6.7422,10.098 H 9.1839 L 9.6747,12 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

5
lam/graphics/script.svg Normal file
View file

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1">
<rect style="fill:#4f4f4f" width="16" height="14" x="0" y="1" rx="1.2" ry="1.2"/>
<path style="fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round" d="m 2.5,3.5 3,2.5 -3,2.5"/>
<path style="fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round" d="m 6.5,8.5 h 3"/>
</svg>

After

Width:  |  Height:  |  Size: 415 B

View file

@ -97,7 +97,7 @@ class toolTests extends LAMTool {
$lamdaemonTest->name = _("Lamdaemon test");
$lamdaemonTest->link = 'tests/lamdaemonTest.php';
$lamdaemonTest->description = _("Check if quotas and homedirectories can be managed.");
$lamdaemonTest->image = 'lamdaemonSmall.png';
$lamdaemonTest->image = 'script.svg';
$return[] = $lamdaemonTest;
$schemaTest = new LAMSubTool();
$schemaTest->name = _("Schema test");

View file

@ -259,7 +259,7 @@ $row->add($advancedOptions, 12);
$row->addVerticalSpacer('2rem');
// language
$row->add(new htmlSubTitle(_("Language settings"), '../../graphics/language.png', null, true), 12);
$row->add(new htmlSubTitle(_("Language settings"), '../../graphics/language.svg', null, true), 12);
// read available languages
$possibleLanguages = getLanguages();
$defaultLanguage = array('en_GB.utf8');
@ -295,7 +295,7 @@ $row->add(new htmlResponsiveSelect('timeZone', $timezones, array($conf->getTimeZ
$row->addVerticalSpacer('2rem');
// lamdaemon settings
$row->add(new htmlSubTitle(_("Lamdaemon settings"), '../../graphics/lamdaemon.png', null, true), 12);
$row->add(new htmlSubTitle(_("Lamdaemon settings"), '../../graphics/script.svg', null, true), 12);
$row->add(new htmlResponsiveInputField(_("Server list"), 'scriptservers', $conf->get_scriptServers(), '218'), 12);
$row->add(new htmlResponsiveInputField(_("Path to external script"), 'scriptpath', $conf->get_scriptPath(), '210'), 12);

View file

@ -56,7 +56,7 @@ echo "<div class=\"smallPaddingContent\">\n";
$container = new htmlResponsiveRow();
$container->add(new htmlTitle(_("LAM tests")), 12);
$container->add(new htmlLink(_("Lamdaemon test"), 'lamdaemonTest.php', '../../graphics/lamdaemonSmall.png'), 12, 4);
$container->add(new htmlLink(_("Lamdaemon test"), 'lamdaemonTest.php', '../../graphics/script.svg'), 12, 4);
$container->add(new htmlOutputText(_("Check if quotas and homedirectories can be managed.")), 12, 8);
$container->addVerticalSpacer('2rem');