Navigating The Web Interface

From Snakeoil OS Reference
Jump to navigation Jump to search

Configuring Snakeoil is done primary through the web browser (You will rarely need to login to the machine itself).

Any browsers supporting HTML5 and JavaScript will work. However we do highly recommend you use one of the following 3 modern browsers.

Opera.pngFirefox.pngChrome.pngAll three browsers have been tested to work well Snakeoil OS WebApp. We recommend the Chrome browser as Google is the same company behind Angular.

Click on the following links for their download locations:

Other modern browsers should work but is untested. If you encounter browsers, stick to these big three and see if the problem goes away.

Connecting To the Snakeoil Web App

Loading the Snakeoil WebApp is like browsing a webpage - you enter a URL that points to your Snakeoil PC. You can use one of the following forms:

  • Zeroconf: Use the "Your Computer's Name" you entered during the installation stage ("Who Are You" stage where you are asked to create your Linux login account), and follow it with ".local". Example, if your computer name is snakeoil, the zeroconf name would be snakeoil.local.
  • Hostname: Like above, just use the computer name, but without the .local string. This computer name may be picked up by some routers (the DHCP server component). e.g. if you call your machine "player", try entering this in the browser "http://player". If this works, you should see the web page above.
  • IP Address: If you still have a computer monitor connected, the IP address is displayed at the login screen. If you see "IP Address: " without any succeeding numbers, hit CTRL-C again and see if the address pops up. If you don't have a monitor connected, the assigned IP address can be found in your router DHCP client list. As an example, enter the IP address in the browser as so, http://192.168.0.1
Console.png

Put in the URL into the address bar, and press the "ENTER" key. This is the first page you'll see if things goes according to plan - the Snakeoil OS Dashboard:

The Snakeoil Dashboard

Getting Around The WebApp

In this section, we'll briefly go through the overall "look and feel" of how these pages are organised.

Menu/Tabs

Snakeoil Configuration are organised into "logical groups", accessible via the menu system located on the left hand side of the WebApp.

Snakeoil WebApp Menu system

On the left of you will always see what we call the"Menu System". Click on any menu item in that list and the contents on the right will change accordingly.

This menu system will always be available regardless which page you're in.The selected tab will be highlighted in a different colour so you'll always know where you are. In the example above you are looking at the "Dashboard". Every item is logically and consistently organised, the title of the content is always on the top left, with a small clickable question mark popping up a quick tip giving you a synopsis describing the purpose of the page.

Buttons

Buttons are actionable tasks. For example, click the delete button to delete an entry; the save button to save your configuration. These actions are usually colour coded according to the following scheme:

Button array

Text Input

A input box is for data entry. The following is an example asking you to provide a hostname for your Snakeoil OS. You can hover your mouse cursor over the box to display a tool-tip. This tip will give you a short explaination what the data is used for.

Input box for data entry

Most data you provide into the Snakeoil WebApp will have it's input verified for correctness. On error the box will be visually hilighted in red, with an error message right below the input box. Here is an example where a required field is left blank:

Required fields cannot be blank

Other Controls

Two other items of interests are check boxes (square box with a check) and radio buttons (Circle with a centre dot).

A checkbox have two states:

  • on (square box with a tick), or
  • off (empty box).

This control acts like a power switch. The following is an example of how checkboxes are used.

Example of checkboxes

Radio buttons are usually grouped and you can only select one item from that group. In the following example, the selected item is "Logitech Media Server". If you are to select "XMMS (VNC)" next, the "XMMS (VNC)" item will have a solid circle, and the original "Logitech Media Server" item will be de-selected..

Example of radio buttons

Activated vs Normal

There are some options that are only available to users with an activation code. The "Setup System Services" is an example of this. Please refer to Activation for more information. Now that you have the basics, let's get started and explore the the Snakeoil OS WebApp!

 Main   Configuration   Snakeoil Activation