From c7c6524ccea8a3facd605c66285a7079391a9f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sat, 15 Jun 2013 07:51:01 +0200 Subject: [PATCH] Add a template almost similar to the current UI. re #73 TODO : * Sort box is not here anymore * Has to be tested with and without Fancybox * Paging with left and right arrow is not working anymore * Probably many other things --- templates/default/frontpage.html | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 templates/default/frontpage.html diff --git a/templates/default/frontpage.html b/templates/default/frontpage.html new file mode 100644 index 0000000..089ab57 --- /dev/null +++ b/templates/default/frontpage.html @@ -0,0 +1,78 @@ +
+ + {{=it.i18n.homeAlt}} + + Settings and menu +
+

{{=it.title}}

+
+
+
+
+
+ +
+
+ + + {{? it.databaseId != ""}} + + {{?}} + +
+
+
+
+
+
+{{~it.entries:entry:i}} + {{? it.containsBook == 0}} + + {{??}} +
+ + {{? entry.book.hasCover == 1}} + {{=it.i18n.coverAlt}} + {{?}} + +

+ {{~entry.book.preferedData:data:j}} + {{=data.name}}
+ {{~}} +

+ +
+

{{=htmlEscape (entry.title)}} + {{? entry.book.pubDate != ""}}({{=entry.book.pubDate}}){{?}} + {{? entry.book.rating != ""}}{{=entry.book.rating}}{{?}} +

+

{{=it.i18n.authorsTitle}} :

{{=htmlEscape (entry.book.authorsName)}}
+ {{? entry.book.tagsName != ""}}

{{=it.i18n.tagsTitle}} :

{{=htmlEscape (entry.book.tagsName)}}
{{?}} + {{? entry.book.seriesName != ""}}

{{=it.i18n.seriesTitle}} :

{{=htmlEscape (entry.book.SeriesName)}}
{{?}} +
+
+ {{?}} +{{~}} +
+ \ No newline at end of file