') );
+ tbody.append(rows[i + 1]);
+
+ // add label
+ rows[i + 1].append( $('| ').text( data.effect ));
+ }
+
+
+ rows[i + 1].append( $(' | ', {
+ class: 'text-right'
+ }).text( data.value ));
+ });
+
+
+ });
+
+ dialogWrapperElement.append( table.append( thead ).append( tbody ) );
+
+ });
+
+ bootbox.dialog({
+ title: 'System effect information',
+ message: dialogWrapperElement
+ });
+
+ });
+ }
+
+
+});
\ No newline at end of file
diff --git a/js/app/util.js b/js/app/util.js
index d29494a1..950e82d2 100644
--- a/js/app/util.js
+++ b/js/app/util.js
@@ -56,7 +56,7 @@ define(['jquery', 'app/init'], function($, Init) {
/**
* get all form Values as object
- * this incluces all xEditable fields
+ * this includes all xEditable fields
* @returns {{}}
*/
$.fn.getFormValues = function(){
@@ -103,6 +103,55 @@ define(['jquery', 'app/init'], function($, Init) {
return effectInfo;
};
+ /**
+ * get system effect data by system security and system class
+ * @param secureity
+ * @param effect
+ * @returns {boolean}
+ */
+ var getSystemEffectData = function(securety, effect){
+
+ var areaId = getAreaIdBySecurity(securety);
+
+ var data = false;
+
+ if(
+ Init.systemEffects &&
+ Init.systemEffects.wh[effect] &&
+ Init.systemEffects.wh[effect][areaId]
+ ){
+ data = Init.systemEffects.wh[effect][areaId];
+ }
+
+ return data;
+ };
+
+ var getSystemEffectTable = function(data){
+
+ var table = '';
+
+ if(data.length > 0){
+
+ table += '';
+
+ for(var i = 0; i < data.length; i++){
+ table += '';
+ table += '| ';
+ table += data[i].effect;
+ table += ' | ';
+ table += '';
+ table += data[i].value;
+ table += ' | ';
+ table += ' ';
+ }
+
+ table += ' ';
+ }
+
+
+ return table;
+ };
+
/**
* get a css class for the security level of a system
* @param sec
@@ -264,6 +313,8 @@ define(['jquery', 'app/init'], function($, Init) {
showNotify: showNotify,
getEffectInfoForSystem: getEffectInfoForSystem,
+ getSystemEffectData: getSystemEffectData,
+ getSystemEffectTable: getSystemEffectTable,
getSecurityClassForSystem: getSecurityClassForSystem,
getTrueSecClassForSystem: getTrueSecClassForSystem,
getStatusInfoForSystem: getStatusInfoForSystem,
diff --git a/sass/_variables.scss b/sass/_variables.scss
index 67636946..376e1521 100644
--- a/sass/_variables.scss
+++ b/sass/_variables.scss
@@ -130,7 +130,7 @@ $table-bg-accent: #f9f9f9;
$table-bg-hover: #ecf3f8;
$table-bg-active: $table-bg-hover;
-$table-border-color: #ddd;
+$table-border-color: $gray-dark;
//== Buttons
@@ -574,12 +574,12 @@ $progress-bar-info-bg: $brand-info;
//
//##
-$list-group-bg: #fff;
-$list-group-border: #ddd;
+$list-group-bg: $gray-lighter;
+$list-group-border: $gray-light;
$list-group-border-radius: $border-radius-base;
-$list-group-hover-bg: #f5f5f5;
-$list-group-active-color: $component-active-color;
+$list-group-hover-bg: $gray-light;
+$list-group-active-color: $gray-lightest;
$list-group-active-bg: $component-active-bg;
$list-group-active-border: $list-group-active-bg;
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
@@ -649,7 +649,7 @@ $well-border: darken($well-bg, 7%);
//
//##
-$badge-color: #fff;
+$badge-color: $gray-lightest;
$badge-link-hover-color: #fff;
$badge-bg: $gray-light;
diff --git a/sass/bootstrap/_list-group.scss b/sass/bootstrap/_list-group.scss
index b6089912..8c5ea4cf 100644
--- a/sass/bootstrap/_list-group.scss
+++ b/sass/bootstrap/_list-group.scss
@@ -21,11 +21,9 @@
.list-group-item {
position: relative;
display: block;
- padding: 10px 15px;
- // Place the border on the list items and negative margin up for better styling
- margin-bottom: -1px;
+ padding: 7px 15px;
background-color: $list-group-bg;
- border: 1px solid $list-group-border;
+ border-bottom: 1px solid $list-group-border;
// Round the first and last items
&:first-child {
@@ -63,6 +61,7 @@ a.list-group-item {
&:focus {
text-decoration: none;
background-color: $list-group-hover-bg;
+ color: $gray-darkest;
}
// Active class on item itself, not parent
diff --git a/sass/bootstrap/_navbar.scss b/sass/bootstrap/_navbar.scss
index fdb00e4a..f3b74c64 100644
--- a/sass/bootstrap/_navbar.scss
+++ b/sass/bootstrap/_navbar.scss
@@ -365,7 +365,7 @@
.navbar-text {
@include navbar-vertical-align($line-height-computed);
- @media (min-width: $grid-float-breakpoint) {
+ //@media (min-width: $grid-float-breakpoint) {
float: left;
margin-left: $navbar-padding-horizontal;
margin-right: $navbar-padding-horizontal;
@@ -374,7 +374,7 @@
&.navbar-right:last-child {
margin-right: 0;
}
- }
+ //}
}
// Alternate navbars
diff --git a/sass/bootstrap/_tables.scss b/sass/bootstrap/_tables.scss
index fe92cafc..964a9e70 100644
--- a/sass/bootstrap/_tables.scss
+++ b/sass/bootstrap/_tables.scss
@@ -17,6 +17,7 @@ th {
.table {
width: 100%;
margin-bottom: 0;
+ border-spacing: 0;
// Cells
> thead,
> tbody,
@@ -34,7 +35,7 @@ th {
// Bottom align for column headings
> thead > tr > th {
vertical-align: bottom;
- border-bottom: 2px solid $table-border-color;
+ border-bottom: 0px solid $table-border-color;
}
// Remove top border from thead by default
> caption + thead,
diff --git a/sass/layout/_main.scss b/sass/layout/_main.scss
index d3412c93..c9c49e84 100644
--- a/sass/layout/_main.scss
+++ b/sass/layout/_main.scss
@@ -44,12 +44,21 @@ a{
opacity: 0.5;
}
-// page structure ================================================
-.pf-site{
-
+// page menu ================================================
+.sb-left{
+ .list-group-item{
+ @include box-shadow(inset -10px 0px 5px -5px rgba(0,0,0,0.4));
+ }
}
-// Maps module ===================================================
+.sb-right{
+ .list-group-item{
+ @include box-shadow(inset 10px 0px 5px -5px rgba(0,0,0,0.4));
+ }
+}
+
+
+// maps module ===================================================
#pf-map-module{
// Tabs (colored)
@@ -176,7 +185,7 @@ a{
color: $system-color-sec-1-0;
}
-// System security level =============================================
+// system security level =============================================
.pf-system-sec{
margin-right: 5px;
@@ -234,7 +243,19 @@ a{
color: $teal;
}
-// Tooltip ======================================================
+// system effect info dialog
+.pf-system-effect-dialog-wrapper{
+ .table{
+ margin: 15px 0;
+ font-size: 10px;
+
+ td{
+ text-transform: capitalize;
+ }
+ }
+}
+
+// tooltip ======================================================
.tooltip-inner{
opacity: 1;
color: $teal;
diff --git a/sass/layout/_map.scss b/sass/layout/_map.scss
index 90f94e08..d268f7f3 100644
--- a/sass/layout/_map.scss
+++ b/sass/layout/_map.scss
@@ -36,7 +36,7 @@
overflow: auto;
padding: 5px;
margin: 0 10px;
- background: rgba($gray-darker, 0.95);
+ background: rgba($gray-darker, 0.93);
box-shadow:inset -1px 1px 6px 0 rgba($black, 0.8);
@include border-bottom-radius(5px);
@@ -47,9 +47,14 @@
}
}
-.pf-map{
+// 20x20px grid background
+.pf-grid-small{
+ background-image: url("#{$base-url}/grid_20x20.png") !important;
+}
- width: 1200px;
+
+.pf-map{
+ width: 2000px;
height: 500px;
position: relative;
@@ -217,17 +222,6 @@
}
}
- svg.pf-map-connection-frig {
-
- path:not(first-child){
- stroke: $gray;
- }
-
- path:first-child{
- stroke: $gray-lighter;
- }
- }
-
// Connection status ============================================
svg.pf-map-connection-eol {
@@ -237,6 +231,24 @@
}
}
+ // Connection overlay ===========================================
+ .pf-map-connection-overlay{
+ padding: 1px 4px;
+ font-size: 10.4px;
+ @include border-radius(3px);
+ }
+
+ .frig{
+ background-color: $orange-light;
+ color: $gray-darkest;
+ }
+
+ .mass{
+ background-color: $red-darker;
+ color: #eaeaea;
+ }
+
+
}
// dialoges =======================================================
diff --git a/sass/layout/_system-info.scss b/sass/layout/_system-info.scss
index 57b2b49f..2d0b1659 100644
--- a/sass/layout/_system-info.scss
+++ b/sass/layout/_system-info.scss
@@ -1,101 +1,122 @@
-// breadcrumb ============================================================
-.breadcrumb{
- li{
- text-transform: capitalize;
- }
-}
+.pf-system-info-module{
-// system info table =====================================================
-.pf-system-info-table{
- padding-right: 7px;
-}
-
-// system info killboard graph ===========================================
-.pf-system-info-graphs > div{
- width: 100%;
- height: 150px;
- padding: 10px 0;
- position: relative;
-}
-
-// routes table ==========================================================
-.pf-system-route-table{
- font-size: 10px;
-}
-
-// signature table =======================================================
-
-.pf-sig-table{
- font-size: 10px;
-
- .pf-sig-table-edit-name-input{
- text-transform: uppercase;
- }
-
- // signature timer/date counter head
- th.pf-sig-table-counter{
- padding-right: 20px !important;
- }
-
- // signature timer/date counter
- .pf-sig-table-counter{
- text-align: right;
-
- .pf-digit-counter-small{
- width: 20px;
- display: inline-block;
- font-size: 10px;
- }
-
- .pf-digit-counter-large{
- width: 26px;
- display: inline-block;
- font-size: 10px;
+ // breadcrumb ============================================================
+ .breadcrumb{
+ li{
+ text-transform: capitalize;
}
}
- // row Tooltip
- .popover-content{
- table{
- border-spacing: 0;
- tr{
- background-color: $gray;
+ // system info table =====================================================
+ .pf-system-info-table{
+ padding-right: 7px;
+ }
- &:not(:last-child){
+ // system effects popover ================================================
+ .popover table{
+ color: $gray-lighter;
+ font-size: 10px;
+
+ td{
+ padding: 0 5px;
+ }
+ }
+
+ // system info killboard graph ===========================================
+ .pf-system-info-graph-kills{
+ width: 100%;
+ height: 150px;
+ padding: 10px 0;
+ position: relative;
+ }
+
+ // routes table ==========================================================
+ .pf-system-route-table{
+ font-size: 10px;
+ }
+
+}
+
+
+.pf-sig-table-module{
+
+ // signature table =======================================================
+
+ .pf-sig-table{
+ font-size: 10px;
+
+ .pf-sig-table-edit-name-input{
+ text-transform: uppercase;
+ }
+
+ // signature timer/date counter head
+ th.pf-sig-table-counter{
+ padding-right: 20px !important;
+ }
+
+ // signature timer/date counter
+ .pf-sig-table-counter{
+ text-align: right;
+
+ .pf-digit-counter-small{
+ width: 20px;
+ display: inline-block;
+ font-size: 10px;
+ }
+
+ .pf-digit-counter-large{
+ width: 26px;
+ display: inline-block;
+ font-size: 10px;
+ }
+ }
+
+ // row Tooltip
+ .popover-content{
+ table{
+ border-spacing: 0;
+ tr{
+ background-color: $gray;
+
+ &:not(:last-child){
+
+ td{
+ border-bottom: 1px solid $gray-dark;
+ }
+ }
td{
- border-bottom: 1px solid $gray-dark;
- }
- }
+ padding: 2px 5px;
- td{
- padding: 2px 5px;
+ &:first-child{
+ color: $gray-light;
+ }
- &:first-child{
- color: $gray-light;
- }
-
- &:last-child{
- color: $gray-lighter;
+ &:last-child{
+ color: $gray-lighter;
+ }
}
}
}
}
}
-}
-// table icon toolbar
-.pf-sig-table-tools{
- height: 45px;
+ // table icon toolbar
+ .pf-sig-table-tools{
+ height: 45px;
- .btn:not(:last-child){
- margin-right: 10px;
+ .btn:not(:last-child){
+ margin-right: 10px;
+ }
+ }
+
+ .pf-sig-table-tools-action{
+ height: 75px;
+ display: none; // triggered by js
}
-}
-.pf-sig-table-tools-action{
- height: 75px;
- display: none; // triggered by js
}
+
+
diff --git a/sass/smartadmin/_main.scss b/sass/smartadmin/_main.scss
index e6eb6fba..42f5b269 100644
--- a/sass/smartadmin/_main.scss
+++ b/sass/smartadmin/_main.scss
@@ -1224,6 +1224,62 @@ input[type="text"]:focus + .input-group-addon {
border-right-width:0px;
}
+/*
+ * DROPDOWN MENU
+ */
+.dropdown-menu-xs {
+ min-width:37px;
+}
+
+.dropdown-menu-xs>li>a {
+ padding: 3px 10px;
+}.dropdown-menu-xs>li>a:hover i {
+ color:#fff !important;
+ }
+
+/* Dropdown menu extended */
+.dropdown-submenu {
+ position: relative;
+}
+
+.dropdown-submenu>.dropdown-menu {
+ top: 0;
+ left: 100%;
+ margin-top: -6px;
+ margin-left: -1px;
+}
+
+.dropdown-submenu:hover>.dropdown-menu {
+ display: block;
+}
+
+.dropdown-submenu>a:after {
+ display: block;
+ content: " ";
+ float: right;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+ border-width: 5px 0 5px 5px;
+ border-left-color: $gray-darker;
+ margin-top: 5px;
+ margin-right: -10px;
+}
+
+.dropdown-submenu:hover>a:after {
+ border-left-color: $gray-lighter;
+}
+
+.dropdown-submenu.pull-left {
+ float: none;
+}
+
+.dropdown-submenu.pull-left>.dropdown-menu {
+ left: -100%;
+ margin-left: 10px;
+}
+
/*
* CUSTOM BUTTON
*/
diff --git a/templates/modules/header.html b/templates/modules/header.html
index 5251d258..ffca4350 100644
--- a/templates/modules/header.html
+++ b/templates/modules/header.html
@@ -3,21 +3,6 @@
+
\ No newline at end of file
diff --git a/templates/modules/system_info.html b/templates/modules/system_info.html
index ad2739c5..5dac234e 100644
--- a/templates/modules/system_info.html
+++ b/templates/modules/system_info.html
@@ -19,21 +19,23 @@
+
+
+ | Name |
+
+ {{#system.alias}}
+ {{system.alias}}
+ {{/system.alias}}
+ {{^system.alias}}
+ {{system.name}}
+ {{/system.alias}}
+ [ {{system.security}} ]
+ |
+
+
-
- | Name |
-
- {{#system.alias}}
- {{system.alias}}
- {{/system.alias}}
- {{^system.alias}}
- {{system.name}}
- {{/system.alias}}
- [ {{system.security}} ]
- |
-
{{#effectName}}
-
+
| Effect |
{{effectName}} |
|