-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'f8-frontpage' of https://github.com/erikhofer/GrowthLec…
…tures into f8-frontpage
- Loading branch information
Showing
6 changed files
with
127 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$(function() { | ||
alert("Hallo"); | ||
}); |
25 changes: 24 additions & 1 deletion
25
src/main/groovy/com/xinra/growthlectures/frontend/IndexController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/groovy/com/xinra/growthlectures/service/ContainerDtoImpl.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.xinra.growthlectures.service | ||
|
||
import groovy.transform.CompileStatic | ||
|
||
@CompileStatic | ||
class ContainerDtoImpl extends NamedDtoImpl { | ||
|
||
def Integer amount; | ||
|
||
|
||
} |
33 changes: 33 additions & 0 deletions
33
src/main/resources/templates/fragments/lecture-summary.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<div class="panel panel-default lecture" th:fragment="lecture-summary (lecture)"> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-sm-3"> | ||
<a href="#" class="thumbnail"> | ||
<img src="http://lorempixel.com/400/200" alt="TODO" /> | ||
</a> | ||
</div> | ||
<div class="col-sm-9"> | ||
<h3><a href="#"><span th:text="${lecture.category.name}" class="label label-default"></span></a> <a th:text="${lecture.name}" href="#"></a> <span class="glyphicon glyphicon-ok listened"></span></h3> | ||
<p th:text="${lecture.description}"></p> | ||
<div class="row"> | ||
<div class="col-sm-4"> | ||
<input id="input-id" name="input-name" type="number" class="rating" min="1" max="5" step="1" data-size="xs" data-show-caption="false" /> | ||
</div> | ||
<div class="col-sm-4"> | ||
Clicks | ||
</div> | ||
<div class="col-sm-4"> | ||
<span class="glyphicon glyphicon-time"></span> 13:37 | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters