Commit f2bf7133 by uros.spasojevic

Sass Login

parent 253cf050
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
&.#{$prefix}btn-over, &.#{$prefix}btn-over,
&.#{$prefix}btn-focus { &.#{$prefix}btn-focus {
background-color: #ebeef0 !important; background-color: #ebeef0 !important;
border: 2px solid #1b72af !important;
@include box-shadow(none !important); @include box-shadow(none !important);
.#{$prefix}btn-inner { .#{$prefix}btn-inner {
...@@ -23,6 +24,49 @@ ...@@ -23,6 +24,49 @@
} }
} }
.evoksi-view-login {
.#{$prefix}title {
text-align: center;
div {
font-weight: bold;
}
}
.#{$prefix}panel-body {
background-color: #d7e9f5;
border-color: #d7e9f5;
.#{$prefix}field {
margin-left: 13px;
&:first-child {
margin-top: 80px;
}
}
label {
span {
border-bottom: 2px solid #1b72af;
color: #1b72af;
font-weight: bold;
width: 73px !important;
}
}
}
.#{$prefix}toolbar {
background-color: #d7e9f5;
border-color: #d7e9f5;
.#{$prefix}btn {
left: calc(50% - 74px) !important;
width: 50%;
}
}
}
.evoksi-view-evoksi { .evoksi-view-evoksi {
.#{$prefix}toolbar { .#{$prefix}toolbar {
...@@ -102,6 +146,7 @@ ...@@ -102,6 +146,7 @@
&.#{$prefix}btn-over, &.#{$prefix}btn-over,
&.#{$prefix}btn-focus { &.#{$prefix}btn-focus {
background-color: #ebeef0; background-color: #ebeef0;
border: 2px solid #a9364d !important;
@include box-shadow(none); @include box-shadow(none);
.#{$prefix}btn-inner { .#{$prefix}btn-inner {
......
...@@ -175,9 +175,9 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', { ...@@ -175,9 +175,9 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', {
} }
var updates = {}; var updates = {};
updates['/data/' + newMarker.access] = newMarker; updates['/data/' + newMarker.access] = newMarker;
dbref.ref().update(updates); dbref.ref().update(updates);
win.hide(); win.hide();
...@@ -241,6 +241,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', { ...@@ -241,6 +241,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', {
var loginWindow = Ext.create('Ext.panel.Panel', { var loginWindow = Ext.create('Ext.panel.Panel', {
floating: true, floating: true,
centered: true, centered: true,
cls: 'evoksi-view-login',
title: 'Login', title: 'Login',
modal: true, modal: true,
width: 300, width: 300,
...@@ -272,7 +273,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', { ...@@ -272,7 +273,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', {
scope: this, scope: this,
success: function (data) { success: function (data) {
var info = Ext.decode(data.responseText); var info = Ext.decode(data.responseText);
if (info != null) { if (info != null) {
Ext.Object.each(info, function (obj, index) { Ext.Object.each(info, function (obj, index) {
markers.push(map.addMarker(index)); markers.push(map.addMarker(index));
...@@ -282,7 +283,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', { ...@@ -282,7 +283,7 @@ Ext.define('Evoksi.view.evoksi.EvoksiController', {
}); });
loginWindow.hide(); loginWindow.hide();
} else { } else {
} }
} }
} }
......
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