From d9379351e992704c7b93ed0b74d2e1c60e166538 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Sep 2016 01:51:30 +0300 Subject: juick-www: signup/rss -> pebble --- juick-www/src/main/resources/layouts/rss.xml | 38 ++++++++++++++++++++++++ juick-www/src/main/resources/views/signup.html | 41 ++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 juick-www/src/main/resources/layouts/rss.xml create mode 100644 juick-www/src/main/resources/views/signup.html (limited to 'juick-www/src/main/resources') diff --git a/juick-www/src/main/resources/layouts/rss.xml b/juick-www/src/main/resources/layouts/rss.xml new file mode 100644 index 00000000..61dd3be8 --- /dev/null +++ b/juick-www/src/main/resources/layouts/rss.xml @@ -0,0 +1,38 @@ + + + + + {{ user.getUName() }} - Juick + http://juick.com/{{ user.getUName() }}/ + The latest messages by @{{ user.getUName() }} at Juick + + http://i.juick.com/a/{{ user.getUID() }}.png + {{ user.getUName() }} - Juick + http://juick.com/{{ user.getUName() }}/ + + {% for msg in msgs %} + + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + <![CDATA[@{{ msg.getUser().getUName() }}: {% for tag in msg.Tags %} *{{ tag }}{% endfor %}]]> + + {{ sdfRSS.format(msg.getDate()) }} + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + {% for tag in msg.Tags %} + {{ tag }} + {% endfor %} + {% if msg.AttachmentType is not empty %} + {% if msg.AttachmentType == "jpg" %} + + + {% elseif msg.AttachmentType == "png" %} + + + {% endif %} + {% endif %} + + + {% endfor %} + + \ No newline at end of file diff --git a/juick-www/src/main/resources/views/signup.html b/juick-www/src/main/resources/views/signup.html new file mode 100644 index 00000000..724ad961 --- /dev/null +++ b/juick-www/src/main/resources/views/signup.html @@ -0,0 +1,41 @@ +{% extends "layouts/content.html" %} +{% block content %} +

+ {% if type | slice(0, 1) == 'f' %} + Facebook + {% elseif type | slice(0, 1) == 'v' %} + VKontakte + {% elseif type | slice(0, 1) == 'x' %} + XMPP + {% elseif type | slice(0, 1) == 'd' %} + Telegram + {% endif %} + {{ account | raw }}

+ +

Связать с существующим аккаунтом Juick

+
+ + + + {% if visitor.getUID() > 0 %} + + {% else %} +

Имя пользователя:

+

Пароль:

+

+ {% endif %} +
+ +
+ +

Создать новый аккаунт Juick

+
+ + + +

Имя пользователя:
(От 2-х до 16-и латинских символов + и/или цифр, дефис)

+

Пароль:
(от 6-и до 32-х символов)

+

+
+{% endblock %} \ No newline at end of file -- cgit v1.2.3