mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   Primenet web design (https://www.mersenneforum.org/showthread.php?t=19716)

Mark Rose 2014-09-24 14:33

[QUOTE=srow7;383748]the colorful menus (my account, my team,etc)
do not work on mobile browsers (ios/safari)
because cannot hover a curser.[/QUOTE]

On Android you can tap them and the sub menu opens up. Does that not work on ios?

Madpoo 2014-09-24 14:56

[QUOTE=Mark Rose;383759]On Android you can tap them and the sub menu opens up. Does that not work on ios?[/QUOTE]

It should... it works on my Android. I should go try it on one of our QA team's iPhones, but I'm fairly certain it should work the same.

sdbardwick 2014-09-24 16:40

[QUOTE=srow7;383748]the colorful menus (my account, my team,etc)
do not work on mobile browsers (ios/safari)
because cannot hover a curser.[/QUOTE]
Same behavior on Windows Phone browser as well; submenu only visible when touching menu item. Tapping doesn't keep submenu open.
Then again, there are only about 3 other people using WP, so it may not be worth spending time to figure out.

Mark Rose 2014-09-24 19:29

[QUOTE=sdbardwick;383769]Same behavior on Windows Phone browser as well; submenu only visible when touching menu item. Tapping doesn't keep submenu open.
Then again, there are only about 3 other people using WP, so it may not be worth spending time to figure out.[/QUOTE]

If you lump them in with the BlackBerry users you should have at least 5 people though. That's gotta count for something.

blip 2014-09-24 20:47

Just an idea:

You could use [URL="http://getbootstrap.com/"]bootstrap[/URL] as basis and then use something like [URL="http://startbootstrap.com/template-overviews/sb-admin-2/"]this[/URL].
Thus you would combine ease of use with easy of "programming".

Madpoo 2014-09-24 20:47

[QUOTE=sdbardwick;383769]Same behavior on Windows Phone browser as well; submenu only visible when touching menu item. Tapping doesn't keep submenu open.
Then again, there are only about 3 other people using WP, so it may not be worth spending time to figure out.[/QUOTE]

Phhbhbhbttt. That figures.

There should be a law... :smile:

I was going to use one of our dev iphones here but the darn thing wasn't charged up. Plugged in now so I'll try it later. We *might* have a Windows Phone device, but I won't hold my breath on that.

In the meanwhile let me ponder if there's a better way to implement the menus for mobile.

Not incidentally, I've got some stats now on what kinds of devices hit the site and mobile use is VERY low. Well below industry averages. What, there's no ARM version of Prime95? (could you imagine the battery life you'd get...)

Madpoo 2014-09-24 20:54

[QUOTE=blip;383780]Just an idea:

You could use [URL="http://getbootstrap.com/"]bootstrap[/URL] as basis and then use something like [URL="http://startbootstrap.com/template-overviews/sb-admin-2/"]this[/URL].
Thus you would combine ease of use with easy of "programming".[/QUOTE]

I'm exploring just using some Jquery UI themes. Jquery's already on the site (maybe the old table sorting used it, or something else... unsure).

I was having fun with some jquery plugins for making nice scrollable tables.

The CPU benchmark table was still a huge bear to tackle since it just has way too much info to make it easy to deal with, but here's my first stab at it:
[URL="http://www.mersenne.org/report_benchmarks/tabletest.php"]http://www.mersenne.org/report_benchmarks/tabletest.php[/URL]

The plugin I'm using, [URL="http://www.tablefixedheader.com/"]http://www.tablefixedheader.com/[/URL], isn't entirely the best... that table for instance changes the # and order of rows based on certain things... in other words the way the page is designed makes it rather unwieldy to work with, but I just added in some PHP if/else branches just like the existing table design was using so I could try to keep column widths and sorting somewhat nice.

If anyone has a better idea or experience with dealing with tables and making them look pretty, I'm open to it.

FYI, the theme I used on that table test page is kind of ugly, I'll admit. Orange? But it was one of the themes from the example and I didn't bother finding a prettier one that still had good zebra colors for the rows. Deal with it. :smile:

blip 2014-09-24 21:49

[QUOTE=Madpoo;383782]

If anyone has a better idea or experience with dealing with tables and making them look pretty, I'm open to it.
[/QUOTE]
[URL]http://startbootstrap.com/templates/sb-admin-2/tables.html[/URL]

Madpoo 2014-09-24 22:18

[QUOTE=blip;383787][URL]http://startbootstrap.com/templates/sb-admin-2/tables.html[/URL][/QUOTE]

Eh... I don't know anything about startbootstrap but Jquery seems more universally loved and supported, and there are TONS (literally?) of plugins for just about anything you want, plus TONS (again?) of pre-baked themes should that ever come to fruition.

I guess if I saw anything in there that looked any better than the dozens of Jquery plugins, I'd be more persuaded. :)

blip 2014-09-24 22:49

bootstrap goes on top of jquery and provides a decent framework for responsive design on virtually all (current) platforms. My last hint here: [URL]http://getbootstrap.com/javascript/[/URL]

As always, we could argue endlessly about (pros and cons of different) solutions. If you have what you need for your current task, just go on. I'm happy to see the final result :-)

Madpoo 2014-09-24 23:01

[QUOTE=blip;383792]bootstrap goes on top of jquery and provides a decent framework for responsive design on virtually all (current) platforms. My last hint here: [URL]http://getbootstrap.com/javascript/[/URL]

As always, we could argue endlessly about (pros and cons of different) solutions. If you have what you need for your current task, just go on. I'm happy to see the final result :-)[/QUOTE]

See, you're *assuming* I know what I'm doing. LOL

All I know about jquery prior to a few days ago could fit on a single sticky notepad. So I'm at that learning-to-crawl phase and honestly I'm just amazed I could get anything working. I was feeling pretty proud of myself for getting something running with that table plugin and even modified it slightly so when sorting on a URL, it sorts by the anchor text and NOT the href. Good job, me!


All times are UTC. The time now is 23:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.