Forums / Cotonti / Skins / Foster - admin theme

12>>>

Nice and clean admin theme for Cotonti Siena.

Twiebie
#1 2013-07-21 21:05

To make it easier to keep track of updates and other things, I'll put a forum topic here for the Foster administration panel theme.

Foster

The Foster theme can be found here: http://www.cotonti.com/themes/admin-panel/foster
The GitHub repository here: https://github.com/Twiebie/cot-foster


Updates:
Added a max-width toggle switch.
Added Russian language file by Trustmaster.

lukgoh
#2 2013-07-21 21:53

Can you please take a look at the extra fields page? I'm sorry I didn't mention it earlier I just remembered when I saw your post. 

Anyway they are displayed too close together and it's a little confusing which input fields belong to which extrafield. 

Luke.

Twiebie
#3 2013-07-22 17:46

Hi mate,

Yep, sure. Can you elaborate what you find too close together and what you would like to see improved?

lukgoh
#4 2013-07-22 19:03

 

Added 45 minutes later:

Never mind, updated it now and it looks awesome! 


Dit bericht is bewerkt door lukgoh (2013-07-22 19:50, 10 jaren ago)
Aragorn-pc
#5 2013-07-25 18:37

Very nice..

.# Aragorn-pc // Turkish Information Technology's Underground World
Aragorn-pc.org
http://www.kankayizz.biz
http://www.sanalarsiv.gen.tr
http://www.osmanli-devleti.net
Prosed.NET Seditio SedBlog Themes Sharing
Twiebie
#6 2013-07-25 20:06

Thanks!

tensh
#7 2013-08-05 08:48

Awesome theme! Thank you very much! :)

Added 39 minutes later:

Edit: Hmm, I think the button "Validate page" in Page Administration is not working as it should. Hmm. (Cotonti 9.0.14)

Added 9 minutes later:

Edit2: aha, I know why: there's no "modalbox.css" in the admin header tpl. I think it should be at least added (copied from blogster theme), and then maybe adjusted.

Edit3: the success notifications make the page expand in "Structure" section if maxwidth toggle is on.

Added 5 minutes later:

modalbox.css that works well together with Foster theme:

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: auto;
  background-color: transparent;
  color: #333;
  padding: 10px;
  text-align: center;
}

.jqmWindow h4 {
  border-bottom: 1px dotted #b0c4de;
  font-size: 14px;
  margin: 0 0 7px 0;
  padding: 0 0 5px 0;
  text-align: left;
  color: #3E606F;
}

.jqmWindow p {
  text-align: right;
  margin: 15px 0 0 0;
  font-size: x-small;
  text-transform: lowercase;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
  Star selector used to hide definition from browsers other than IE6
  For valid CSS, use a conditional include instead */
* html .jqmWindow {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

 


Dit bericht is bewerkt door tensh (2013-08-05 09:43, 10 jaren ago)
Twiebie
#8 2013-08-05 11:43

Ah, well spotted! I'll push it to GitHub.

I'll clean up the page validation section a bit more when I have time, it's still a bit messy now.

Thanks!


Dit bericht is bewerkt door Twiebie (2013-08-05 12:04, 10 jaren ago)
tensh
#9 2013-08-05 12:06

No problem :) 

I'm playing with this theme, it's really nice, I'll report more problems if spotted.

Twiebie
#10 2013-08-05 12:43

Sure, feel free to post them in the issue tracker at GitHub. It's easier to keep track of things that way.

Added 5 days later:

I'm trying to work out an issue posted by Wadik, see: https://github.com/Twiebie/cot-foster/issues/2

So far I've tried it on a few different hosts but none of them seem to have the issue.

Does anyone else have an idea what might be causing this?

Thanks.


Dit bericht is bewerkt door Twiebie (2013-08-10 13:48, 10 jaren ago)
tensh
#11 2013-08-12 07:12

Hmm, I don't have any errors, I normally work on this tpl. BUT... I remember there was something odd with this section.

1. Which Cotonti does he use?
2. If not, maybe he should copy the TPL of this section from default theme? Should display if it's tpl issue.
3. Then maybe he can gradually format the tpl like it looks like in foster theme.

I think something might be wrong with the TPL because in the "HTML template" form field of the extrafield, the html get cut out (no endtag). If I copy the basic tpl there, everything is correct. I saw you're not using all system tags, like {ADMIN_EXTRAFIELDS_ROW_HTML} - I'm not sure if it's a good idea, the TPL might not be compatible with the system later with the development. But sure... the select field looks very nice thanks to this :/

 


Dit bericht is bewerkt door tensh (2013-08-12 07:24, 10 jaren ago)
Wadik
#12 2013-08-12 09:45

I removed the code (line 325-443) in the file (https://github.com/Twiebie/cot-foster/blob/master/themes/admin/foster/admin.extrafields.tpl#L325-L443).

I have earned.

Maybe it's because {} in the script?

Добавлено 5 минуты спустя:

For example in the Smarty tag is used for this {literal} http://www.smarty.net/docsv2/en/language.function.literal


Dit bericht is bewerkt door Wadik (2013-08-12 09:51, 10 jaren ago)
Twiebie
#13 2013-08-13 12:23

I still can't reproduce it. Even with PHP set to strict, on both localhost and a live server, it's not giving any errors.

If anyone else can reproduce it and/or has a test website that has the error, let me know.

Wadik
#14 2013-08-13 19:12

Now I downloaded the latest version. I earned a page with extrafields. Thank Twiebie!

singh336
#15 2013-11-28 03:01

Hey just wanted to say this theme is kickass ! very professionally done !!

 

I'm going to tweak it to fit our darker main theme but its very well done. Good work.

<a href="http://www.streetlegalmods.com/">http://www.streetlegalmods.com/</a>

12>>>