diary/project.html

213 lines
8.6 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="/main/diary/diary.css"/>
<link rel="stylesheet" type="text/css" href="/main/diary/css/bootstrap.min.css"/>
<title>Diary Management</title>
</head>
<body>
<span _id="header"></span>
<p><a href="?do=diary">View/edit diaries</a></p>
<!-- Selection menu -->
<div id="menu" _id="menu">
<form method="post" action="#">
<h4>Select projects to list:</h4>
<p>
<input type="hidden" name="do" value="project" />
Status of the project:
<select name="prj:list:prj_status" multiple="multiple">
<option _id="status">Active</option>
</select>
Customer organization
<select name="prj:list:customer">
<option _id="customer">Customer</option>
</select>
<input type="submit" />
</p>
</form>
</div>
<!-- Project list -->
<div id="list">
<div _id="nodata" id="nodata">
No projects found.
</div>
<div _id="list" class="prj_item">
<form method="post" _id="view">
<h4 _id="name">Project Name</h4>
<p>
<input type="hidden" name="do" value="project">
<input type="hidden" name="prj:list:edit" _id="edit_id">
<input type="hidden" name="prj:action:id" _id="edit_id">
<input type="hidden" _id="hiddens">
<input type="submit" _id="edit" name="prj:action:verb" value="Edit"></p>
<p>Project tag: <span _id="tag">tag</span></p>
<p>Customer organization: <span _id="customer">customer</span></p>
<p>Administrative customer contact: <span _id="cust_man">uid</span>
<span _id="cust_tech">Technical customer contact:
<span _id="value">uid</span>
</span></p>
<p>Internal project manager: <span _id="manager">uid</span>
<span _id="leader">Internal project leader:
<span _id="value">uid</span>
</span></p>
<p>Long description of the project:</p>
<pre _id="prj_desc">Description</pre>
<p>Current status of the project: <span _id="prj_status">Active</span></p>
<span _id="status_desc"><p>Description of project status:</p>
<pre _id="value">Status description</pre></span>
<span _id="issues"><p>Issues:</p>
<pre _id="value">Issues</pre></span>
<span _id="maillists"><p>Mailing lists: <span _id="value">maillist</span></p></span>
<span _id="storagedir"><p>Project directory in <a href="/storage/">library</a>:
<a _id="value"></a></p></span>
<span _id="svndir"><p>Project directory in <a href="/svnroot/">SubVersion</a>:
<a _id="value"></a></p></span>
<span _id="extra_rights"><p>Extra user rights (in LDAP filter syntax):
<span _id="value"></span></p></span>
<span _id="bugzilla_prod"><p>Bugzilla product: - not implemented -</p></span>
<div _id="approval" class="approval">
<p><span class="approval_header">Approval mode</span></p>
<p _id="approval_list"><select name="prj:approve:list" multiple="multiple">
<option _id="approval_item">User</option>
</select>
<input type="submit" name="prj:action:verb" value="Delete"></p>
Approve <select name="prj:approve:who">
<option _id="person">Engineer</option>
</select> by
<select name="prj:approve:approver">
<option _id="person">Engineer</option>
</select>
<input type="submit" name="prj:action:verb" value="Add">
</div>
</form>
<form method="post" action="#" _id="edit">
<div class="edit">
<h4>Editing project</h4>
<p>
<input type="hidden" name="do" value="project">
<input type="hidden" name="prj:edit:id" _id="id">
<input type="hidden" _id="hiddens">
Project name<span class="mark"/>*</span>:
<input _id="name" type="text" name="prj:edit:name">
Project tag<span class="mark">*</span>:
<input _id="tag" type="text" name="prj:edit:tag"></p>
<p>Customer organization<span class="mark">*</span>:
<select name="prj:edit:customer">
<option _id="customer">Customer</option>
</select></p>
<p>Administrative customer contact<span class="mark">*</span>:
<input _id="cust_man" type="text" name="prj:edit:cust_man">
Technical customer contact:
<input _id="cust_tech" type="text" name="prj:edit:cust_tech">
</p>
<p>Internal project manager<span class="mark">*</span>:
<input _id="manager" type="text" name="prj:edit:manager">
Internal project leader:
<input _id="leader" type="text" name="prj:edit:leader"></p>
<p>Long description of the project<span class="mark">*</span>:</p>
<p><textarea _id="prj_desc" name="prj:edit:prj_desc"
cols="70" rows="10">Project description</textarea></p>
<p><input _id="hide_hrs" type="checkbox" name="prj:edit:hide_hrs" />
Hide number of hours from customer
</p>
<p>Current status of the project:
<select name="prj:edit:prj_status">
<option _id="prj_status"></option>
</select>
<p>Description of project status:</p>
<p><textarea _id="status_desc" name="prj:edit:status_desc"
cols="70" rows="10">Project status description</textarea>
</p>
<p>Issues:</p>
<p><textarea _id="issues" name="prj:edit:issues"
cols="70" rows="10">Issues</textarea></p>
<p>Mailing lists:
<input _id="maillists" type="text" name="prj:edit:maillists"></p>
<p>Project directory in <a href="/storage/">library</a>:
<input _id="storagedir" type="text" name="prj:edit:storagedir"></p>
<p>Project directory in <a href="/svnroot/">SubVersion</a>:
<input _id="svndir" type="text" name="prj:edit:svndir"></p>
<p>Extra user rights (in LDAP filter syntax):
<input _id="extra_rights" type="text" name="prj:edit:extra_rights"></p>
<p>
<a href="/cgi-bin/bugzilla/editproducts.cgi">Bugzilla product</a>:
-- not implemented --</p>
<!--
<p>Add new CC address: <input type="text" name="prj:edit:ccadd" /></p>
<select name="prj:edit:cclist" multiple="multiple">
<option _id="cclist">user@domain.org</option>
</select>
<p>Remove selected CC <input type="checkbox" name="prj:edit:ccdel" /></p>
-->
<p><input type="submit" value="Submit changes" /></p>
</div>
</form>
</div>
</div>
<!-- Add new project -->
<div id="new" _id="new">
<h4>Add new project</h4>
<form method="post" action="#" _id="edit">
<p>
<input type="hidden" name="do" value="project">
<input type="hidden" name="prj:edit:id" _id="id">
<input type="hidden" _id="hiddens">
Project name<span class="mark"/>*</span>:
<input type="text" name="prj:edit:name" />
Project tag<span class="mark">*</span>:
<input type="text" name="prj:edit:tag" /></p>
<p>Customer organization<span class="mark">*</span>:
<select name="prj:edit:customer">
<option _id="customer">Customer</option>
</select></p>
<p>Administrative customer contact<span class="mark">*</span>:
<input type="text" name="prj:edit:cust_man" />
Technical customer contact:
<input type="text" name="prj:edit:cust_tech" /></p>
<p>Internal project manager<span class="mark">*</span>:
<input type="text" name="prj:edit:manager" _id="manager">
Internal project leader:
<input type="text" name="prj:edit:leader" /></p>
<p>Long description of the project<span class="mark">*</span>:</p>
<p><textarea name="prj:edit:prj_desc" cols="70" rows="10"></textarea></p>
<p><input type="checkbox" name="prj:edit:make_active" />
Mark the project as "ACTIVE"
</p>
<p><input type="checkbox" name="prj:edit:hide_hrs" />
Hide number of hours from customer
</p>
<p>Description of project status:</p>
<p><textarea name="prj:edit:status_desc" cols="70" rows="10"></textarea></p>
<p>Issues:</p>
<p><textarea name="prj:edit:issues" cols="70" rows="10"></textarea></p>
<p>Mailing lists:
<input type="text" name="prj:edit:maillists" /></p>
<p>Project directory in <a href="/storage/">library</a>:
<input type="text" name="prj:edit:storagedir" /></p>
<p>Project directory in <a href="/svnroot/">SubVersion</a>:
<input type="text" name="prj:edit:svndir" /></p>
<p>Extra user rights (in LDAP filter syntax):
<input type="text" name="prj:edit:extra_rights" /></p>
<p>
<a href="/cgi-bin/bugzilla/editproducts.cgi">Bugzilla product</a>:
-- not implemented --</p>
<!--
<p>Add new CC address: <input type="text" name="prj:edit:ccadd" /></p>
<select name="prj:edit:cclist" multiple="multiple">
<option _id="cclist">user@domain.org</option>
</select>
<p>Remove selected CC <input type="checkbox" name="prj:edit:ccdel" /></p>
-->
<p><input type="submit" value="Add new project" /></p>
</form>
</div>
<span _id="footer"></span>
</body>
</html>