[racktables-users] Re: User Config Main menu image scaling patch

  • From: Ernest Shaffer <ernest.shaffer@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Thu, 23 Dec 2010 10:15:31 -0800

OK, that's way is better.  I was making it complicated. 

And I found a bug in my patch, so don't use it.  If you change the order of the 
required includes in the index.php it breaks the port link popup.

Ernie
On Dec 22, 2010, at 2:45 AM, Frank Altpeter wrote:

> Moin,
> 
> I don't see the point in that... I also did not like the big images on the
> main page, but there's a totally easy solution:
> 
> -----------------------------------------------------------------------------
> .mainmenu h1 {
>    font-size: 14px;
> }
> 
> .mainmenu img {
>    width: 109px;
>    height: 100px;
> }
> -----------------------------------------------------------------------------
> 
> Either you put that directly in pi.css, or you create a file inc/local.css
> and add this line to your inc/local.php:
> 
> $pageheaders[151] = "<link rel=stylesheet type='text/css' 
> href='inc/local.css' />";
> 
> 
> 
> on 2010-12-22 at 05:03:50 CET, Ernest Shaffer wrote:
>> I kinda like the interface, but somebodies always got something better.
>> 
>> Maybe I could put something together, but first I need to finish the 
>> software plugin.
>> 
>> Here's what I'd like to see as an entry page.  I know I'm getting carried 
>> away, but maybe someday.
>> 
>> Dashboard display customized by user to include different applets.
>> User can customize # columns in his dashboard and then include applets in 
>> those columns.  Maybe even adjustable width columns.
>> Some functions to make creating customized applets easy.
>> Static area at top for admins to post MOTD and news like planned RackTables 
>> downtime.
>> 
>> Applets might include:
>>   - My Favorite filters: create save as favorite for filters so you can get 
>> to them easy
>>   - Hardware Type cloud; like in a blog clickable links to all hardware 
>> types in your data center
>>   - Software Type cloud; same as Hardware Type cloud but for software
>>   - My logs; list of most recent logs you created
>>   - Most recent updates; top 10 or customized number of recent updates to 
>> objects, racks, etc.
>>   - Problem hosts, quick list of hosts with has problem set
>>   - Logs list; scrollable box with condensed clickable logs list.
>>   - easy add;  simple form to input name, select device type (drop down) 
>> click add.  Then in same box display new object added with link to objects 
>> properties tab to get right into updating information.
>> 
>> 
>> Ernie (the dreamer)
>> 
>> 
>> On Dec 21, 2010, at 2:15 PM, Denis Ovsienko wrote:
>> 
>>> 
>>> 
>>> 21.12.2010, 11:05, "Ernest Shaffer" <ernest.shaffer@xxxxxxxxx>:
>>>> With the growing number of sections in RackTables main menu I figured it 
>>>> might be good to create a User interface configuration item to allow 
>>>> setting a percentage value for scaling the size of the icons displayed on 
>>>> the main page.
>>>> 
>>>> Here's a patch creating against current trunk to add a User interface 
>>>> configuration item for scaling the images/icons on main page.
>>> 
>>> The images, to be honest, are far from perfect themselves. May be, some 
>>> designer could contribute and redo main page layout from scratch?
>>> 
>>> -- 
>>>   Denis Ovsienko
>>> 
>> 
>> 
> 
> 
> 
> Mit freundlichen Grüßen,
> 
>       Frank Altpeter
> 
> -- 
> FA-RIPE || http://www.altpeter.de/
> Viva la evolution
> Jetzt kostenlos bei XING anmelden: http://www.xing.com/go/invite/27666.2a971e
> | Pick another fortune cookie.
> 


Other related posts: