Revision acc6569c
Von Cem Aydin vor fast 2 Jahren hinzugefügt
templates/design40_webpages/requirement_spec_item/_sub_function_block.html | ||
---|---|---|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE P %] |
|
4 |
|
|
5 |
<div id="sub-function-block-[%- requirement_spec_item.id -%]" class="sub-function-block[%- IF requirement_spec_item.is_flagged -%] flagged[%- END -%]"> |
|
6 |
<div id="sub-function-block-content-[%- requirement_spec_item.id -%]" class="sub-function-block-content sub-function-block-context-menu"> |
|
7 |
[% INCLUDE 'requirement_spec_item/_function_block_content_top.html' id_prefix='sub-' %] |
|
8 |
[% INCLUDE 'requirement_spec_item/_function_block_content_bottom.html' id_prefix='sub-' %] |
|
9 |
</div> |
|
10 |
</div> |
templates/design40_webpages/requirement_spec_order/edit_assignment.html | ||
---|---|---|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
|
|
4 |
<div id="quotations_and_orders_article_assignment" class="quotations-and-orders-edit-assignment-context-menu"> |
|
5 |
<h2>[% LxERP.t8("Edit assignment of articles to sections") %]</h2> |
|
6 |
|
|
7 |
[% INCLUDE 'requirement_spec_order/_assignment_form.html' %] |
|
8 |
</div> |
templates/design40_webpages/requirement_spec_order/new.html | ||
---|---|---|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
|
|
4 |
<div id="quotations_and_orders_new" class="quotations-and-orders-new-context-menu"> |
|
5 |
<h2>[% LxERP.t8("Create new quotation or order") %]</h2> |
|
6 |
|
|
7 |
[% INCLUDE 'requirement_spec_order/_assignment_form.html' |
|
8 |
for_new=1 %] |
|
9 |
</div> |
templates/design40_webpages/requirement_spec_text_block/_predefined_text_inserter.js | ||
---|---|---|
1 |
[% USE LxERP %] |
|
2 |
[% USE JavaScript %] |
|
3 |
|
|
4 |
function insert_selected_predefined_text() { |
|
5 |
var data = { |
|
6 |
[%- FOREACH pt = SELF.predefined_texts %] |
|
7 |
[% JavaScript.escape(pt.id) %]: { |
|
8 |
title: "[% JavaScript.escape(pt.title) %]", |
|
9 |
text: "[% JavaScript.escape(pt.text) %]" |
|
10 |
}[% UNLESS loop.last %],[% END %] |
|
11 |
[% END %] |
|
12 |
} |
|
13 |
|
|
14 |
var id = $('#[% id_base %]_predefined_text_block').val(); |
|
15 |
var pt = data[id]; |
|
16 |
if (!pt) |
|
17 |
return false; |
|
18 |
|
|
19 |
var title_ctrl = $('#[% id_base %][% title_ctrl_id %]'); |
|
20 |
|
|
21 |
if ( ((pt.title || '') != '') |
|
22 |
&& ( ((title_ctrl.val() || '') == '') |
|
23 |
|| confirm('[%- LxERP.t8("Do you want to overwrite your current title?") %]'))) |
|
24 |
title_ctrl.val(pt.title); |
|
25 |
|
|
26 |
if ((pt.text || '') != '') |
|
27 |
$('#[% id_base %][% text_ctrl_id %]').ckeditorGet().insertHtml(pt.text); |
|
28 |
|
|
29 |
return false; |
|
30 |
} |
templates/design40_webpages/requirement_spec_text_block/_text_block.html | ||
---|---|---|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE LxERP %] |
|
4 |
|
|
5 |
<div id="text-block-[%- HTML.escape(text_block.id) -%]" class="requirement-spec-text-block text-block-context-menu[%- IF text_block.is_flagged -%] flagged[%- END -%]"> |
|
6 |
<h2 class="requirement-spec-text-block-title"> |
|
7 |
[% IF !text_block.title %] |
|
8 |
<span class="dimmed-text">[% LxERP.t8("No title yet") %]</span> |
|
9 |
[% END %] |
|
10 |
[% HTML.escape(text_block.title) %] |
|
11 |
</h2> |
|
12 |
|
|
13 |
[% IF !text_block.text %] |
|
14 |
<div class="dimmed-text"> |
|
15 |
[% LxERP.t8("No text has been entered yet.") %] |
|
16 |
</div> |
|
17 |
[% ELSE %] |
|
18 |
<div class="requirement-spec-text-block-text"> |
|
19 |
[% text_block.text_as_restricted_html %] |
|
20 |
</div> |
|
21 |
[% END %] |
|
22 |
|
|
23 |
<div class="clearfix requirement-spec-text-block-picture-list" id="text-block-[%- HTML.escape(text_block.id) -%]-pictures" [%- UNLESS text_block.pictures.as_list.size -%] style="display: none"[%- END -%]> |
|
24 |
[% FOREACH picture = text_block.pictures_sorted %] |
|
25 |
[% INCLUDE 'requirement_spec_text_block/_text_block_picture.html' picture=picture %] |
|
26 |
[% END %] |
|
27 |
</div> |
|
28 |
</div> |
templates/design40_webpages/requirement_spec_text_block/ajax_list.html | ||
---|---|---|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
|
|
4 |
<div id="text-block-list-container"> |
|
5 |
[% L.hidden_tag('text_block_output_position', output_position) %] |
|
6 |
<h1 class="text-block-context-menu"> |
|
7 |
[% IF output_position == 0 %] |
|
8 |
[% LxERP.t8("Text blocks front") %] |
|
9 |
[% ELSE %] |
|
10 |
[% LxERP.t8("Text blocks back") %] |
|
11 |
[% END %] |
|
12 |
</h1> |
|
13 |
|
|
14 |
<div id="text-block-list-empty" class="text-block-context-menu"[%- IF TEXT_BLOCKS.size -%] style="display: none"[%- END -%]> |
|
15 |
[% LxERP.t8("No text blocks have been created for this position.") %] |
|
16 |
[% LxERP.t8("Create one from the context menu by right-clicking on this text.") %] |
|
17 |
</div> |
|
18 |
|
|
19 |
<div id="text-block-list"> |
|
20 |
[% FOREACH text_block = TEXT_BLOCKS %] |
|
21 |
[% INCLUDE 'requirement_spec_text_block/_text_block.html' %] |
|
22 |
[% END %] |
|
23 |
</div> |
|
24 |
</div> |
templates/design40_webpages/requirement_spec_version/new.html | ||
---|---|---|
1 |
[% INCLUDE 'common/flash.html' %] |
|
2 |
|
|
3 |
[% INCLUDE 'requirement_spec_version/_form.html' %] |
Auch abrufbar als: Unified diff
design40: Fehlende Templates requirement_spec_.../ kopiert
- Formatierung vereinheitlicht