summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNiklas2011-09-19 16:38:13 +0200
committerNiklas2011-09-19 16:38:13 +0200
commitcf7bfd8d92c43daa81de1ede78e117686902e93f (patch)
tree051f2fdfa86a50522207c342376892a65eb7c8d0 /src
parentremove another build dir (diff)
downloadfbgui-cf7bfd8d92c43daa81de1ede78e117686902e93f.tar.gz
fbgui-cf7bfd8d92c43daa81de1ede78e117686902e93f.tar.xz
fbgui-cf7bfd8d92c43daa81de1ede78e117686902e93f.zip
added a new version of the routemanager. now the delRoute and addRoute is working with libnl functions.but still there is an error: /usr/include/netlink/route/route.h:60:57: error: ‘realm_t’ has not been declared /usr/include/netlink/route/route.h:61:8: error: ‘realm_t’ does not name a type
Diffstat (limited to 'src')
-rw-r--r--src/html/networkdiscovery.css105
-rw-r--r--src/html/networkdiscovery.html18
2 files changed, 123 insertions, 0 deletions
diff --git a/src/html/networkdiscovery.css b/src/html/networkdiscovery.css
new file mode 100644
index 0000000..c6f703a
--- /dev/null
+++ b/src/html/networkdiscovery.css
@@ -0,0 +1,105 @@
+html,body{
+ height:100%;
+}
+body{
+ margin:0;
+ padding:0;
+ background-color:blue;
+ /*
+ background-image:url('background.png');
+ background-repeat:no-repeat;
+ */
+ background-size:100%;
+}
+#top{
+ position:absolute;
+}
+#message{
+ position:absolute;
+ top:37%;
+ width:100%;
+ font-size:90%;
+}
+h1, p{
+ color:white;
+ text-align:center;
+}
+#container{
+ min-height:100%;
+ margin-bottom:-50px;
+}
+* html #container{
+ height:100%;
+}
+#footer-spacer{
+ height:0px;
+}
+#footer{
+ height:30px;
+}
+/* animation */
+/* position the bars and balls correctly (rotate them and translate them outward)*/
+.bar1 {
+ -moz-transform:rotate(0deg) translate(0, -40px);
+ -webkit-transform:rotate(0deg) translate(0, -40px);opacity:0.12;
+}
+.bar2 {
+ -moz-transform:rotate(45deg) translate(0, -40px);
+ -webkit-transform:rotate(45deg) translate(0, -40px);opacity:0.25;
+}
+.bar3 {
+ -moz-transform:rotate(90deg) translate(0, -40px);
+ -webkit-transform:rotate(90deg) translate(0, -40px);opacity:0.37;
+}
+.bar4 {
+ -moz-transform:rotate(135deg) translate(0, -40px);
+ -webkit-transform:rotate(135deg) translate(0, -40px);opacity:0.50;
+}
+.bar5 {
+ -moz-transform:rotate(180deg) translate(0, -40px);
+ -webkit-transform:rotate(180deg) translate(0, -40px);opacity:0.62;
+}
+.bar6 {
+ -moz-transform:rotate(225deg) translate(0, -40px);
+ -webkit-transform:rotate(225deg) translate(0, -40px);opacity:0.75;
+}
+.bar7 {
+ -moz-transform:rotate(270deg) translate(0, -40px);
+ -webkit-transform:rotate(270deg) translate(0, -40px);opacity:0.87;
+}
+.bar8 {
+ -moz-transform:rotate(315deg) translate(0, -40px);
+ -webkit-transform:rotate(315deg) translate(0, -40px);opacity:1;
+}
+#div4 {
+ position:absolute;
+ left:50%;
+ top:50%;
+ margin-left:-50px;
+ margin-top:-50px;
+ width:100px;
+ height:100px;
+ -moz-border-radius:100px;
+ -webkit-border-radius:100px;
+ -moz-transform:scale(0.5);
+ -webkit-transform:scale(0.5);
+ -webkit-animation-name: rotateThis;
+ -webkit-animation-duration:2s;
+ -webkit-animation-iteration-count:infinite;
+ -webkit-animation-timing-function:linear;
+}
+#div4 div {
+ width:20px;
+ height:20px;
+ background:#fff;
+ -moz-border-radius:40px;
+ -webkit-border-radius:40px;
+ position:absolute;
+ left:40px;
+ top:40px;
+}
+/* add a shadow to the first */
+#div4 div {
+ -moz-box-shadow:black 0 0 4px;
+ -webkit-box-shadow:black 0 0 4px;
+}
diff --git a/src/html/networkdiscovery.html b/src/html/networkdiscovery.html
new file mode 100644
index 0000000..2c2e942
--- /dev/null
+++ b/src/html/networkdiscovery.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<link rel="stylesheet" type="text/css" href="networkdiscovery.css">
+</head>
+<body>
+<div id="top">
+</div>
+<div id="message">
+ <h1>Network Discovery</h1>
+</div>
+<div id="container">
+ <div id="footer-spacer"></div>
+</div>
+<div id="footer">
+ <p>RZ Uni Freiburg, 2011</p>
+</div>
+</body>
+</html>