Skip to content

Commit d5e5a4e

Browse files
authored
Add files via upload
1 parent 980fbf2 commit d5e5a4e

16 files changed

Lines changed: 21 additions & 22 deletions

Web API/$APPNAME$.b4j

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Version=9.8
3434
@EndOfDesignText@
3535
' Name: Web API Template Lite
3636
' Description: Non-UI application (console / server application)
37-
' Version: 1.14
37+
' Version: 1.15
3838

3939
'Click to create Publish.zip: ide://run?file=%JAVABIN%\jar.exe&WorkingDirectory=../Objects&Args=-cMf&Args=Publish.zip&Args=www&Args=*.jar&Args=*.ini&Args=*.db&Args=help.html&Args=help.js&Args=comments.txt
4040

@@ -57,7 +57,7 @@ Version=9.8
5757
#End Region
5858

5959
Sub Process_Globals
60-
Public const VERSION As String = "1.14"
60+
Public const VERSION As String = "1.15"
6161
Public srvr As Server
6262
Public DB As DataConnector
6363
Public ROOT_PATH As String
@@ -145,7 +145,7 @@ Sub AppStart (Args() As String)
145145
' Server starts
146146
srvr.Start
147147

148-
Log($"Web API server (version = ${VERSION}) is running on port ${srvr.Port}"$)
148+
Log($"${config.Get("APP_TITLE")} (version = ${VERSION}) is running on port ${srvr.Port}"$)
149149
Log($"Open the following URL from your web browser"$)
150150
Log(ROOT_URL & ROOT_PATH)
151151
' Open a web browser and navigate to: http://127.0.0.1:19800/v1/

Web API/CategoryHandler.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=9.1
66
@EndOfDesignText@
77
' Category Handler class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Private Request As ServletRequest
1111
Private Response As ServletResponse

Web API/DataConnector.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=9.1
66
@EndOfDesignText@
77
' DataConnector class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Public SQL As SQL
1111
Public Conn As Conn

Web API/DefaultHandler.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=9.1
66
@EndOfDesignText@
77
' Default Handler class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Private Literals() As String = Array As String("topic", "hello-world") 'ignore
1111
Private Elements() As String

Web API/Files/category.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ <h5>CATEGORY LIST</h5>
1515
</div>
1616
<div class="col-md-4 col-lg-4">
1717
<div class="text-right mt-2">
18+
<a href="$ROOT_URL$$ROOT_PATH$" class="btn btn-primary btn-sm mb-2"><i
19+
class="new fa fa-home"></i> Home</a>
1820
<a href="#new" class="btn btn-success btn-sm mb-2 ml-2" data-toggle="modal"><i
1921
class="new fa fa-plus"></i> New Category</a>
2022
</div>

Web API/Files/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ <h5 class="modal-title" id="deleteModalLabel">Delete Product</h5>
128128
<div class="modal-body">
129129
<div class="modal-body">
130130
<input type="hidden" id="id2" name="id" class="form-control">
131-
<input type="hidden" id="category2" name="cat_id" class="form-control">
132131
<p>Are you sure you want to delete this Product?</p>
133132
<p id="code_name"></p>
134133
</div>

Web API/FindHandler.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=9.1
66
@EndOfDesignText@
77
' Search Handler class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Private Request As ServletRequest
1111
Private Response As ServletResponse

Web API/HelpHandler.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=9.1
66
@EndOfDesignText@
77
' Help Handler class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Dim Response As ServletResponse
1111
Dim DocScripts As String

Web API/HomeHandler.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type=Class
55
Version=8.1
66
@EndOfDesignText@
77
' Home Handler class
8-
' Version 1.14
8+
' Version 1.15
99
Sub Class_Globals
1010
Private Request As ServletRequest
1111
Private Response As ServletResponse

Web API/Objects/comments.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Web API Template version 1.14
1+
Web API Template version 1.15

0 commit comments

Comments
 (0)