Forumlar / Cotonti / Skins / Bootstrap admin theme

<<<123>>>

A custom admin theme based on Twitter Bootstrap

tensh
#16 2012-08-24 21:40

Okay... but the loaded admin theme is quite messed up in the user profile view... also I think it shouldn't affect displaying user's profile (www.site.com/users/Username). 

Another bug in chrome I found is with notification message that pops up after updating something. If you destroy it manually, it's all right, but if it fades by itself, you can't click the navigation links that were under this notification, as if that div still was there.

Edit: another thing: check out news configuration: some configuration entries are missing.


Bu konu tensh tarafından düzenlendi(2012-08-25 10:18, 11 yıllar önce)
GHengeveld
#17 2012-10-17 08:59

Yesterday I've finished adding proper templates for all admin tools (core, modules and plugins). This brings the theme to version 1.0.

Download here: http://www.cotonti.com/themes/admin-panel/admin-bootstrap

Changes in 1.0:

  • Added templates for all admin tools (extensions) which are part of Cotonti's main package.
  • Upgraded to the latest version of Twitter Bootstrap.

Bu konu GHengeveld tarafından düzenlendi(2012-10-17 09:14, 11 yıllar önce)
Trustmaster
#18 2012-10-17 10:42

Great job, Gert! I think it is ready to be added in the standard package in 0.9.12.

May the Source be with you!
esclkm
#19 2012-10-17 12:32

Bad news... In standart - theme whitch has addition plugins and does't work correctly without JS.

I will make cotonti less attractive for me. Sorry.

 

But theme is nice I think.

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#20 2012-10-17 13:08

@esclkm, it will be included in the package by default (in themes/admin) but the fallback theme (system/admin/tpl) will remain the same.

May the Source be with you!
esclkm
#21 2012-10-17 13:30

And plugins????

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#22 2012-10-17 13:32

And plugins. Configsiblings can be easily merged into admin.config though.

May the Source be with you!
GHengeveld
#23 2012-10-17 15:53

Both of the included plugins are optional. If you don't install them you don't lose any truly important features, just usability. Configsiblings is indeed extremely simple to include in admin.config.php by default. It provides a trivial feature and it makes sense to make it part of the core package. The other plugin, 'admintheme' is nice as a plugin because that allows you to disable it (in part or fully), causing the default templates for page and user listing and editing instead of the bootstrap enhanced ones.

esclkm
#24 2012-10-17 18:04

I think - it's only grows size of the box.  See two themes of the site in the box.

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Macik
#25 2012-10-18 10:08

Bad news - is news :)   I speak about in this theme by default not working custom configuration pages in Extension configs. As example see «News» extension.

Making an issue #11

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Nayn
#26 2013-10-12 21:03

Release Cotonti Siena 0.9.14

My domen localhost -  http://cot.ok/

if you go to the link http://cot.ok/admin.php?m=structure

Fatal error: Uncaught exception 'Exception' with message 'Loop &lt;!-- FOR {I} IN {PHP.pathfielddep|range(2, $this)} --&gt; not closed' in C:\OpenServer\domains\cot.ok\www\system\cotemplate.php:637 Stack trace: #0 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(1228): Cotpl_block->compile('? <!--...', Array, Array, Array) #1 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(698): Cotpl_logical->__construct('{PHP.pathfieldd...', '? <!--...', '', Array, Array) #2 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(497): Cotpl_block->compile(' <tr>? ...', Array, Array, Array) #3 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(591): Cotpl_block->__construct(' <tr>? ...', Array, Array) #4 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(497): Cotpl_block->compile('<div class="btn...', Array, Array, Array) #5 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(591): Cotpl_block->__construct('<div class="btn...', Array, Array) #6 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(497): Cotpl_block->compile('<!-- BEGIN: ERR...', Array, Array, Array) #7 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(241): Cotpl_block->__construct('<!-- BEGIN: ERR...', Array, Array) #8 [internal function]: XTemplate->restart_root_blocks(Array) #9 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(318): preg_replace_callback('`<!--\s*BEGIN:\...', Array, '<!-- BEGIN: LIS...') #10 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(269): XTemplate->compile('<!-- BEGIN: LIS...') #11 C:\OpenServer\domains\cot.ok\www\system\cotemplate.php(72): XTemplate->restart('themes/admin/bo...') #12 C:\OpenServer\domains\cot.ok\www\system\admin\admin.structure.php(26): XTemplate->__construct('themes/admin/bo...') #13 C:\OpenServer\domains\cot.ok\www\system\admin\admin.main.php(69): require('C:\OpenServer\d...') #14 C:\OpenServer\domains\cot.ok\www\admin.php(41): include('C:\OpenServer\d...') #15 {main} thrown in C:\OpenServer\domains\cot.ok\www\system\cotemplate.php on line 637

Help me.

Twiebie
#27 2013-10-12 22:58

In /themes/admin/bootstrap/admin.structure.tpl on line 55, change:

<!-- FOR {I} IN {PHP.pathfielddep|range(2, $this)} -->&nbsp;&nbsp;&nbsp;<!-- ENDFOR -->

To:

<!-- FOR {ADMIN_STRUCTURE_LEVEL} IN {PHP.pathfielddep|range(2, $this)} -->&nbsp;&nbsp;&nbsp;<!-- ENDFOR -->

Mind you that the Bootstrap admin theme isn't actively maintained at the moment.

Nayn
#28 2013-10-13 14:54

The error persists, I removed that line, and began to work

<!-- IF {PHP.pathfielddep} > 1 -->
<!-- FOR {I} IN {PHP.pathfielddep|range(2, $this)} -->&nbsp;&nbsp;&nbsp;<!-- ENDFOR -->
<!-- ENDIF -->

Twiebie
#29 2013-10-13 15:10

I guess you could remove it all together. All it does is indent child categories.

elfrenazo
#30 2013-10-29 04:45

very good design
get stuck when you go to other / extrafields

<<<123>>>