ROBIN -  Open Source Mesh Network Forum Index ROBIN - Open Source Mesh Network
users community forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OrangeMesh - The Open Source Dashboard

 
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> OrangeMesh Dashboard
View previous topic :: View next topic  
Author Message
Ads






Posted: Thu Sep 21, 2017 8:09 pm    Post subject: Ads

Back to top
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Tue Apr 08, 2008 7:23 pm    Post subject: OrangeMesh - The Open Source Dashboard Reply with quote

You can finally get your hands dirty with an open source dashboard server. It's still in super-early development, but I wanted to let the community know about it. For more information see my post in the "Community Releases" section or check our
Only registered users can see links on this forum!
Register or Login on forum!


_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tater_gunz
Moderator
Moderator


Joined: 11 Feb 2008
Posts: 182
Location: Toledo, OH, USA

PostPosted: Tue Apr 08, 2008 11:58 pm    Post subject: Reply with quote

Yep, Bill and I have been getting our hands dirty playing with the new dashboard this past week. It looks promising!

- Tate

_________________
Stop by my personal site at

Only registered users can see links on this forum!
Register or Login on forum!

!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
danejasper
User
User


Joined: 23 Mar 2008
Posts: 36

PostPosted: Wed Apr 09, 2008 2:52 am    Post subject: Reply with quote

Is this separate from what Michael is working on?

I'd hate to see the community fragment - with open development, it sure is nice if we're all work on the same source repository!

-Dane
Back to top
View user's profile Send private message
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Wed Apr 09, 2008 2:57 am    Post subject: Reply with quote

Someone asked this question in the other thread (I wasn't sure where to post this announcement, sorry!), so I'll reuse the answer below....

Quote:
This is the open source version of the Open-Mesh dashboard. However, it is not the code that is currently running on open-mesh.com

We do share some of the code, and Mike is working with us and contributing to this project. Open-Mesh has roots that go back to Roofnet, and most of the code is not able to be released. So we've been working with him to rewrite the dashboard from the ground up to make it something that others can take and extend.

However, at some point down the road th two projects will merge, and the same code available in OrangeMesh will be running on Open-Mesh. However, there is a lot of work left to do before we can get there, both on our end and on Mike's end.

Finally, sometime this week (hopefully) a migration feature will be available on Open-Mesh so you can migrate your existing Open-Mesh network data to an OrangeMesh server and use both, side by side.


So, to be clear, this is definitely not a fork -- it's the "open source dashboard" that was announced in the Open-Mesh roadmap a couple weeks ago. We're working closely together with Mike on this. No splintering here!

_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
danejasper
User
User


Joined: 23 Mar 2008
Posts: 36

PostPosted: Wed Apr 09, 2008 5:59 am    Post subject: Reply with quote

Okie, interesting.

So does this include a server for distribution of flash images too? Is it a complete network management system?

We've been sort of in a holding pattern on the whole network while waiting for a solution we can host.

-Dane
Back to top
View user's profile Send private message
tater_gunz
Moderator
Moderator


Joined: 11 Feb 2008
Posts: 182
Location: Toledo, OH, USA

PostPosted: Wed Apr 09, 2008 6:19 am    Post subject: Reply with quote

danejasper wrote:
We've been sort of in a holding pattern on the whole network while waiting for a solution we can host.

-Dane


Same here. What we've played with looks like the early beginning of a full fledged self-hosting-ready Dashboard replacement. It's still very basic, but they're making progress. Feel free to poke around the test network I created on their public demo server (

Only registered users can see links on this forum!
Register or Login on forum!

). The network name is "test_network" and the pass is "123test".

- Tate

_________________
Stop by my personal site at

Only registered users can see links on this forum!
Register or Login on forum!

!

Last edited by tater_gunz on Wed Apr 09, 2008 6:48 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
gerrybakker
Intermediate User
Intermediate User


Joined: 20 Feb 2008
Posts: 112
Location: Westbank, BC Canada

