kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
311 lines
12 KiB
311 lines
12 KiB
10 years ago
|
# In place editing
|
||
|
|
||
10 years ago
|
## In place editing: Multiple lines of text
|
||
|
|
||
|
### Read mode
|
||
10 years ago
|
|
||
|
```
|
||
10 years ago
|
<div class="attributes-group">
|
||
10 years ago
|
|
||
10 years ago
|
<div class="attributes-group--header">
|
||
|
<div class="attributes-group--header-container">
|
||
|
<h3 class="attributes-group--header-text">
|
||
|
Description
|
||
|
</h3>
|
||
|
</div>
|
||
|
</div>
|
||
10 years ago
|
<div class="inplace-edit type-wiki_textarea attribute-description">
|
||
|
<accessible-by-keyboard execute="startEditing()"
|
||
|
class="inplace-editing--trigger-container">
|
||
|
<a href=""
|
||
|
tabindex="0"
|
||
|
class="inplace-editing--trigger-link">
|
||
|
<span class="inplace-editing--container">
|
||
|
<span class="inplace-edit--read-value">
|
||
|
<span class="inplace-edit--read" >
|
||
|
<span>
|
||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
|
||
10 years ago
|
</span>
|
||
10 years ago
|
</span>
|
||
10 years ago
|
</span>
|
||
|
<span class="inplace-edit--icon-wrapper">
|
||
|
<span class="icon-context icon-button icon-edit "
|
||
|
title="Description: Edit"
|
||
|
icon-name="edit"
|
||
|
icon-title="Description: Edit">
|
||
|
<span class="hidden-for-sighted">
|
||
|
Description: Edit
|
||
|
</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
</div>
|
||
|
|
||
|
```
|
||
10 years ago
|
|
||
10 years ago
|
### Edit mode
|
||
|
|
||
|
```
|
||
|
|
||
10 years ago
|
<div class="attributes-group ">
|
||
|
|
||
10 years ago
|
<div class="attributes-group--header">
|
||
|
<div class="attributes-group--header-container">
|
||
10 years ago
|
<h3 class="attributes-group--header-text ">
|
||
10 years ago
|
Description
|
||
|
</h3>
|
||
|
</div>
|
||
|
</div>
|
||
10 years ago
|
|
||
10 years ago
|
<div class="single-attribute wiki">
|
||
10 years ago
|
<span inplace-editor="" placeholder="Click to enter description..." autocomplete-path="/work_packages/auto_complete.json?project_id=undefined" >
|
||
|
<div class="inplace-edit type-wiki_textarea attribute-description" aria-busy="false" >
|
||
10 years ago
|
|
||
10 years ago
|
<div class="inplace-edit--write " >
|
||
|
<form class="inplace-edit--form " name="editForm" novalidate="">
|
||
10 years ago
|
<div class="inplace-edit--write-value">
|
||
10 years ago
|
<div class="jstElements">
|
||
|
<button type="button" class="jstb_strong" title="Strong">
|
||
|
<span>Strong</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_em" title="Italic">
|
||
|
<span>Italic</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_ins" title="Underline">
|
||
|
<span>Underline</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_del" title="Deleted">
|
||
|
<span>Deleted</span></button><button type="button" class="jstb_code" title="Inline Code">
|
||
|
<span>Inline Code</span></button><span id="space1" class="jstSpacer"> </span>
|
||
|
<button type="button" class="jstb_h1" title="Heading 1">
|
||
|
<span>Heading 1</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_h2" title="Heading 2">
|
||
|
<span>Heading 2</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_h3" title="Heading 3">
|
||
|
<span>Heading 3</span>
|
||
|
</button>
|
||
|
<span id="space2" class="jstSpacer"> </span>
|
||
|
<button type="button" class="jstb_ul" title="Unordered List">
|
||
|
<span>Unordered List</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_ol" title="Ordered List">
|
||
|
<span>Ordered List</span>
|
||
|
</button>
|
||
|
<span id="space3" class="jstSpacer"> </span>
|
||
|
<button type="button" class="jstb_bq" title="Quote">
|
||
|
<span>Quote</span></button>
|
||
|
<button type="button" class="jstb_unbq" title="Unquote">
|
||
|
<span>Unquote</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_pre" title="Preformatted Text">
|
||
|
<span>Preformatted Text</span></button><span id="space4" class="jstSpacer"> </span>
|
||
|
<button type="button" class="jstb_link" title="Link to a Wiki page">
|
||
|
<span>Link to a Wiki page</span>
|
||
|
</button>
|
||
|
<button type="button" class="jstb_img" title="Image">
|
||
|
<span>Image</span>
|
||
|
</button>
|
||
|
<div class="jstb_help">
|
||
|
<a href="/help/wiki_syntax" title="Text formatting" class="icon icon-help" onclick="window.open("/help/wiki_syntax", "", "resizable=yes, location=no, width=600, height=640, menubar=no, status=no, scrollbars=yes"); return false;">
|
||
|
<span class="hidden-for-sighted">
|
||
|
Text formatting
|
||
|
</span>
|
||
|
</a>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
<button class="jstb_preview icon-issue-watched" type="button" title="Preview">
|
||
|
</button>
|
||
|
</div>
|
||
10 years ago
|
|
||
10 years ago
|
<div class="jstEditor">
|
||
|
<textarea wiki-toolbar="" class="focus-input inplace-edit--textarea " preview-toggle="togglePreview()" name="value" title="Description: Edit" data-wp_autocomplete_url="/work_packages/auto_complete.json?project_id=undefined" aria-multiline="true" tabindex="0" aria-hidden="false" aria-disabled="false" aria-invalid="false" rows="5">
|
||
|
</textarea>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
|
||
|
<div class="jstHandle"></div>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
<div class="inplace-edit--dashboard">
|
||
|
<div class="inplace-edit--errors " role="alert" aria-live="polite" aria-hidden="true">
|
||
|
</div>
|
||
|
<div class="inplace-edit--controls" aria-hidden="false">
|
||
|
<div class="inplace-edit--control inplace-edit--control--save">
|
||
|
<accessible-by-keyboard execute="editForm.$valid && submit(false)" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span class="icon-context icon-button icon-yes " title="Description: Save" icon-name="yes" icon-title="Description: Save">
|
||
|
<span class="hidden-for-sighted ">Description: Save</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a></accessible-by-keyboard>
|
||
|
</div>
|
||
|
<div class="inplace-edit--control -icons-2 inplace-edit--control--send">
|
||
|
<accessible-by-keyboard execute="editForm.$valid && submit(true)" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span title="Description: Save and send email" >
|
||
|
<i class="icon-yes"></i>
|
||
|
<i class="icon-mail"></i>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
|
</div>
|
||
|
<div class="inplace-edit--control inplace-edit--control--cancel">
|
||
|
<accessible-by-keyboard execute="discardEditing()" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span class="icon-context icon-button icon-close2 " title="Description: Cancel" icon-name="close2" icon-title="Description: Cancel">
|
||
|
<span class="hidden-for-sighted ">Description: Cancel</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
10 years ago
|
</div>
|
||
|
</div>
|
||
|
|
||
10 years ago
|
|
||
|
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div style="height: 100px;">
|
||
10 years ago
|
</div>
|
||
|
|
||
10 years ago
|
```
|
||
10 years ago
|
|
||
10 years ago
|
## In place editing: Single line of text
|
||
10 years ago
|
|
||
10 years ago
|
### Read mode
|
||
|
|
||
10 years ago
|
```
|
||
10 years ago
|
<div class="attributes-group">
|
||
|
<div class="attributes-group--header">
|
||
|
<div class="attributes-group--header-container">
|
||
|
<h3 class="attributes-group--header-text">
|
||
|
Details
|
||
|
</h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
<dl class="attributes-key-value">
|
||
|
<dt class="attributes-key-value--key">
|
||
|
Status
|
||
|
</dt>
|
||
|
<dd class="attributes-key-value--value-container">
|
||
|
<div class="attributes-key-value--value -status">
|
||
10 years ago
|
<div class="inplace-edit type-select2 attribute-status.name">
|
||
|
<accessible-by-keyboard execute="startEditing()"
|
||
|
class="inplace-editing--trigger-container">
|
||
|
<a href=""
|
||
|
tabindex="0"
|
||
|
class="inplace-editing--trigger-link">
|
||
|
<span class="inplace-editing--container">
|
||
|
<span class="inplace-edit--read-value">
|
||
|
<span class="inplace-edit--read" >
|
||
|
<span >
|
||
|
New
|
||
10 years ago
|
</span>
|
||
|
</span>
|
||
10 years ago
|
</span>
|
||
|
<span class="inplace-edit--icon-wrapper">
|
||
|
<span class="icon-context icon-button icon-edit " title="Status: Edit" icon-name="edit" icon-title="Status: Edit">
|
||
|
<span class="hidden-for-sighted">
|
||
|
Status: Edit
|
||
|
</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
10 years ago
|
</div>
|
||
|
</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
10 years ago
|
</div>
|
||
|
```
|
||
10 years ago
|
|
||
|
### Edit mode
|
||
|
|
||
|
```
|
||
|
<div class="attributes-group">
|
||
|
|
||
|
<div class="attributes-group--header">
|
||
|
<div class="attributes-group--header-container">
|
||
10 years ago
|
<h3 class="attributes-group--header-text ">
|
||
10 years ago
|
Details
|
||
|
</h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<dl class="attributes-key-value">
|
||
10 years ago
|
<dt class="attributes-key-value--key ">Status</dt>
|
||
|
<dd class="attributes-key-value--value-container" >
|
||
|
<div class="attributes-key-value--value -status">
|
||
10 years ago
|
<div inplace-edit="">
|
||
|
<div class="inplace-edit type-select2 attribute-status.name" aria-busy="false" aria-disabled="false">
|
||
|
<div class="inplace-edit--write" >
|
||
|
<form name="editForm" class="inplace-edit--form">
|
||
10 years ago
|
<div class="inplace-edit--write-value">
|
||
10 years ago
|
<input type="text" class="focus-input inplace-edit--text-field" aria-label="Status: Edit focus" aria-haspopup="true" role="button" aria-disabled="false" value="New">
|
||
10 years ago
|
</div>
|
||
10 years ago
|
<div class="inplace-edit--dashboard">
|
||
|
<div class="inplace-edit--errors " role="alert" aria-live="polite" aria-hidden="true">
|
||
10 years ago
|
</div>
|
||
10 years ago
|
<div class="inplace-edit--controls" aria-hidden="false">
|
||
|
<div class="inplace-edit--control inplace-edit--control--save">
|
||
|
<accessible-by-keyboard execute="editForm.$valid && submit(false)" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span class="icon-context icon-button icon-yes " title="Description: Save" icon-name="yes" icon-title="Description: Save">
|
||
|
<span class="hidden-for-sighted ">Description: Save</span>
|
||
10 years ago
|
</span>
|
||
|
</span>
|
||
10 years ago
|
</a></accessible-by-keyboard>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
<div class="inplace-edit--control -icons-2 inplace-edit--control--send">
|
||
|
<accessible-by-keyboard execute="editForm.$valid && submit(true)" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span title="Description: Save and send email" >
|
||
10 years ago
|
<i class="icon-yes"></i>
|
||
|
<i class="icon-mail"></i>
|
||
|
</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
|
</div>
|
||
10 years ago
|
<div class="inplace-edit--control inplace-edit--control--cancel">
|
||
|
<accessible-by-keyboard execute="discardEditing()" >
|
||
|
<a execute-on-enter="execute()" default-event-handling="defaultEventHandling" href="" tabindex="0">
|
||
|
<span >
|
||
|
<span class="icon-context icon-button icon-close2 " title="Description: Cancel" icon-name="close2" icon-title="Description: Cancel">
|
||
|
<span class="hidden-for-sighted ">Description: Cancel</span>
|
||
10 years ago
|
</span>
|
||
10 years ago
|
</span>
|
||
10 years ago
|
</a>
|
||
|
</accessible-by-keyboard>
|
||
10 years ago
|
</div>
|
||
10 years ago
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
10 years ago
|
|
||
|
<div style="height: 50px;">
|
||
|
</div>
|
||
10 years ago
|
```
|