first fixes

This commit is contained in:
pb 2024-07-01 11:02:39 +02:00
parent c7cf3b40fb
commit 4b880df5d8
4 changed files with 6 additions and 112 deletions

BIN
oc-search

Binary file not shown.

View File

@ -1,107 +0,0 @@
package routers
import (
beego "github.com/beego/beego/v2/server/web"
"github.com/beego/beego/v2/server/web/context/param"
)
func init() {
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "SubmitToWorkspace",
Router: "/computing/:id",
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "GetElementInfo",
Router: "/computing/:id",
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "SubmitToWorkspace",
Router: "/data/:id",
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "GetElementInfo",
Router: "/data/:id",
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "SubmitToWorkspace",
Router: "/datacenter/:id",
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "GetElementInfo",
Router: "/datacenter/:id",
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "SubmitToWorkspace",
Router: "/storage/:id",
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:DetailsController"] = append(beego.GlobalControllerRouter["oc-search/controllers:DetailsController"],
beego.ControllerComments{
Method: "GetElementInfo",
Router: "/storage/:id",
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(
param.New("id", param.InPath),
),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["oc-search/controllers:WorkspaceController"] = append(beego.GlobalControllerRouter["oc-search/controllers:WorkspaceController"],
beego.ControllerComments{
Method: "GetWorkspace",
Router: "/",
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
}

View File

@ -1694,6 +1694,7 @@ var EditDataDialog = function(ui, cell)
var coreLabel = document.createTextNode(mxResources.get('core')); var coreLabel = document.createTextNode(mxResources.get('core'));
var coreInput = document.createElement('input'); var coreInput = document.createElement('input');
coreInput.value = "Test value"
coreInput.setAttribute('type', 'text'); coreInput.setAttribute('type', 'text');
coreInput.style.boxSizing = 'border-box'; coreInput.style.boxSizing = 'border-box';
coreInput.style.marginLeft = '2px'; coreInput.style.marginLeft = '2px';

View File

@ -3403,12 +3403,12 @@ EditorUi.prototype.createSidebarFooterContainer = function()
EditorUi.prototype.createUi = function() EditorUi.prototype.createUi = function()
{ {
// Creates menubar // Creates menubar
this.menubar = (this.editor.chromeless) ? null : this.menus.createMenubar(this.createDiv('geMenubar')); // this.menubar = (this.editor.chromeless) ? null : this.menus.createMenubar(this.createDiv('geMenubar'));
if (this.menubar != null) // if (this.menubar != null)
{ // {
this.menubarContainer.appendChild(this.menubar.container); // this.menubarContainer.appendChild(this.menubar.container);
} // }
// Adds status bar in menubar // Adds status bar in menubar
if (this.menubar != null) if (this.menubar != null)