sleeping_owl.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Admin Title
  6. |--------------------------------------------------------------------------
  7. |
  8. | Displayed in title and header.
  9. |
  10. */
  11. 'title' => 'Sleeping Owl administrator',
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Admin Logo
  15. |--------------------------------------------------------------------------
  16. |
  17. | Displayed in navigation panel.
  18. |
  19. */
  20. 'logo' => '<svg style="padding:10px;" class="pull-left" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 216.123 216.123" style="enable-background:new 0 0 216.123 216.123;" xml:space="preserve" width="48px" height="48px"><g><path d="M173.65,106.51c6.549-7.024,10.567-16.436,10.567-26.774c0-8.585-2.775-16.529-7.464-23.001 c5.319-16.633,5.063-34.71-0.795-51.16L173.974,0l-5.827,1.03c-12.002,2.121-23.325,6.931-33.201,14.037H81.537v0.252 C71.577,8.071,60.122,3.176,47.977,1.03L42.149,0l-1.985,5.575c-5.858,16.45-6.114,34.527-0.795,51.16 c-4.689,6.472-7.464,14.417-7.464,23.001c0,10.338,4.018,19.75,10.567,26.773c-1.028,0.797-1.846,1.88-2.308,3.179 c-10.874,30.534-2.352,64.292,21.71,86c1.048,0.945,2.171,1.862,3.332,2.761v10.673c0,3.866,3.134,7,7,7s7-3.134,7-7v-2.194 c8.347,3.957,17.834,6.887,27.532,8.373c0.352,0.054,0.706,0.081,1.06,0.081s0.708-0.027,1.06-0.081 c4.446-0.681,16.123-2.878,28.059-8.434v2.255c0,3.866,3.134,7,7,7s7-3.134,7-7v-10.656c1.139-0.883,2.254-1.805,3.332-2.777 c24.062-21.709,32.583-55.466,21.71-86C175.496,108.389,174.678,107.306,173.65,106.51z M107.969,152.066 c-4.506-10.226-11.165-19.465-19.743-27.206c-2.717-2.451-5.583-4.7-8.571-6.748c13.12-2.887,23.804-12.341,28.406-24.734 c4.602,12.393,15.286,21.847,28.406,24.734c-2.988,2.048-5.854,4.297-8.57,6.748C119.346,132.575,112.595,141.88,107.969,152.066z M71.206,54.436c13.951,0,25.301,11.35,25.301,25.301s-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301 S57.255,54.436,71.206,54.436z M170.218,79.736c0,13.951-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301 s11.35-25.301,25.301-25.301S170.218,65.786,170.218,79.736z M108.041,48.088c-3.04-6.825-7.023-13.231-11.845-19.021h23.699 C115.052,34.867,111.074,41.273,108.041,48.088z M164.562,16.17c2.468,9.767,2.65,20.018,0.566,29.875 c-5.909-3.558-12.824-5.61-20.21-5.61c-7.254,0-14.05,1.983-19.889,5.425c3.327-5.397,7.423-10.367,12.248-14.72 C145.142,24.043,154.479,18.934,164.562,16.17z M51.562,16.17c10.082,2.763,19.419,7.872,27.286,14.97 c4.792,4.324,8.877,9.293,12.205,14.695c-5.83-3.426-12.61-5.401-19.847-5.401c-7.386,0-14.301,2.051-20.21,5.61 C48.912,36.188,49.094,25.937,51.562,16.17z M51.555,120.283c10.084,2.763,19.425,7.873,27.293,14.972 c13.908,12.549,21.704,29.884,21.95,48.812v15.742c-10.093-2.564-21.543-7.294-29.546-14.514 C52.951,168.783,45.553,143.818,51.555,120.283z M144.871,185.295c-7.99,7.21-19.708,11.96-30.073,14.539v-15.766 c0.239-18.349,8.431-36.14,22.478-48.813c7.868-7.1,17.209-12.209,27.293-14.972C170.57,143.818,163.172,168.783,144.871,185.295z" fill="#FFFFFF"/><circle cx="71.206" cy="79.736" r="9.757" fill="#FFFFFF"/><circle cx="144.917" cy="79.736" r="9.757" fill="#FFFFFF"/></g></svg> <span class="pull-left">SleepingOwl</span>',
  21. 'logo_mini' => '<svg style="padding:7px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 216.123 216.123" style="enable-background:new 0 0 216.123 216.123;" xml:space="preserve" width="48px" height="48px"><g><path d="M173.65,106.51c6.549-7.024,10.567-16.436,10.567-26.774c0-8.585-2.775-16.529-7.464-23.001 c5.319-16.633,5.063-34.71-0.795-51.16L173.974,0l-5.827,1.03c-12.002,2.121-23.325,6.931-33.201,14.037H81.537v0.252 C71.577,8.071,60.122,3.176,47.977,1.03L42.149,0l-1.985,5.575c-5.858,16.45-6.114,34.527-0.795,51.16 c-4.689,6.472-7.464,14.417-7.464,23.001c0,10.338,4.018,19.75,10.567,26.773c-1.028,0.797-1.846,1.88-2.308,3.179 c-10.874,30.534-2.352,64.292,21.71,86c1.048,0.945,2.171,1.862,3.332,2.761v10.673c0,3.866,3.134,7,7,7s7-3.134,7-7v-2.194 c8.347,3.957,17.834,6.887,27.532,8.373c0.352,0.054,0.706,0.081,1.06,0.081s0.708-0.027,1.06-0.081 c4.446-0.681,16.123-2.878,28.059-8.434v2.255c0,3.866,3.134,7,7,7s7-3.134,7-7v-10.656c1.139-0.883,2.254-1.805,3.332-2.777 c24.062-21.709,32.583-55.466,21.71-86C175.496,108.389,174.678,107.306,173.65,106.51z M107.969,152.066 c-4.506-10.226-11.165-19.465-19.743-27.206c-2.717-2.451-5.583-4.7-8.571-6.748c13.12-2.887,23.804-12.341,28.406-24.734 c4.602,12.393,15.286,21.847,28.406,24.734c-2.988,2.048-5.854,4.297-8.57,6.748C119.346,132.575,112.595,141.88,107.969,152.066z M71.206,54.436c13.951,0,25.301,11.35,25.301,25.301s-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301 S57.255,54.436,71.206,54.436z M170.218,79.736c0,13.951-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301 s11.35-25.301,25.301-25.301S170.218,65.786,170.218,79.736z M108.041,48.088c-3.04-6.825-7.023-13.231-11.845-19.021h23.699 C115.052,34.867,111.074,41.273,108.041,48.088z M164.562,16.17c2.468,9.767,2.65,20.018,0.566,29.875 c-5.909-3.558-12.824-5.61-20.21-5.61c-7.254,0-14.05,1.983-19.889,5.425c3.327-5.397,7.423-10.367,12.248-14.72 C145.142,24.043,154.479,18.934,164.562,16.17z M51.562,16.17c10.082,2.763,19.419,7.872,27.286,14.97 c4.792,4.324,8.877,9.293,12.205,14.695c-5.83-3.426-12.61-5.401-19.847-5.401c-7.386,0-14.301,2.051-20.21,5.61 C48.912,36.188,49.094,25.937,51.562,16.17z M51.555,120.283c10.084,2.763,19.425,7.873,27.293,14.972 c13.908,12.549,21.704,29.884,21.95,48.812v15.742c-10.093-2.564-21.543-7.294-29.546-14.514 C52.951,168.783,45.553,143.818,51.555,120.283z M144.871,185.295c-7.99,7.21-19.708,11.96-30.073,14.539v-15.766 c0.239-18.349,8.431-36.14,22.478-48.813c7.868-7.1,17.209-12.209,27.293-14.972C170.57,143.818,163.172,168.783,144.871,185.295z" fill="#FFFFFF"/><circle cx="71.206" cy="79.736" r="9.757" fill="#FFFFFF"/><circle cx="144.917" cy="79.736" r="9.757" fill="#FFFFFF"/></g></svg>',
  22. /*
  23. |--------------------------------------------------------------------------
  24. | Admin URL prefix
  25. |--------------------------------------------------------------------------
  26. */
  27. 'url_prefix' => 'admin',
  28. /*
  29. * Subdomain & Domain support routes
  30. */
  31. 'domain' => false,
  32. /*
  33. |--------------------------------------------------------------------------
  34. | Middleware to use in admin routes
  35. |--------------------------------------------------------------------------
  36. |
  37. | In order to create authentication views and routes
  38. | don't forget to execute `php artisan make:auth`.
  39. | See https://laravel.com/docs/5.2/authentication#authentication-quickstart
  40. |
  41. | Note: Please remove 'web' middleware for Laravel 5.1 or older
  42. |
  43. */
  44. 'middleware' => ['web'],
  45. /*
  46. |--------------------------------------------------------------------------
  47. | Env Editor
  48. |--------------------------------------------------------------------------
  49. | Url for env editor
  50. |
  51. */
  52. 'env_editor_url' => 'env/editor',
  53. /*
  54. * Excluded keys
  55. */
  56. 'env_editor_excluded_keys' => [
  57. 'APP_KEY', 'DB_*',
  58. ],
  59. /*
  60. * Env editor middlewares
  61. */
  62. 'env_editor_middlewares' => [],
  63. /*
  64. * Show link in navigation
  65. */
  66. 'show_editor' => false,
  67. /*
  68. * --------------------------------------------------------------------------
  69. * Add your policy class here.
  70. * --------------------------------------------------------------------------
  71. */
  72. // 'env_editor_policy' => \Admin\Policies\EnvPolicy::class,
  73. /*
  74. |--------------------------------------------------------------------------
  75. | Authentication default provider
  76. |--------------------------------------------------------------------------
  77. |
  78. | @see config/auth.php : providers
  79. |
  80. */
  81. 'auth_provider' => 'users',
  82. /*
  83. |--------------------------------------------------------------------------
  84. | Path to admin bootstrap files directory
  85. |--------------------------------------------------------------------------
  86. |
  87. | Default: app_path('Admin')
  88. |
  89. */
  90. 'bootstrapDirectory' => app_path('Admin'),
  91. /*
  92. |--------------------------------------------------------------------------
  93. | Directory for uploaded images (relative to `public` directory)
  94. |--------------------------------------------------------------------------
  95. */
  96. 'imagesUploadDirectory' => 'images/uploads',
  97. /*
  98. |--------------------------------------------------------------------------
  99. | Directory for uploaded files (relative to `public` directory)
  100. |--------------------------------------------------------------------------
  101. */
  102. 'filesUploadDirectory' => 'files/uploads',
  103. /*
  104. |--------------------------------------------------------------------------
  105. | Admin panel template
  106. |--------------------------------------------------------------------------
  107. */
  108. 'template' => App\Admin\Templates\GeolookTemplate::class,
  109. // SleepingOwl\Admin\Templates\TemplateDefault::class,
  110. /*
  111. |--------------------------------------------------------------------------
  112. | Default date and time formats
  113. |--------------------------------------------------------------------------
  114. */
  115. 'datetimeFormat' => 'd-m-Y H:i',
  116. 'dateFormat' => 'd-m-Y',
  117. 'timeFormat' => 'H:i',
  118. 'timezone' => 'UTC',
  119. /*
  120. |--------------------------------------------------------------------------
  121. | Editors
  122. |--------------------------------------------------------------------------
  123. |
  124. | Select default editor and tweak options if needed.
  125. |
  126. */
  127. 'wysiwyg' => [
  128. 'default' => 'ckeditor',
  129. /*
  130. * See http://docs.ckeditor.com/#!/api/CKEDITOR.config
  131. */
  132. 'ckeditor' => [
  133. 'defaultLanguage' => config('app.locale'),
  134. 'height' => 200,
  135. 'allowedContent' => true,
  136. 'extraPlugins' => 'uploadimage,image2,justify,youtube,uploadfile',
  137. /*
  138. * WARNING!!!! CKEDITOR on D & D and UploadImageDialog
  139. * BY DEFAULT IMAGES WILL STORE TO imagesUploadDirectory = /images/uploads
  140. */
  141. //'uploadUrl' => '/path/to/your/action',
  142. //'filebrowserUploadUrl' => '/path/to/your/action',
  143. ],
  144. /*
  145. * See https://www.tinymce.com/docs/
  146. */
  147. 'tinymce' => [
  148. 'height' => 200,
  149. ],
  150. /*
  151. * See https://github.com/NextStepWebs/simplemde-markdown-editor
  152. */
  153. 'simplemde' => [
  154. 'hideIcons' => ['side-by-side', 'fullscreen'],
  155. ],
  156. ],
  157. /*
  158. |--------------------------------------------------------------------------
  159. | DataTables
  160. |--------------------------------------------------------------------------
  161. |
  162. | Select default settings for datatable
  163. |
  164. */
  165. 'datatables' => [],
  166. /*
  167. |--------------------------------------------------------------------------
  168. | Breadcrumbs
  169. |--------------------------------------------------------------------------
  170. |
  171. */
  172. 'breadcrumbs' => true,
  173. /*
  174. |--------------------------------------------------------------------------
  175. | Class Aliases
  176. |--------------------------------------------------------------------------
  177. |
  178. | This array of class aliases will be registered when this application
  179. | is started.
  180. |
  181. */
  182. 'aliases' => [
  183. // Components
  184. 'Assets' => KodiCMS\Assets\Facades\Assets::class,
  185. 'PackageManager' => KodiCMS\Assets\Facades\PackageManager::class,
  186. 'Meta' => KodiCMS\Assets\Facades\Meta::class, // will destroy
  187. 'Form' => Collective\Html\FormFacade::class,
  188. 'HTML' => Collective\Html\HtmlFacade::class,
  189. 'WysiwygManager' => SleepingOwl\Admin\Facades\WysiwygManager::class,
  190. 'MessagesStack' => SleepingOwl\Admin\Facades\MessageStack::class,
  191. // Presenters
  192. 'AdminSection' => SleepingOwl\Admin\Facades\Admin::class,
  193. 'AdminTemplate' => SleepingOwl\Admin\Facades\Template::class,
  194. 'AdminNavigation' => SleepingOwl\Admin\Facades\Navigation::class,
  195. 'AdminColumn' => SleepingOwl\Admin\Facades\TableColumn::class,
  196. 'AdminColumnEditable' => SleepingOwl\Admin\Facades\TableColumnEditable::class,
  197. 'AdminColumnFilter' => SleepingOwl\Admin\Facades\TableColumnFilter::class,
  198. 'AdminDisplayFilter' => SleepingOwl\Admin\Facades\DisplayFilter::class,
  199. 'AdminForm' => SleepingOwl\Admin\Facades\Form::class,
  200. 'AdminFormElement' => SleepingOwl\Admin\Facades\FormElement::class,
  201. 'AdminDisplay' => SleepingOwl\Admin\Facades\Display::class,
  202. 'AdminWidgets' => SleepingOwl\Admin\Facades\Widgets::class,
  203. ],
  204. ];