diff --git a/src/mibew/configs/routing.yml b/src/mibew/configs/routing.yml index 6ac5baff..5eb3a27a 100644 --- a/src/mibew/configs/routing.yml +++ b/src/mibew/configs/routing.yml @@ -107,6 +107,13 @@ widget_gateway: # Operators' pages +## About page +about: + path: /operator/about + defaults: + _controller: Mibew\Controller\AboutController::indexAction + _access_check: Mibew\AccessControl\Check\LoggedInCheck + ## Banned visitors ban_add: path: /operator/ban/add diff --git a/src/mibew/libs/classes/Mibew/Controller/AboutController.php b/src/mibew/libs/classes/Mibew/Controller/AboutController.php new file mode 100644 index 00000000..82ac2494 --- /dev/null +++ b/src/mibew/libs/classes/Mibew/Controller/AboutController.php @@ -0,0 +1,47 @@ + getlocal('About'), + 'menuid' => 'about', + ), + prepare_menu($this->getOperator()) + ); + + return $this->render('about', $page); + } +} diff --git a/src/mibew/styles/pages/default/css/default.css b/src/mibew/styles/pages/default/css/default.css index a2f3a527..09cd4572 100644 --- a/src/mibew/styles/pages/default/css/default.css +++ b/src/mibew/styles/pages/default/css/default.css @@ -899,6 +899,23 @@ table.awaiting .no-visitors { margin-bottom: 1em; } +/* about page */ +.about-page h2 { + font-size: 1.5em; + margin-bottom: 0.3em; +} +.about-page h3 { + font-size: 1.2em; + margin-bottom: 0.2em; +} +.about-page ul { + padding-left: 2em; + margin-bottom: 1em; +} +.about-page li { + list-style-type: disc; +} + /* pagination controls */ .pagination .next-page, .pagination .prev-page { @@ -960,3 +977,7 @@ table.awaiting .no-visitors { .rtl input.search-button { background: url("../images/buttons/search_rtl.png") top left no-repeat; } +.rtl .about-page ul { + padding-left: 0; + padding-right: 2em; +} diff --git a/src/mibew/styles/pages/default/images/dash/information.png b/src/mibew/styles/pages/default/images/dash/information.png new file mode 100644 index 00000000..fcb6c582 Binary files /dev/null and b/src/mibew/styles/pages/default/images/dash/information.png differ diff --git a/src/mibew/styles/pages/default/templates_src/server_side/_menu.handlebars b/src/mibew/styles/pages/default/templates_src/server_side/_menu.handlebars index 6f36d5ce..59b4fa8a 100644 --- a/src/mibew/styles/pages/default/templates_src/server_side/_menu.handlebars +++ b/src/mibew/styles/pages/default/templates_src/server_side/_menu.handlebars @@ -37,6 +37,7 @@ {{l10n "Localize"}} {{l10n "Mail templates"}} {{l10n "Updates"}} + {{l10n "About"}} {{/if}} {{#if currentopid}} {{l10n "Profile"}} diff --git a/src/mibew/styles/pages/default/templates_src/server_side/about.handlebars b/src/mibew/styles/pages/default/templates_src/server_side/about.handlebars new file mode 100644 index 00000000..87806fa2 --- /dev/null +++ b/src/mibew/styles/pages/default/templates_src/server_side/about.handlebars @@ -0,0 +1,86 @@ +{{#extends "_layout"}} + {{#override "menu"}}{{> _menu}}{{/override}} + + {{#override "content"}} +
+
+
+
+
+ +
+

{{l10n "Credits"}}

+ +

{{l10n "Developers:"}}

+
    +
  • Dmitriy Simushev
  • +
  • Fedor A. Fetisov
  • +
+ +

{{l10n "Former developers:"}}

+
    +
  • Evgeny Gryaznov
  • +
+ +

{{l10n "Contributors:"}}

+
    +
  • Borja Rubio
  • +
  • ChrisS
  • +
  • Ed Kraus
  • +
  • falcon
  • +
  • Haynes
  • +
  • Ido Green
  • +
  • novagen
  • +
  • Peter Harkins
  • +
  • Seyed Mahmood Reza Sajjadi
  • +
  • YuFei Zhu
  • +
  • X Chen
  • +
+ +

{{l10n "Designers:"}}

+
    +
  • Logo – Michael Tunnell
  • +
  • Silver theme – Alekin Pavel
  • +
+ +

{{l10n "Translators:"}}

+
    +
  • Arabic – Mostafa Khattab and Active4web.net Developers; Tallal Suliman Eshaq
  • +
  • Belarusian – Berasneu
  • +
  • Bulgarian – Teodor Todorov
  • +
  • Catalan – Enric Garcia Barrios
  • +
  • Deutsch – Gregor
  • +
  • Dutch – Martin van der Linden; Erik Kerkhoven, Zen4All
  • +
  • English – Olimax
  • +
  • French – Hominn, Bard of LLYDAW
  • +
  • Hebrew – MediaCMS Team
  • +
  • Hrvatski – Gorana Rabar
  • +
  • Hungarian – bercy; Istvan Somlai
  • +
  • Indonesian – Adi Nugroho
  • +
  • Italiano – CT32; Luca Sasdelli; Christopher Pecoraro
  • +
  • Japanese – flashbay.com
  • +
  • Korean – flashbay.fr
  • +
  • Lithuanian – LiveChat.lt
  • +
  • Norwegian – onlinehjelpen.no, V. Kopperud
  • +
  • Persian – Amir Khani; Great Cyrus
  • +
  • Polski – Kacper Wierzbicki, WebTower
  • +
  • Português Brasil – Leandro Luquetti
  • +
  • Português Portugal – Carlos Silva
  • +
  • Romanian – Tallal Suliman Eshaq
  • +
  • Russian – Evgeny Gryaznov
  • +
  • Spanish – Christian Mauricio Castillo Estrada, Lamies; Jesus Plaza; Yordan Soares
  • +
  • Swedish – Sverok – Oliver Sundström, Nina Högberg, Andreas Brodin and David Stenström; Peter Törnqvist
  • +
  • Thai – Bongkoch P.
  • +
  • Simplified Chinese – codion; Xiaoyu; X Chen
  • +
  • Traditional Chinese – Dawei; X Chen
  • +
  • Ukrainian – azzepis
  • +
+
+ + +
+
+ {{/override}} +{{/extends}} \ No newline at end of file diff --git a/src/mibew/styles/pages/default/templates_src/server_side/index.handlebars b/src/mibew/styles/pages/default/templates_src/server_side/index.handlebars index c4b89441..55cf5fb2 100644 --- a/src/mibew/styles/pages/default/templates_src/server_side/index.handlebars +++ b/src/mibew/styles/pages/default/templates_src/server_side/index.handlebars @@ -152,6 +152,16 @@ {{/if}} +
+
+ + + {{l10n "About"}} + + {{l10n "View about page."}} +
+
+