Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
mywork
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sumet
mywork
Commits
5434a30c
Commit
5434a30c
authored
May 01, 2018
by
sumet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
91224be1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
58 deletions
+0
-58
Thai.java
play-java-ebean-example/app/models/Thai.java
+0
-21
thai.scala.html
play-java-ebean-example/app/views/thai.scala.html
+0
-37
t.jpg
play-java-ebean-example/public/images/t.jpg
+0
-0
th.jpg
play-java-ebean-example/public/images/th.jpg
+0
-0
thai.jpg
play-java-ebean-example/public/images/thai.jpg
+0
-0
thailand.jpg
play-java-ebean-example/public/images/thailand.jpg
+0
-0
Sumet.css
play-java-ebean-example/public/stylesheets/Sumet.css
+0
-0
No files found.
play-java-ebean-example/app/models/Thai.java
deleted
100644 → 0
View file @
91224be1
package
models
;
import
io.ebean.Finder
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
@Entity
public
class
Thai
extends
BaseModel
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
public
Long
id
;
public
String
Coun
;
public
String
Prov
;
public
static
final
Finder
<
Long
,
Thai
>
find
=
new
Finder
<>(
Thai
.
class
);
}
\ No newline at end of file
play-java-ebean-example/app/views/thai.scala.html
deleted
100644 → 0
View file @
91224be1
@(thai:List[models.Thai])
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Country Database
</title>
<link
rel=
"stylesheet"
href=
"/assets/stylesheets/Sumet.css"
>
</head>
<body
class=
"background-info"
>
<nav
class=
"navbar navbar-dark bg-dark"
>
<a
class=
"navbar-brand"
href=
"#"
>
Country Database
</a>
</nav>
<br>
<center><h1>
จำนวนจังหวัดทั้งหมด @thai.size จังหวัด
</h1></center>
<table
border=
"1"
width=
"600"
class=
"table table-borderless table-dark"
align=
"center"
>
<thead
class=
"thead color"
>
<tr
align=
"center"
>
<th>
ID
</th>
<th>
PROVINCE
</th>
<th>
COUNTRY
</th>
</tr>
</thead>
<tbody>
@for(t
<-
thai
){
<
tr
align=
"center"
>
<td>
@t.id
</td>
<td>
@t.Prov
</td>
<td>
@t.Coun
</td>
</tr>
}
</tbody>
</table>
</body>
</html>
play-java-ebean-example/public/images/t.jpg
deleted
100644 → 0
View file @
91224be1
288 KB
play-java-ebean-example/public/images/th.jpg
deleted
100644 → 0
View file @
91224be1
229 KB
play-java-ebean-example/public/images/thai.jpg
deleted
100644 → 0
View file @
91224be1
232 KB
play-java-ebean-example/public/images/thailand.jpg
deleted
100644 → 0
View file @
91224be1
46.2 KB
play-java-ebean-example/public/stylesheets/Sumet.css
deleted
100644 → 0
View file @
91224be1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment