Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cubesql-webadmin.xojo_project
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ WebLaunchBrowser=True
WebLivePort=80
WebSecurePort=443
WebProtocol=1
WebHTMLHeader=<style>\n.listboxDbHeaderAlignment th:nth-child(1)\x2C\n.listboxDbHeaderAlignment th:nth-child(3)\x2C\n.listboxDbHeaderAlignment th:nth-child(5) {\n text-align: center;\n}\n\n.listboxGroupsHeaderAlignment th:nth-child(2) {\n text-align: center;\n}\n\n.listboxUsersHeaderAlignment th:nth-child(2) {\n text-align: center;\n}\n\n.listboxClientsHeaderAlignment th:nth-child(1) {\n text-align: center;\n}\n\n.listboxSchedulesHeaderAlignment th:nth-child(3) {\n text-align: center;\n}\n\n.form-check-input {\n cursor:pointer;\n}\n\n.btn-light {\n --bs-btn-bg: #E5E5E8;\n}\n\ndiv.dataTables_processing > div:last-child > div {\n background-color: #003264;\n}\n\n/* Workaround for Xojo 2024r4 */\n.XojoLink {\n align-items: center;\n}\n</style>
WebHTMLHeader=<style>\n.lstDatabases th:nth-child(1)\x2C\n.lstDatabases th:nth-child(3)\x2C\n.lstDatabases th:nth-child(5) {\n text-align: center;\n}\n\n.lstGroups th:nth-child(2) {\n text-align: center;\n}\n\n.lstUsers th:nth-child(2) {\n text-align: center;\n}\n\n.lstClients th:nth-child(1) {\n text-align: center;\n}\n\n.lstSchedules th:nth-child(3) {\n text-align: center;\n}\n\n.form-check-input {\n cursor:pointer;\n}\n\n.btn-light {\n --bs-btn-bg: #E5E5E8;\n}\n\ndiv.dataTables_processing > div:last-child > div {\n background-color: #003264;\n}\n\n/* Workaround for Xojo 2024r4 */\n.XojoLink {\n align-items: center;\n}\n</style>
WebHostingIdentifier=
WebHostingAppName=cubeSQLWebAdmin
WebHostingDomain=
Expand Down
7 changes: 7 additions & 0 deletions webapp/containers/base/cntDatasourceBase.xojo_code
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Implements WebDataSource
Finally
ebNeedsLoadDatasource = False

me.TableDatasourceLoaded()

End Try
End Sub
Expand Down Expand Up @@ -333,6 +334,12 @@ Implements WebDataSource
End Function
#tag EndMethod

#tag Method, Flags = &h1
Protected Sub TableDatasourceLoaded()

End Sub
#tag EndMethod

#tag Method, Flags = &h1
Protected Sub TableInitColumns()
Redim Me.Columns(-1)
Expand Down
75 changes: 59 additions & 16 deletions webapp/containers/data/cntDatabases.xojo_code
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Begin cntDatasourceBase cntDatabases
Compatibility = ""
ControlCount = 0
ControlID = ""
CSSClasses = ""
Enabled = True
Height = 500
Indicator = 0
Expand All @@ -15,20 +16,27 @@ Begin cntDatasourceBase cntDatabases
LockRight = False
LockTop = True
LockVertical = False
PanelIndex = 0
ScrollDirection = 0
TabIndex = 0
Top = 0
Visible = True
Width = 750
_mDesignHeight = 0
_mDesignWidth = 0
_mName = ""
_mPanelIndex = -1
Begin WebListBox lstInfos
ColumnCount = 1
ColumnWidths = ""
ControlID = ""
CSSClasses = "lstDatabases"
DefaultRowHeight= 49
Enabled = True
GridLineStyle = 3
HasBorder = True
HasHeader = True
HeaderHeight = 0
Height = 380
HighlightSortedColumn= True
Index = -2147483648
Expand All @@ -46,6 +54,7 @@ Begin cntDatasourceBase cntDatabases
LockTop = True
LockVertical = False
NoRowsMessage = "No Databases"
PanelIndex = 0
ProcessingMessage= ""
RowCount = 0
RowSelectionType= 1
Expand All @@ -66,6 +75,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Drop"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -79,6 +89,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 4
TabStop = True
Expand All @@ -93,6 +105,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Stop"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -106,7 +119,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 3
TabStop = True
Expand All @@ -121,6 +135,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Create"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = True
Height = 38
Expand All @@ -134,7 +149,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = False
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 1
TabStop = True
Expand All @@ -149,6 +165,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Start"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -162,7 +179,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 2
TabStop = True
Expand All @@ -177,6 +195,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Rename"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -190,7 +209,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 9
TabStop = True
Expand All @@ -202,6 +222,7 @@ Begin cntDatasourceBase cntDatabases
End
Begin WebMessageDialog dlgDrop
ControlID = ""
CSSClasses = ""
Enabled = True
Explanation = ""
Index = -2147483648
Expand All @@ -214,6 +235,7 @@ Begin cntDatasourceBase cntDatabases
LockTop = True
LockVertical = False
Message = ""
PanelIndex = 0
Scope = 2
Title = ""
Tooltip = ""
Expand All @@ -224,6 +246,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Download"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -237,7 +260,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = False
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 6
TabStop = True
Expand All @@ -249,17 +273,20 @@ Begin cntDatasourceBase cntDatabases
End
Begin WebThread thrUpload
DebugIdentifier = ""
Enabled = True
Index = -2147483648
LockedInPosition= True
Priority = 5
Scope = 2
StackSize = 0
ThreadID = 0
ThreadState = ""
Type = ""
End
Begin WebProgressWheel pgrWheel
Colorize = False
ControlID = ""
CSSClasses = ""
Enabled = True
Height = 32
Index = -2147483648
Expand All @@ -272,7 +299,7 @@ Begin cntDatasourceBase cntDatabases
LockRight = False
LockTop = False
LockVertical = False
PanelIndex = "0"
PanelIndex = 0
Parent = "rctFilter"
Scope = 2
SVGColor = &c00000000
Expand All @@ -292,6 +319,7 @@ Begin cntDatasourceBase cntDatabases
Index = -2147483648
Location = 0
LockedInPosition= True
PanelIndex = 0
Period = 500
RunMode = 0
Scope = 2
Expand All @@ -303,6 +331,7 @@ Begin cntDatasourceBase cntDatabases
Index = -2147483648
Location = 0
LockedInPosition= True
PanelIndex = 0
Period = 500
RunMode = 0
Scope = 2
Expand All @@ -313,6 +342,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Upload"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = True
Height = 38
Expand All @@ -326,7 +356,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = False
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 5
TabStop = True
Expand All @@ -342,26 +373,30 @@ Begin cntDatasourceBase cntDatabases
Index = -2147483648
Location = 0
LockedInPosition= True
PanelIndex = 0
Period = 500
RunMode = 0
Scope = 2
_mPanelIndex = -1
End
Begin WebThread thrDownload
DebugIdentifier = ""
Enabled = True
Index = -2147483648
LockedInPosition= True
Priority = 5
Scope = 2
StackSize = 0
ThreadID = 0
ThreadState = ""
Type = ""
End
Begin WebButton btnEncryption
AllowAutoDisable= False
Cancel = False
Caption = "Encryption"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -375,7 +410,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 8
TabStop = True
Expand All @@ -387,6 +423,7 @@ Begin cntDatasourceBase cntDatabases
End
Begin WebMessageDialog dlgDecrypt
ControlID = ""
CSSClasses = ""
Enabled = True
Explanation = ""
Index = -2147483648
Expand All @@ -399,7 +436,7 @@ Begin cntDatasourceBase cntDatabases
LockTop = True
LockVertical = False
Message = ""
PanelIndex = "0"
PanelIndex = 0
Scope = 2
Title = ""
Tooltip = ""
Expand All @@ -410,6 +447,7 @@ Begin cntDatasourceBase cntDatabases
Cancel = False
Caption = "Schedules"
ControlID = ""
CSSClasses = ""
Default = False
Enabled = False
Height = 38
Expand All @@ -423,7 +461,8 @@ Begin cntDatasourceBase cntDatabases
LockRight = True
LockTop = False
LockVertical = False
PanelIndex = "0"
Outlined = False
PanelIndex = 0
Scope = 2
TabIndex = 7
TabStop = True
Expand All @@ -435,6 +474,7 @@ Begin cntDatasourceBase cntDatabases
End
Begin WebMessageDialog dlgMessage
ControlID = ""
CSSClasses = ""
Enabled = True
Explanation = ""
Index = -2147483648
Expand All @@ -447,6 +487,7 @@ Begin cntDatasourceBase cntDatabases
LockTop = True
LockVertical = False
Message = ""
PanelIndex = 0
Scope = 2
Title = ""
Tooltip = ""
Expand Down Expand Up @@ -1186,12 +1227,6 @@ End
#tag EndWindowCode

#tag Events lstInfos
#tag Event
Sub Opening()
Me.ExecuteJavaScript("$('#" + Me.ControlID + "').addClass('listboxDbHeaderAlignment')")

End Sub
#tag EndEvent
#tag Event
Sub SelectionChanged(rows() As Integer)
#Pragma unused rows
Expand Down Expand Up @@ -1512,6 +1547,14 @@ End
#tag EndEvent
#tag EndEvents
#tag ViewBehavior
#tag ViewProperty
Name="PanelIndex"
Visible=false
Group="Behavior"
InitialValue=""
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Area"
Visible=false
Expand Down
Loading