PostPosted: Wed Apr 09, 2008 6:31 am    Post subject: Reply with quote

Dane,

are you asking if it includes a web server to present custom splash pages for each mesh network? I don't know the answer but I am just trying to clarify the question.
Back to top
View user's profile Send private message MSN Messenger
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Wed Apr 09, 2008 6:53 am    Post subject: Reply with quote

I think what he meant by "flash images" is firmware upgrades. We don't currently have that capability, nor are we going to get to it for a bit. But, it is definitely something we plan to implement in the future.

We also do not have support for the new captive portal features, yet.

However, the nodogsplash captive portal is something that we should have fully implemented in the next couple weeks, complete with an open source WYSIWYG editor and all that jazz. It's actually in development right now, though it is not finished.

We have a lot of documentation about what we're trying to do with this project, as well as how the code works, and our schedule for the next four weeks, available on our
Only registered users can see links on this forum!
Register or Login on forum!


_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Airwip
Guest





PostPosted: Wed Apr 09, 2008 7:01 am    Post subject: Reply with quote

great work shasan
this is what i was waiting for .... call me unstylish but i like to hold everything
on my own hands .

already got my hands dirty with your dashboard server and i agree with others here alredy said looks very promising.
Sure very early but from examing the files it looks ver well struktured
and easy understandable so i gues it can grow very fast ..

Stefan
Back to top
danejasper
User
User


Joined: 23 Mar 2008
Posts: 36

PostPosted: Wed Apr 09, 2008 7:49 am    Post subject: Reply with quote

Ya, we're looking for a complete solution which we can host here. I understand we're waiting for development by many people, and I'm not at all impatient - I know the great work that everyone is doing will take time.

Thanks for keeping us informed, and we'll keep playing with the tools as they advance. Once the solution is a bit more mature, we're excited to begin deployment!

-Dane
Back to top
View user's profile Send private message
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Wed Apr 09, 2008 6:03 pm    Post subject: Reply with quote

To go into more detail about what Tate said, we are playing with the different revisions of the open source dashboard that shasan is developing. We downloaded the code and installed it on the following system:

CentOS 5.1
Apache
PHP 5
mysql
phpmyadmin

I set up the main server and then copied the orangemesh code to /var/www/html/dashboard

and then imported the orangemesh.sql data tables into mysql using phpmyadmin. After editing the dbconnect.php script with the proper information the server works.

I then changed the update script on my node to point to my server and it is checking in but the server isn't developed enough yet for it to import the info into the sql db and then display it. I am sure it will be ready in about 3 weeks as he is moving extremely quickly in his development and I am very impressed so far.

Kudos!

PS: make sure you have php 5 installed and not php 4. he is using a newer sql data connector and it isn't included in php 4. mysqli.so.

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Larryinmi
User
User


Joined: 19 Mar 2008
Posts: 13
Location: Metro Detroit, Michigan

PostPosted: Wed Apr 09, 2008 6:35 pm    Post subject: Reply with quote

Please excuse my ignorance on this but after looking threw some of the documentation I did not find any specs on what is needed to run Orange Mesh other then the info williamruckman posted above.

Is there any preferred setup?

Is there an install document I missed?

Thanks
Larry
Back to top
View user's profile Send private message
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Wed Apr 09, 2008 7:03 pm    Post subject: Reply with quote

nope. I just did it on instinct.

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Wed Apr 09, 2008 7:49 pm    Post subject: Reply with quote

There is an installation document available -- it should be in the orangemesh-0.1a package that we have listed on our main page. Look in the file called "INSTALL". (it's just a text file if you aren't able to tell) That file is also in our repository, if you got the code by checking it out of there.

That should get you up and running... I'll recap it here. William got it about right. :)

- Apache (or some other web server, I suppose)
- PHP 5 + PEAR
- MySQL
- We test for Ubuntu 7.10 (not server ed), but we have had the server run under Windows as well.

