<%
	local util = require "luci.util"
	local disp = require "luci.dispatcher"
	local node = disp.context.dispatched
	local path = table.concat(disp.context.path, "-")
	local hostname = luci.sys.hostname()
	local page = pcdata(table.concat(disp.context.requestpath, "-"))
	local lang = luci.i18n.context.lang
	local isindex = ( path == "admin-themedog" or path == "admin-themedog_dev" )
	luci.http.prepare_content("text/html; charset=UTF-8")
-%>
	<!DOCTYPE html>
	<html lang="<%=lang%>">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="msapplication-navbutton-color" content="#000">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
		<meta name="theme-color" content="#000">
		<!--  -->
		<script src="<%=url('admin/translations', luci.i18n.context.lang)%>?v=git-25.303.46057-c8e6108"></script>
		<script src="<%=resource%>/cbi.js?v=git-25.303.46057-c8e6108"></script>
		<!--  -->
		<%	
			if ( isindex ) then	
			else
		-%>
			<link rel="stylesheet" href="<%=media%>/css/cascade.css?v=<%=math.random(1,100000)%>">
			<link rel="stylesheet" href="<%=media%>/css/use.css?v=<%=math.random(1,100000)%>">
		<%	end	-%>
		<title>
			<%=hostname%> - LuCI
		</title>
	</head>
	<body name="<%=hostname%>"   class="lang_<%=lang%> <% if node then %><%= striptags( node.title ) %><%- end %>" data-page="<%= page %>">
		<div id="maincontent" > 
			<div id="indicators" class="pull-right"></div>
			<div id="tabmenu" style="display:none"></div>
