Krisbee wrote: 
> Apologies, my previous post should have read compare the contents of
> your  /usr/share/soa-web/templ/header.html file with the version on git

Code seems to be the same as git version.

Thanks


Code:
--------------------
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
  
  <html>
  
  
  <head>
  <title>{{{brand_name}}} Web Configuration</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link href="static/stylesheet.css" rel="stylesheet" type="text/css" 
media="all" />
  <link href="static/simptip-mini.css" rel="stylesheet" type="text/css" />
  <link href="static/favicon.ico?v=3" rel="icon" type="image/x-icon" />
  <link href="static/favicon.ico?v=3" rel="shortcut icon" type="image/x-icon" />
  </head>
  
  
  <body onload="javascript:check_help()">
  
  
  <script type="text/javascript">
  function get_help_cookie() {
  var cookies = document.cookie.split(';');
  var value;
  for (var i = 0; i < cookies.length; i++) {
  if (cookies[i].split('=')[0].trim() == "soa-web-help") {
  value = cookies[i].split('=')[1].trim();
  }
  }
  return value;
  }
  function set_help_cookie(value) {
  document.cookie = "soa-web-help" + "=" + value + "; path=/";
  }
  function toggle_help() {
  var state = get_help_cookie()
  var el = document.getElementById('context');
  if (state == "on") {                  
  el.style.display = 'none';
  state = "off";
  } else {
  el.style.display = '';
  state = "on";
  }
  set_help_cookie(state);
  }
  function check_help() {
  var state = get_help_cookie()
  var el = document.getElementById('context');
  if (state == "on") {                  
  el.style.display = '';
  }
  }
  </script>  
  
  
  <div class="navigation curved container">
  <span id="nav-home">
  <a href="/index.html">{{{home}}}</a>
  </span> 
  <span id="nav-system">
  <a href="/system.html">{{{system}}}</a>
  </span> 
  {{#p_wired}}
  <span id="nav-wired">
  <a href="/network-wired.html">{{{ethernet}}}</a>
  </span> 
  {{/p_wired}}
  {{#p_wireless}}
  <span id="nav-wireless">
  <a href="/network-wireless.html">{{{wireless}}}</a>
  </span> 
  {{/p_wireless}}
  {{#p_squeezelite}}
  <span id="nav-squeezelite">
  <a href="/squeezelite.html">{{{squeezelite}}}</a>
  </span>
  {{/p_squeezelite}}
  {{#p_squeezeserver}}
  <span id="nav-squeezeserver">
  <a href="/squeezeserver.html">{{{squeezeserver}}}</a>
  </span>
  {{/p_squeezeserver}}
  {{#p_storage}}
  <span id="nav-storage">
  <a href="/storage.html">{{{storage}}}</a>
  </span>
  {{/p_storage}}
  {{#p_update}}
  <span id="nav-update">
  <a href="/update.html">{{{update}}}</a>
  </span>
  {{/p_update}}
  <span id="nav-shutdown">
  <a href="/shutdown.html">{{{shutdown}}}</a>
  </span> 
  {{#context}}
  <span id="nav-help">
  <a href="#" onclick="javascript:toggle_help()">{{{help}}}</a>
  </span>
  {{/context}}
  <br class="separator" />
  </div>
--------------------



kidstypike 
1 x SB3 - 1 x Boom - 1 x (Squeezebox) Radio - 2 x Touch - 2 x
piCorePlayer
------------------------------------------------------------------------
kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to