aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/conv.tpl17
-rw-r--r--view/conv_frame.tpl11
-rw-r--r--view/mod_zentity.css33
-rw-r--r--view/zentity.tpl46
4 files changed, 107 insertions, 0 deletions
diff --git a/view/conv.tpl b/view/conv.tpl
new file mode 100644
index 000000000..b7222f154
--- /dev/null
+++ b/view/conv.tpl
@@ -0,0 +1,17 @@
+{{ for $threads as $thread }}
+<div id="thread-wrapper-$thread.id" class="thread-wrapper">
+ {{ for $thread.items as $item }}
+ {{if $item.comment_firstcollapsed}}
+ <div class="hide-comments-outer">
+ <span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
+ </div>
+ <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
+ {{endif}}
+ {{if $item.comment_lastcollapsed}}</div>{{endif}}
+
+ {{ inc $item.template }}{{ endinc }}
+
+
+ {{ endfor }}
+</div>
+{{ endfor }}
diff --git a/view/conv_frame.tpl b/view/conv_frame.tpl
new file mode 100644
index 000000000..ed3e87050
--- /dev/null
+++ b/view/conv_frame.tpl
@@ -0,0 +1,11 @@
+<div id="threads-begin"></div>
+<div id="threads-end"></div>
+<div id="conversation-end"></div>
+
+{{ if $dropping }}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
+ <div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
+ <div id="item-delete-selected-desc" >$dropping</div>
+</div>
+<div id="item-delete-selected-end"></div>
+{{ endif }}
diff --git a/view/mod_zentity.css b/view/mod_zentity.css
new file mode 100644
index 000000000..2edb9e9a9
--- /dev/null
+++ b/view/mod_zentity.css
@@ -0,0 +1,33 @@
+
+h2 {
+ margin-left: 15%;
+ margin-top: 15%;
+}
+
+#zregister-form {
+ font-size: 1.4em;
+ margin-left: 15%;
+ margin-top: 5%;
+}
+
+.zregister-label {
+ float: left;
+ width: 275px;
+}
+
+.zregister-input {
+ float: left;
+ width: 275px;
+ padding: 5px;
+}
+
+.zregister-feedback {
+ float: left;
+ margin-left: 5px;
+}
+
+.zregister-field-end {
+ clear: both;
+ margin-bottom: 20px;
+}
+
diff --git a/view/zentity.tpl b/view/zentity.tpl
new file mode 100644
index 000000000..f34042d05
--- /dev/null
+++ b/view/zentity.tpl
@@ -0,0 +1,46 @@
+<h2>$title</h2>
+
+<form action="zregister" method="post" id="zregister-form">
+
+{{ if $registertext }}
+<div id="zregister-desc" style="color: #888; margin-bottom: 50px;" class="descriptive-paragraph">$registertext</div>
+{{ endif }}
+
+{{ if $invitations }}
+ <p id="register-invite-desc">$invite_desc</p>
+
+ <label for="zregister-invite" id="label-zregister-invite" class="zregister-label">$label_invite</label>
+ <input type="text" maxlength="72" size="32" name="invite_id" id="zregister-invite" class="zregister-input" value="$invite_id" >
+ </div>
+ <div id="zregister-invite-feedback" class="zregister-feedback"></div>
+ <div id="zregister-invite-end" class="zregister-field-end"></div>
+
+{{ endif }}
+
+
+ <label for="zregister-email" id="label-zregister-email" class="zregister-label" >$label_email</label>
+ <input type="text" maxlength="72" size="32" name="email" id="zregister-email" class="zregister-input" value="$email" >
+ <div id="zregister-email-feedback" class="zregister-feedback"></div>
+ <div id="zregister-email-end" class="zregister-field-end"></div>
+
+ <label for="zregister-password" id="label-zregister-password" class="zregister-label" >$label_pass1</label>
+ <input type="text" maxlength="72" size="32" name="password" id="zregister-password" class="zregister-input" value="$pass1" >
+ <div id="zregister-password-feedback" class="zregister-feedback"></div>
+ <div id="zregister-password-end" class="zregister-field-end"></div>
+
+ <div class="clear">
+ <div style="color: #888;">$label_pass2</div>
+ <div id="zregister-password2-end" class="zregister-field-end"></div>
+
+ <div style="margin-bottom: 25px;">&nbsp;</div>
+
+
+ <input type="checkbox" name="tos" id="zregister-tos" value="1" >
+ <label for="zregister-tos" id="label-zregister-tos">$label_tos</label>
+ <div id="zregister-tos-feedback" class="zregister-feedback"></div>
+ <div id="zregister-tos-end" class="zregister-field-end"></div>
+
+ <input type="submit" name="submit" id="zregister-submit-button" value="$submit" />
+ <div id="zregister-submit-end" class="zregister-field-end"></div>
+
+</form>