One of the reasons we probably haven't given as much thought to setup as we should is that, like Open-Mesh, we run on XAMPP, which is just one package you can install that includes everything you need. We kind of assumed that if you already had a working LAMP stack then you could figure out how to make things work...

XAMPP reportedly runs on Linux, Windows, Mac, and Solaris so the quickest and recommended way to get Orangemesh up and running is to just install XAMPP and go from there.

_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Fri Apr 11, 2008 1:51 pm    Post subject: Reply with quote

Also, make sure you have the latest PHP 5 build! At least above PHP 5.2 or you will run into problems with some of the functions not working during a node check-in. It is a bug in PHP < 5.2 and was fixed in PHP > 5.2.

(And you have to build it from source on CentOS as the repos don't have a updated package. Even Dag and freshrpms don't have it.)

BUT, as shasan said, there is a linux version of XAMPP. You just have to remember to secure it and lock it down because it is mostly made for developers and contains everything under the sun unlocked using default passwords or no passwords on many services.

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Airwip
Guest





PostPosted: Fri Apr 11, 2008 5:37 pm    Post subject: Reply with quote

have mine on ubuntu 7.10 server edition.

But i didn't installed the apache2 and mysql pack wich is contained on server edition iso . I installend Apache PhP 5 and Mysql per hand as i usally do.
I agree with william that xamp ore lamp are little bit too much open .
For mangment i installed webmin and phpmyadmin.
Back to top
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Fri Apr 11, 2008 5:51 pm    Post subject: Reply with quote

It's definitely true XAMPP is very open. However, it is possible to lock it down fairly securely. XAMPP includes a security script that lets you change all the default settings to something else.

We also include in our install document a link to a tutorial about how to make XAMPP more secure:
Only registered users can see links on this forum!
Register or Login on forum!



That said, our target for this software are semi-technical or non-technical community wireless groups, and we think for their purposes the ease of setup that XAMPP provides is very beneficial.

_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wifitenne
User
User


Joined: 28 Mar 2008
Posts: 42
Location: Nederland

PostPosted: Sat Apr 12, 2008 11:21 am    Post subject: mysqli_query php error Reply with quote

Hello,

I try it but "mysqli_query" is not working.
My setup url=
Only registered users can see links on this forum!
Register or Login on forum!



i read about it here:

Only registered users can see links on this forum!
Register or Login on forum!



But can't solve the problem.

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message
tihomir
Moderator
Moderator


Joined: 10 Feb 2008
Posts: 39

PostPosted: Sat Apr 12, 2008 11:37 am    Post subject: Re: mysqli_query php error Reply with quote

wifitenne wrote:
Hello,

I try it but "mysqli_query" is not working.
My setup url=
Only registered users can see links on this forum!
Register or Login on forum!



i read about it here:

Only registered users can see links on this forum!
Register or Login on forum!



But can't solve the problem.

Only registered users can see links on this forum!
Register or Login on forum!



Your php version has to be version 5 or above.

yours = 4.4.4
I think that's the problem

See ..

Only registered users can see links on this forum!
Register or Login on forum!


Code:

mysqli_query

(PHP 5)

mysqli_query — Performs a query on the database
Back to top
View user's profile Send private message Send e-mail
wifitenne
User
User


Joined: 28 Mar 2008
Posts: 42
Location: Nederland

PostPosted: Sat Apr 12, 2008 12:05 pm    Post subject: Reply with quote

ok thanks

I tell it my isp Confused
Back to top
View user's profile Send private message
tihomir
Moderator
Moderator


Joined: 10 Feb 2008
Posts: 39

PostPosted: Sat Apr 12, 2008 12:22 pm    Post subject: Reply with quote

wifitenne wrote:
ok thanks

I tell it my isp Confused


You can use this is free with no ads

Only registered users can see links on this forum!
Register or Login on forum!



You can easily configure it for example dashboard.wifitenne.com and two use both hostings .... you will use your existing one for wifitenne.com and 110mb for dashboard

