Skip to content

Commit 93b4b43

Browse files
working on #157
1 parent 797c83f commit 93b4b43

File tree

2 files changed

+4
-98
lines changed

2 files changed

+4
-98
lines changed

src/main/resources/templates/media/all.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
<div class="row">
2222
<div class="col-md-12">
2323
<table class="table table-striped">
24-
<thead th:include="dataview :: tw-data-view-thead">
24+
<thead th:include="layoutDataview :: tw-data-view-thead">
2525
</thead>
2626
<tbody>
2727
<tr th:each="myPageItem : ${myPageContent}">
2828
<td>
29-
<span th:include="dataview :: tw-data-view-id" th:with="myPageItem=${myPageItem}"></span>
29+
<span th:include="layoutDataview :: tw-data-view-id" th:with="myPageItem=${myPageItem}"></span>
3030
</td>
3131
<td>
3232
<div class="row">
@@ -65,11 +65,11 @@
6565
</div>
6666
</td>
6767
<td>
68-
<span th:include="dataview :: tw-data-view-common-fields" th:with="myPageItem=${myPageItem}"></span>
68+
<span th:include="layoutDataview :: tw-data-view-common-fields" th:with="myPageItem=${myPageItem}"></span>
6969
</td>
7070
</tr>
7171
</tbody>
72-
<tfoot th:include="dataview :: tw-data-view-tfoot">
72+
<tfoot th:include="layoutDataview :: tw-data-view-tfoot">
7373
</tfoot>
7474
</table>
7575
</div>

src/main/resources/templates/tweet/id.html

Lines changed: 0 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -9,100 +9,6 @@
99
<main class="page-content">
1010
<div class="container">
1111
<div th:include="layoutTweet :: tw-one-tweet" ></div>
12-
13-
<!--
14-
<div th:fragment="tw-show-latest-tweets">
15-
<div class="row">
16-
<div class="col-md-12 tw-col-3-wrapper">
17-
<div class="thumbnail tw-col-3-box-center tw-tweet">
18-
<div>
19-
<p>
20-
<img th:attr="src=${tweet.user.profileBannerUrl},class=${tweet.user.cssBackgroundImage}" />
21-
</p>
22-
<p>
23-
<a th:href="@{|/user/${tweet.user.screenName}|}">
24-
<img th:attr="src=${tweet.user.profileImageUrl},alt=${tweet.user.description},title=${tweet.user.description},class=${tweet.user.cssProfileBannerUrl}" />
25-
</a>
26-
</p>
27-
</div>
28-
<div class="caption">
29-
<h2>
30-
<a th:href="@{|/user/${tweet.user.screenName}|}">
31-
<span th:text="${tweet.user.name}">Username</span>
32-
</a>
33-
</h2>
34-
<h3>
35-
<a th:href="@{|/user/${tweet.user.screenName}|}">
36-
<span>@<span th:text="${tweet.user.screenName}">screenName</span></span>
37-
</a>
38-
</h3>
39-
<p><hr /></p>
40-
<p th:if="${tweet.retweetedStatus} == null">
41-
<span th:utext="${tweet.formattedText}">Text</span>
42-
</p>
43-
<p th:if="${tweet.retweetedStatus} == null"><hr/></p>
44-
<p th:if="${tweet.retweetedStatus} == null">
45-
<i class="fa fa-retweet" aria-hidden="true"></i>
46-
<span th:text="${tweet.retweetCount}">12</span>&nbsp;
47-
<i class="fa fa-heart-o" aria-hidden="true"></i>
48-
<span th:text="${tweet.favoriteCount}">23</span>
49-
</p>
50-
<p th:if="${tweet.retweetedStatus} == null">
51-
<span th:if="${page.historyBack}">
52-
<a href="javascript:history.back()">
53-
<i class="fa fa-arrow-circle-left" aria-hidden="true"></i>
54-
<span>zurück</span>
55-
</a>
56-
</span>
57-
</p>
58-
</div>
59-
<div th:if="${tweet.retweetedStatus} != null">
60-
<p>RT</p>
61-
<div class="thumbnail tw-tweet">
62-
<div>
63-
<p>
64-
<img th:attr="src=${tweet.retweetedStatus.user.profileBannerUrl},class=${tweet.user.cssBackgroundImage}" />
65-
</p>
66-
<p>
67-
<a th:href="@{|/user/${tweet.retweetedStatus.user.screenName}|}">
68-
<img th:attr="src=${tweet.retweetedStatus.user.bigProfileImageUrl},alt=${tweet.retweetedStatus.user.description},title=${tweet.retweetedStatus.user.description},class=${tweet.user.cssProfileBannerUrl}"/>
69-
</a>
70-
</p>
71-
</div>
72-
<div class="caption">
73-
<h2>
74-
<a th:href="@{|/user/${tweet.retweetedStatus.user.screenName}|}">
75-
<span th:text="${tweet.retweetedStatus.user.name}">Username</span>
76-
</a>
77-
</h2>
78-
<h3>
79-
<a th:href="@{|/user/${tweet.retweetedStatus.user.screenName}|}">
80-
<b>@<span th:text="${tweet.retweetedStatus.user.screenName}">fromUser</span></b>
81-
</a>
82-
</h3>
83-
<p><hr/></p>
84-
<p th:utext="${tweet.retweetedStatus.formattedText}">Text</p>
85-
<p><hr/></p>
86-
<p>
87-
<i class="fa fa-retweet" aria-hidden="true"></i>
88-
<span th:text="${tweet.retweetedStatus.retweetCount}">12</span>
89-
<i class="fa fa-heart-o" aria-hidden="true"></i>
90-
<span th:text="${tweet.retweetedStatus.favoriteCount}">23</span>
91-
</p>
92-
</div>
93-
<div th:if="${page.historyBack}">
94-
<a href="javascript:history.back()">
95-
<i class="fa fa-arrow-circle-left" aria-hidden="true"></i>
96-
<span>zurück</span>
97-
</a>
98-
</div>
99-
</div>
100-
</div>
101-
</div>
102-
</div>
103-
</div>
104-
</div>
105-
-->
10612
</div>
10713
</main>
10814

0 commit comments

Comments
 (0)