aboutsummaryrefslogtreecommitdiffstats
path: root/apps/journal/templates/index.pt
diff options
context:
space:
mode:
Diffstat (limited to 'apps/journal/templates/index.pt')
-rw-r--r--apps/journal/templates/index.pt101
1 files changed, 0 insertions, 101 deletions
diff --git a/apps/journal/templates/index.pt b/apps/journal/templates/index.pt
deleted file mode 100644
index 40ce351a543..00000000000
--- a/apps/journal/templates/index.pt
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html>
-<html metal:use-macro="${maintemplate}/page">
-<head>
- <title>Journal</title>
-</head>
-<body>
-<div id="content" metal:fill-slot="content">
- <form onsubmit="return false;">
- <div id="controls">
- <select class="tip" id="entrysort" title="Sort journal entries" i18n:attributes="title">
- <option value="dtdesc">Date - descending</option>
- <option value="dtasc">Date - ascending</option>
- <option value="sumdesc">Summary - descending</option>
- <option value="sumasc">Summary - ascending</option>
- </select>
- <button class="tip" id="add" title="Add new journal entry" i18n:attributes="title" i18n:translate="">Add</button>
- </div>
- <ul id="leftcontent"></ul>
- <div id="rightcontent">
- <div id="entry">
- <input class="property propertycontainer content" id="summary" name="value" type="text" size="80" placeholder="First enter a short summary" value="" required="required" data-type="SUMMARY" i18n:attributes="placeholder" />
- <ul id="editortoolbar" class="rte-toolbar svg">
- <li class="richtext">
- <button class="tip" data-cmd="bold" title="Bold" i18n:attributes="title">
- <img tal:attributes="src image:string:journal/bold.svg" />
- </button>
- </li>
- <li class="richtext">
- <button class="tip" data-cmd="italic" title="Italic" i18n:attributes="title">
- <img tal:attributes="src image:string:journal/italic.svg" />
- </button>
- </li>
- <li class="richtext">
- <button class="tip" data-cmd="strikethrough" title="Strike-through" i18n:attributes="title">
- <img tal:attributes="src image:string:journal/strikethrough.svg" />
- </button>
- </li>
- <li class="richtext">
- <button class="tip" data-cmd="underline" title="Underline" i18n:attributes="title">
- <img tal:attributes="src image:string:journal/underline.svg" />
- </button>
- </li>
- <li class="richtext">
- <button class="tip" data-cmd="ulist" title="Unordered list" i18n:attributes="title">
- <img tal:attributes="src image:string:journal/list.svg" />
- </button>
- </li>
- <li class="richtext">
- <button class="tip" data-cmd="createlink" title="Link (URL)" i18n:attributes="title">
- <img tal:attributes="src image:string:core/actions/public.svg" />
- </button>
- </li>
- <li><a id="togglemode" class="hidden" i18n:translate="">Switch edit mode</a></li>
- </ul>
- <div class="propertycontainer" data-type="DESCRIPTION"><textarea class="property content" id="description" name="value"></textarea></div>
- </div>
- <dl id="metadata">
- <div>
- <input type="checkbox" id="editable" /><label class="tip" for="editable" title="Set this journal entry in edit mode" i18n:attributes="title" i18n:translate="">Edit</label>
- <a class="tip" id="export" title="Export as iCal file" i18n:attributes="title">
- <img class="svg action" tal:attributes="src image:string:core/actions/download.svg" />
- </a>
- <a class="tip" id="showlink" title="Direct link to this journal entry" i18n:attributes="title">
- <img class="svg action" tal:attributes="src image:string:core/actions/public.svg" />
- </a>
- <a class="tip" id="delete" title="Delete this journal entry" i18n:attributes="title">
- <img class="svg action" tal:attributes="src image:string:core/actions/delete.svg" />
- </a>
- <input class="hidden" id="link" type="text" />
- </div>
- <dt><label for="organizer" i18n:translate="">Author</label></dt>
- <dd>
- <input class="property propertycontainer" id="organizer" name="value" type="text" size="16" placeholder="Who has written this" value="" data-type="ORGANIZER" disabled="true" i18n:attributes="placeholder" />
- </dd>
- <dt id="categories_label"><label for="categories" i18n:translate="">Categories</label></dt>
- <dd class="propertycontainer" id="categories_value" data-type="CATEGORIES">
- <input class="property" id="categories" name="value" type="text" size="16" placeholder="Separate with commas" value="" disabled="true" i18n:attributes="placeholder" />
- <a role="button" class="tip action" id="editcategories" title="Edit groups" i18n:attributes="title">
- <img class="svg action" tal:attributes="src image:string:core/actions/rename.svg" />
- </a>
- </dd>
- <dt>
- <label for="dtstartdate" i18n:translate="">Date</label>
- <input type="checkbox" id="also_time" />
- <label class="tip" for="also_time" title="Select if this entry also has a time associated." i18n:attributes="title" i18n:translate="">Include time</label>
- </dt>
- <dd class="propertycontainer" data-type="DTSTART">
- <input class="property" id="dtstartdate" name="value" type="date" size="10" placeholder="dd-mm-yyyy" value="" i18n:attributes="placeholder" disabled="true" />
- <input class="property" id="dtstarttime" name="value" type="time" size="5" placeholder="hh-mm" value="" i18n:attributes="placeholder" disabled="true" />
- </dd>
- </dl>
- </div>
- <script type="text/javascript">
- var categories = ${structure php:json_encode(categories)};
- var id = '${id}';
- var totalurl = '${url:string:journal/index.php}';
- </script>
-</form>
-</div>
-</body>
-</html> \ No newline at end of file