Only suggestioning, if you don't want to wait/depend on your isp.
Back to top
View user's profile Send private message Send e-mail
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Mon Apr 14, 2008 5:22 pm    Post subject: Observations Reply with quote

I was messing around with some of the code for orangemesh on my own server.

I added CSS style sheets to easily format everything which worked out real nice. I also added a 5 minute php refresh, since the nodes check-in every 5 minutes so it will keep the data "live"

I also corrected the quality as it was pulling from the wrong database entry and added some additional fields.

Altogether it looks pretty nice and I have a bunch of my nodes checking into it.

There is a lot of work that is needed to get it up to open-mesh.com standards as the database only reflects current node values and doesn't store a 24 hour history that would be useful for graphing.

@shasan

What open source software were you planning to use for:

Bandwidth / user graphing for monthly stats? (RRDtool or GD?) I assume we will need to have a server process that takes node statuses once per hour and stores them in another database table.

Node mapping? (google maps api?)

24 hour quality?

I am just curious. Smile

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Mon Apr 14, 2008 7:34 pm    Post subject: Reply with quote

That's really great -- I'd love to take a look at those changes you've made! Perhaps we can incorporate them into the main part of the project. Shoot me an email or PM.

The 24 hour node history won't actually need a new database or anything. We're working on that right now actually (using GD, currently). The trick is to take the checkin data and store it as a serialized array in the database, then convert that array to an image on demand. That's actually how it's being done on open-mesh right now. We will use a similar approach for network-wide statistics.

Regarding your other questions:
We're using the Google Maps API for the network maps. Mike's contributed a bit of code for this; we're using his same marker images and everything so it should have a similar look and feel. This needs a bit more fleshing out but a working version should be in our repo by this weekend.

As for the flash graphs... Looking to use Open Flash Graph. Mike uses a different package, but it's not open source or redistributable. I think this will be able to meet our needs well.

_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Mon Apr 14, 2008 7:55 pm    Post subject: CSS Reply with quote

For the CSS code to change the tables I did the following:

I created a .css file called ruckman.css in the ./status directory with the following information:

Code:

table {
        font-family: Arial, Verdana, sans-serif;
        font-size: 10px;
        color: #00008B;
        border-color: #600;
        border-width: 0 0 1px 1px;
        border-style: solid;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
}

td
{
        border-width: 1px 1px 0 0;
        border-style: solid;
        margin: 0;
        padding: 4px;
        background-color: #FFC;
        border-color: #600;
}


Then I adjusted the view.php:

Code:

<?php
/* Name: view.php
 * Purpose: master view for network settings.
 * Written By: Shaddi Hasan, Mac Mollison
 * Last Modified: April 6, 2008
 *
 * (c) 2008 Orange Networking.
 *
 * This file is part of OrangeMesh.
 *
 * OrangeMesh is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version. This license is similar to the GNU
 * General Public license, but also requires that if you extend this code and
 * use it on a publicly accessible server, you must make available the
 * complete source source code, including your extensions.
 *
 * OrangeMesh is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with OrangeMesh.  If not, see <http://www.gnu.org/licenses/>.
 */

session_start();

//check if we have a network selected, if not redirect to select page
if (!isset($_SESSION['netid']))
        header("Location: ../entry/select.php");

include "../lib/menu.php";

//setup database connection
require "../lib/connectDB.php";
setTable("node");

//get nodes that match network id from database
$query = "SELECT * FROM node WHERE netid=" . $_SESSION["netid"];
$result = mysqli_query($conn,$query);

//Table columns, in format Display Name => DB field name.
//You can choose whatever order you like... and these are not all the options... any DB field is game.
$node_fields = array("Node Name" => "name","Description" => "description","Public SSID" => "ssid","Private SSID" => "pssid","Uptime" => "uptime",
  "Quality" => "gw-qual","Mem Free" => "memfree","Hops" => "hops","Gateway" => "gateway","Route" => "routes","Users" =>"users","Max Users" => "usershi","Download kb" => "kbdown","Upload kb" => "kbup",
  "Last Checkin" => "time","MAC" => "mac","Robin IP" => "ip","Robin" => "robin","Batman" => "batman");

