PageRenderTime 16ms CodeModel.GetById 6ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/mod_admin/templates/admin_categories_manager.tpl

https://code.google.com/p/zotonic/
Smarty Template | 143 lines | 139 code | 4 blank | 0 comment | 0 complexity | 5ec0e2dc9c9708405c8919274b2fe5a2 MD5 | raw file
  1{% extends "admin_base.tpl" %}
  2
  3{% block title %} Categories Manager {% endblock %}
  4{% block js_extra %}
  5	<script type="text/javascript">
  6		$(function()
  7		{
  8			$('.finder-column').sortable(
  9			{
 10				handle: '.finder-folder', 
 11				axis: 'y',
 12				containment: 'parent',
 13				forcePlaceholderSize: true,
 14				placeholder: 'finder-placeholder',
 15				start: function(event, ui)
 16				{
 17					$('.finder-columns').addClass('finder-sorting');
 18				},
 19				stop: function(event, ui)
 20				{
 21					$('.finder-columns').removeClass('finder-sorting');
 22				}
 23			})
 24			.resizable(
 25			{
 26				handles: 'e',
 27				minWidth: 200,
 28				maxWidth: 400,
 29				start: function(event, ui) {
 30					$('.finder-columns').addClass('finder-resizing');
 31				},
 32				stop: function(event, ui) {
 33					$('.finder-columns').removeClass('finder-resizing');
 34				}			
 35			});
 36		});
 37	</script>
 38{% endblock %}
 39
 40{% block content %}
 41	<div id="content" class="zp-85">
 42		<div class="block clearfix">
 43
 44		<h2>Categories Manager</h2>
 45		
 46		<div class="finder-wrapper clearfix">
 47			<ul class="finder-columns">
 48				<li>
 49					<ul class="finder-column" id="finder-column-1">
 50						<li class="first">
 51							<h3>Base categories</h3>
 52							<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
 53						</li>
 54						<li>
 55							<span class="finder-folder"></span>
 56							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Testen'}}">Testen</span>
 57							<span class="finder-arrow"></span>
 58						</li>
 59						<li class="finder-item-selected-alt">
 60							<span class="finder-folder"></span>
 61							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Asseccoires'}}">Asseccoires</span>
 62							<span class="finder-arrow"></span>
 63						</li>
 64						<li>
 65							<span class="finder-folder"></span>
 66							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Onderdelen'}}">Onderdelen</span>
 67							<span class="finder-arrow"></span>
 68						</li>
 69						<li>
 70							<span class="finder-folder"></span>
 71							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Tassen / kleding'}}">Tassen / kleding</span>
 72							<span class="finder-arrow"></span>
 73						</li>
 74						<li>
 75							<span class="finder-folder"></span>
 76							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Brillen'}}">Brillen</span>
 77							<span class="finder-arrow"></span>
 78						</li>
 79						<li>
 80							<span class="finder-folder"></span>
 81							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Fietsen'}}">Fietsen</span>
 82							<span class="finder-arrow"></span>
 83						</li>
 84						<li>
 85							<span class="finder-folder"></span>
 86							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Asseccoires'}}">Asseccoires</span>
 87							<span class="finder-arrow"></span>
 88						</li>
 89						<li>
 90							<span class="finder-folder"></span>
 91							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Onderdelen'}}">Onderdelen</span>
 92							<span class="finder-arrow"></span>
 93						</li>
 94						<li>
 95							<span class="finder-folder"></span>
 96							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Tassen / kleding'}}">Tassen / kleding</span>
 97							<span class="finder-arrow"></span>
 98						</li>
 99					</ul>
100				</li>
101				<li>
102					<ul class="finder-column" id="finder-column-2">
103						<li class="first">
104							<h3>Asseccoires</h3>
105							<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
106						</li>
107						<li>
108							<span class="finder-folder"></span>
109							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Helmen'}}">Helmen</span>
110							<span class="finder-arrow"></span>
111						</li>
112						<li>
113							<span class="finder-folder"></span>
114							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Brillen'}}">Brillen</span>
115							<span class="finder-arrow"></span>
116						</li>
117						<li>
118							<span class="finder-folder"></span>
119							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Helmen'}}">Helmen</span>
120							<span class="finder-arrow"></span>
121						</li>
122						<li>
123							<span class="finder-folder"></span>
124							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'Brillen'}}">Brillen</span>
125							<span class="finder-arrow"></span>
126						</li>
127						<li class="finder-item-selected">
128							<span class="finder-folder"></span>
129							<span class="finder-title do_editinplace {type: 'input', event: 'dblclick', data: {title: 'lorem'}}">lorem</span>
130							<span class="finder-arrow"></span>
131						</li>
132					</ul>
133				</li>
134				<li>
135					<div class="finder-info" id="finder-column-3">
136						<input type="text" value="Lorem" />
137						<textarea>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</textarea>
138					</div>
139				</li>
140			</ul>
141		</div>
142	</div>
143{% endblock %}