Moved files..

This commit is contained in:
Martin Schröder 2015-05-05 08:40:16 +02:00 committed by Martin Schröder
parent 0a27a166eb
commit 6cbb653ff1
41 changed files with 76 additions and 91 deletions

View file

@ -1 +0,0 @@
<p>{{msg}}</p>

View file

@ -1,25 +0,0 @@
/*
* juci - javascript universal client interface
*
* Project Author: Martin K. Schröder <mkschreder.uk@gmail.com>
*
* Copyright (C) 2012-2013 Inteno Broadband Technology AB. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
angular.module("hello_world", []).controller("HelloWorldCtrl", function($state){
$state.msg = "Hello World!";
});

View file

@ -1,4 +0,0 @@
{
"scripts": ["hello_world"]
}

View file

@ -1 +0,0 @@
console.log("Submodule!");

View file

@ -1,7 +1,7 @@
<luci-layout-with-sidebar>
<div ng-controller="InternetFirewallPageCtrl">
<h2>Firewall settings</h3>
<p>Your EasyBox provides extensive firewall functionality which protects against common attacks. Vodafone recommends not to turn off firewall.</p>
<h2 translate>Firewall settings</h3>
<p translate>Your EasyBox provides extensive firewall functionality which protects against common attacks. Vodafone recommends not to turn off firewall.</p>
<table class="table">
<tr>
<td>

View file

@ -14,51 +14,6 @@
},
"internet.port_mapping": {
"view": "pages/internet.port_mapping"
},
"settings.configuration": {
"view": "pages/settings.configuration"
},
"settings.energy": {
"view": "pages/settings.energy"
},
"settings.network": {
"view": "pages/settings.network"
},
"settings.password": {
"view": "pages/settings.password"
},
"settings.upgrade": {
"view": "pages/settings.upgrade"
},
"settings.uci": {
"view": "pages/settings.uci"
},
"status.status": {
"view": "pages/status.status"
},
"status.status.dsl": {
"view": "pages/status.status.dsl"
},
"status.status.tv": {
"view": "pages/status.status.tv"
},
"status.status.voice": {
"view": "pages/status.status.voice"
},
"status.about": {
"view": "pages/status.about"
},
"status.diagnostics": {
"view": "pages/status.diagnostics"
},
"status.events": {
"view": "pages/status.events"
},
"status.nat": {
"view": "pages/status.nat"
},
"status.restart": {
"view": "pages/status.restart"
}
}
}

View file

@ -31,16 +31,4 @@ $juci.module("router")
onEnter: function($state){
$juci.redirect("internet.firewall");
},
})
.state("settings", {
url: "/settings",
onEnter: function($state){
$juci.redirect("settings.password");
},
})
.state("status", {
url: "/status",
onEnter: function($state){
$juci.redirect("status.status");
},
});
});

View file

@ -0,0 +1,25 @@
{
"scripts": [
"settings"
],
"pages": {
"settings.configuration": {
"view": "pages/settings.configuration"
},
"settings.energy": {
"view": "pages/settings.energy"
},
"settings.network": {
"view": "pages/settings.network"
},
"settings.password": {
"view": "pages/settings.password"
},
"settings.upgrade": {
"view": "pages/settings.upgrade"
},
"settings.uci": {
"view": "pages/settings.uci"
}
}
}

View file

@ -0,0 +1,7 @@
$juci.module("settings")
.state("settings", {
url: "/settings",
onEnter: function($state){
$juci.redirect("settings.password");
},
});

View file

@ -0,0 +1,34 @@
{
"scripts": [
"status"
],
"pages": {
"status.status": {
"view": "pages/status.status"
},
"status.status.dsl": {
"view": "pages/status.status.dsl"
},
"status.status.tv": {
"view": "pages/status.status.tv"
},
"status.status.voice": {
"view": "pages/status.status.voice"
},
"status.about": {
"view": "pages/status.about"
},
"status.diagnostics": {
"view": "pages/status.diagnostics"
},
"status.events": {
"view": "pages/status.events"
},
"status.nat": {
"view": "pages/status.nat"
},
"status.restart": {
"view": "pages/status.restart"
}
}
}

View file

@ -0,0 +1,7 @@
$juci.module("status")
.state("status", {
url: "/status",
onEnter: function($state){
$juci.redirect("status.status");
},
});