Showing 5,781 of 10,536 total issues
Function deleteProtocol
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteProtocol = function(protocol) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function importMicrogrid
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importMicrogrid = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function deleteDistributionCircuit
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteDistributionCircuit = function(distributioncircuit) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteEnergyStorageContainerBattery
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteEnergyStorageContainerBattery = function(energystoragecontainerbattery) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function importTariff
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importTariff = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function deleteMicrogridPhotovoltaic
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridPhotovoltaic = function(microgridphotovoltaic) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteEnergyFlowDiagramLink
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteEnergyFlowDiagramLink = function(energyflowdiagramlink) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteMicrogridGrid
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridGrid = function(microgridgrid) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteMicrogridPowerconversionsystem
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridPowerconversionsystem = function(microgridpowerconversionsystem) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteWorkingCalendar
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteWorkingCalendar = function(workingcalendar) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteEnergyFlowDiagramNode
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteEnergyFlowDiagramNode = function(energyflowdiagramnode) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function importWorkingCalendar
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importWorkingCalendar = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function dropZone
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dropZone() {
return {
restrict: 'C',
link: function(scope, element, attrs) {
Function deleteMicrogridEVCharger
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridEVCharger = function(microgridevcharger) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteCostCenter
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteCostCenter=function(costcenter){
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function importEnergyFlowDiagram
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importEnergyFlowDiagram = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function deleteMicrogridBattery
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridBattery = function(microgridbattery) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function login
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.login = function (user, captcha, captchaText, refreshCaptcha) {
if(captcha.toLowerCase() !== captchaText.toLowerCase()){
$scope.captcha = '';
refreshCaptcha();
toaster.pop({
Function deleteMicrogridHeatpump
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteMicrogridHeatpump = function(microgridheatpump) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function ReactBootstrapTable2
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ReactBootstrapTable2 = () => {
return (
<Fragment>
<PageHeader
title="React Bootstrap Table2"