Commit e31b0cff authored by Matthias Möller's avatar Matthias Möller

Anpassung an neue Webseitenstruktur und leichte Verbesserung der Css-style-sheets

parent 26ddb843
......@@ -5,13 +5,14 @@ export default Ember.Component.extend({
layout:layout,
emotivWebsocket: Ember.inject.service("emotiv-websocket"),
tagName: "a",
classNames:["pointer"],
classNameBindings: ["status"],
status : "",
click: function(){
console.log("clicked");
this.get("emotivWebsocket").start();
},
attributeBindings:["title"],
title: "BCI-Verbindung",
init(){
this._super(...arguments);
......
export function initialize(applicationInstance) {
let addonService = applicationInstance.lookup("service:addon-button-service");
console.log("start");
let addonService = applicationInstance.lookup("service:configuration");
addonService.get("addonNavbarRight").push("explorviz-frontend-plugin-bci");
/*let addon = {
"domID" : "emotivSignal",
......
......@@ -10,25 +10,19 @@
100%{color: grey;}
}
.glyphicon.glyphicon-signal.connected{
nav.navbar-nav > li > a.connected{
color: #7FFF00;
}
.glyphicon.glyphicon-signal.disconnected{
color: grey;
cursor: pointer;
.nav.navbar-nav > li > a.disconnected{
animation-name: disconnected;
animation-duration: 1s;
animation-iteration-count: 1;
}
.glyphicon.glyphicon-signal.connecting{
.nav.navbar-nav > li > a.connecting{
animation-name: connecting;
animation-duration: 1s;
animation-iteration-count: infinite;
cursor: wait;
}
.pointer:{
cursor: pointer;
}
<span class="glyphicon glyphicon-signal {{status}}">
<span class="glyphicon glyphicon-signal">
</span>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment