Форуми / Cotonti / Skins / Bootstrap admin theme

<<<123>>>

A custom admin theme based on Twitter Bootstrap

tensh
#16 24.08.2012 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.


Відредаговано: tensh (25.08.2012 10:18, 11 років тому)
GHengeveld
#17 17.10.2012 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.

Відредаговано: GHengeveld (17.10.2012 09:14, 11 років тому)
Trustmaster
#18 17.10.2012 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 17.10.2012 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 17.10.2012 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 17.10.2012 13:30

And plugins????

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

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

May the Source be with you!
GHengeveld
#23 17.10.2012 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 17.10.2012 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 18.10.2012 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 12.10.2013 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 12.10.2013 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 13.10.2013 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 13.10.2013 15:10

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

elfrenazo
#30 29.10.2013 04:45

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

<<<123>>>