//Set up the table (HTML output) - the Javascript causes it to be sortable by clicking the top of a column.
echo "<html>";
echo "<head>";
echo "<LINK href='ruckman.css' rel='stylesheet' type='text/css'>";
echo "</head>";
echo "<body>";
echo "<script src='../lib/sorttable.js'></script>";
echo "<table class='sortable' border='1'>";

//Output the top row of the table (display names)
echo "<tr>";
foreach($node_fields as $key => $value) {
    echo "<td>" . $key . "</td>";
}
echo "</tr>";

//Output the rest of the table
while($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
    echo "<tr>";
    foreach($node_fields as $key => $value) {
        echo "<td>";
        if ($value=="name" && $row["gateway_bit"]==1) {
               echo "<b>" . $row[$value] . "</b>";
        }
        elseif ($value=="rank") {    //Convert rank from x {x | 0 < x < 255} to %
            echo floor(100 * ($row[$value] / 255)) . "%";
        }
        else {
            echo $row[$value];
        }
        echo "</td>";
    }
    echo "</tr>";
}
echo "</table>";

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Mon Apr 14, 2008 8:11 pm    Post subject: Menu Reply with quote

For the menu.php in .lib I added a few changes for fun:

300 second (5 minute) refresh for user and admin.
Shows logged in user ip address.
Made logged in network name red and blinking for fun Smile
Corrected Quality field as was incorrect database field.
Added some DB fields

Code:

<?php
/* Name: menu.php
 * Purpose: main menu for dashboard.
 * Written By: Shaddi Hasan, Mike Burmeister-Brown
 * Last Modified: April 6, 2008
 *
 * Variable Summary
 * Globals: on_index
 * GET: -none-
 * POST: -none-
 * SESSION: user_type
 *
 * (c) 2008 Open Mesh, Inc. and Orange Networking.
 *
 * This file is part of OrangeMesh.
 *
 * OrangeMesh is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version. This license is similar to the GNU
 * General Public license, but also requires that if you extend this code and
 * use it on a publicly accessible server, you must make available the
 * complete source source code, including your extensions.
 *
 * OrangeMesh is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with OrangeMesh.  If not, see <http://www.gnu.org/licenses/>.
 */
session_start();

//get the user type
$utype = $_SESSION['user_type'];

//determine if we're on the index page
//this is important in determining file paths
$on_index = (boolean)strpos($_SERVER['PHP_SELF'],'index.php');
//echo (boolean)$on_index;

//decide what menu to display
switch($utype){
        case 'admin':
                showAdminMenu();
                break;
        case 'user':
                showUserMenu();
                break;
        default:
                showDefaultMenu();
                break;
}

//generate and display the admin menu
function showAdminMenu(){
        global $on_index;
        header( 'refresh: 300;' );
        echo 'Welcome Admin ('.$_SERVER['REMOTE_ADDR'].'), to the Fusionwurx Dashboard Server.';
        ?><br><?

        echo 'You are logged in to the "<font color="red"><blink> '.$_SESSION['net_name'].'</blink></font> " network.';

        ?>
        <div id="menu">
        <ul id="nav">
        <li id="home" class="first"><a href="<?if(!$on_index){echo '../';}?>index.php">Home</a></li>
        <li id="config"><a href="<?if(!$on_index){echo '../';}?>net_settings/edit.php">Network Settings</a></li>
        <li id="view"><a href="<?if(!$on_index){echo '../';}?>status/view.php">Network Status</a></li>
        <li id="node"><a href="<?if(!$on_index){echo '../';}?>nodes/addnode.php">Add Nodes</a></li>
        <li id="logout"><a href="<?if(!$on_index){echo '../';}?>entry/logout.php">Logout</a></li>
        </ul>
        </div>
        <?
}

