diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-21 13:12:15 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-21 15:06:47 +0200 |
commit | 0cf76ccb4736473a958d9fd36ed914e2d25d594a (patch) | |
tree | 0bb11821bc45ad2a7c2b965137a901ae5546455a /assets/default | |
parent | d8030c8155ee4c20573848b2444f6df0b65d1662 (diff) | |
download | Shaarli-0cf76ccb4736473a958d9fd36ed914e2d25d594a.tar.gz Shaarli-0cf76ccb4736473a958d9fd36ed914e2d25d594a.tar.zst Shaarli-0cf76ccb4736473a958d9fd36ed914e2d25d594a.zip |
Feature: add a Server administration page
It contains mostly read only information about the current Shaarli instance,
PHP version, extensions, file and folder permissions, etc.
Also action buttons to clear the cache or sync thumbnails.
Part of the content of this page is also displayed on the install page,
to check server requirement before installing Shaarli config file.
Fixes #40
Fixes #185
Diffstat (limited to 'assets/default')
-rw-r--r-- | assets/default/scss/shaarli.scss | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 286ac83b..7dc61903 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss | |||
@@ -1047,7 +1047,7 @@ body, | |||
1047 | } | 1047 | } |
1048 | 1048 | ||
1049 | table { | 1049 | table { |
1050 | margin: auto; | 1050 | margin: 10px auto 25px auto; |
1051 | width: 90%; | 1051 | width: 90%; |
1052 | 1052 | ||
1053 | .order { | 1053 | .order { |
@@ -1696,6 +1696,60 @@ form { | |||
1696 | } | 1696 | } |
1697 | } | 1697 | } |
1698 | 1698 | ||
1699 | // SERVER PAGE | ||
1700 | |||
1701 | .server-tables-page, | ||
1702 | .server-tables { | ||
1703 | .window-subtitle { | ||
1704 | &::before { | ||
1705 | display: block; | ||
1706 | margin: 8px auto; | ||
1707 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); | ||
1708 | width: 50%; | ||
1709 | height: 1px; | ||
1710 | content: ''; | ||
1711 | } | ||
1712 | } | ||
1713 | |||
1714 | .server-row { | ||
1715 | p { | ||
1716 | height: 25px; | ||
1717 | padding: 0 10px; | ||
1718 | } | ||
1719 | } | ||
1720 | |||
1721 | .server-label { | ||
1722 | text-align: right; | ||
1723 | font-weight: bold; | ||
1724 | } | ||
1725 | |||
1726 | i { | ||
1727 | &.fa-color-green { | ||
1728 | color: $main-green; | ||
1729 | } | ||
1730 | |||
1731 | &.fa-color-orange { | ||
1732 | color: $orange; | ||
1733 | } | ||
1734 | |||
1735 | &.fa-color-red { | ||
1736 | color: $red; | ||
1737 | } | ||
1738 | } | ||
1739 | |||
1740 | @media screen and (max-width: 64em) { | ||
1741 | .server-label { | ||
1742 | text-align: center; | ||
1743 | } | ||
1744 | |||
1745 | .server-row { | ||
1746 | p { | ||
1747 | text-align: center; | ||
1748 | } | ||
1749 | } | ||
1750 | } | ||
1751 | } | ||
1752 | |||
1699 | // Print rules | 1753 | // Print rules |
1700 | @media print { | 1754 | @media print { |
1701 | .shaarli-menu { | 1755 | .shaarli-menu { |