//generate and display the user menu
function showUserMenu(){
        global $on_index;
        header( 'refresh: 300;' );
        echo 'Welcome User ('.$_SERVER['REMOTE_ADDR'].'), to the Fusionwurx Dashboard Server.';
        ?><br><?
        echo 'You are viewing the "<font color="red"><blink>'.$_SESSION['net_name'].'</blink></font>" network.';
        ?>
        <div id="menu">
        <ul id="nav">
        <li id="home" class="first"><a href="<?if(!$on_index){echo '../';}?>index.php">Home</a></li>
        <li id="view"><a href="<?if(!$on_index){echo '../';}?>status/view.php">Network Status</a></li>
        <li id="node"><a href="<?if(!$on_index){echo '../';}?>nodes/addnode.php">Add Nodes</a></li>
        <li id="logout"><a href="<?if(!$on_index){echo '../';}?>entry/logout.php">Leave Network</a></li>
        </ul>
        </div>
        <?
}

//generate and display the default (no login) menu
function showDefaultMenu(){
        global $on_index;
        echo 'Welcome to the Fusionwurx Dashboard Server.';
        ?><br><?
        echo 'Login to manage a network, or select a network to view its status.';
        ?>
        <div id="menu">
        <ul id="nav">
        <li id="home" class="first"><a href="<?if(!$on_index){echo '../';}?>index.php">Home</a></li>
        <li id="create"><a href="<?if(!$on_index){echo '../';}?>entry/create.php">Create Network</a></li>
        <li id="manage"><a href="<?if(!$on_index){echo '../';}?>net_settings/edit.php">Manage Network</a></li>
        <li id="view"><a href="<?if(!$on_index){echo '../';}?>status/view.php">View Network</a></li>
        </ul>
        </div>
        <?
}
?>

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Mon Apr 14, 2008 8:30 pm    Post subject: Reply with quote

You'll also notice the additional database fields I added to the status table.

_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
williamruckman
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 348
Location: Toledo, OH, USA

PostPosted: Tue Apr 15, 2008 4:03 pm    Post subject: Looks nice! Reply with quote

Here is a screenshot of my current Orangemesh Dashboard:



Only registered users can see links on this forum!
Register or Login on forum!


_________________
William Ruckman

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jaebird
Intermediate User
Intermediate User


Joined: 05 Apr 2008
Posts: 59
Location: DFW, Texas

PostPosted: Wed Apr 16, 2008 2:43 am    Post subject: Reply with quote

Must we use flash? Couldn't the graph be done by some other means? I'm thinking about my phone and other devices that don't have flash.

Smile

Jae
Back to top
View user's profile Send private message
shasan
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 178
Location: Chapel Hill, NC

PostPosted: Wed Apr 16, 2008 3:35 am    Post subject: Reply with quote

You know... it doesn't have to be. We could work on that. It'd be sweet if we could make a "simple" version of the site as well as a regular version. Being able to interact with the dashboard on a mobile device is a very important feature.

FWIW, the reason we're using flash for the status graph is because it allows interaction with the graph. You can have a much richer graph that conveys a lot more information succinctly.

That said, it shouldn't be too much trouble to generate a simple image of some sort to convey similar information... I'll put that on our todo list.

_________________

Only registered users can see links on this forum!
Register or Login on forum!


unc-chapel hill, class of 2010
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EricWarnke
Moderator
Moderator


Joined: 09 Jul 2008
Posts: 290
Location: Edmonton, AB, Canada and Santiago, Chile

PostPosted: Wed Mar 18, 2009 6:15 pm    Post subject: Reply with quote

Perhaps we can just detect Flash capabilities and show what's appropriate?

_________________

Only registered users can see links on this forum!
Register or Login on forum!

|
Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> OrangeMesh Dashboard All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
c d
e



Powered by phpBB © 2001, 2005 phpBB Group

Abuse - Report Abuse - TOS & Privacy.
Powered by forumup.it free forum, create your free forum! Created by Hyarbor & Qooqoa
Confirmed

Page generation time: 1.266