diff --git a/public_html/modules/project/tickets/view.php b/public_html/modules/project/tickets/view.php new file mode 100644 index 0000000..3cee471 --- /dev/null +++ b/public_html/modules/project/tickets/view.php @@ -0,0 +1,17 @@ +strings, array()); diff --git a/public_html/static/style.css b/public_html/static/style.css index c0f3764..64bc9b7 100644 --- a/public_html/static/style.css +++ b/public_html/static/style.css @@ -133,12 +133,17 @@ section padding: 12px 0px; } -section h3 +div.section +{ + margin: 12px 0px; +} + +section h3, div.section h3 { margin-top: 6px; } -section p +section p, div.section p { font-size: 14px; } @@ -376,3 +381,105 @@ section.tickets tr.status-closed.priority-high td.priority { color: #656565; } + + +/************************************************ + ** Ticket lookup ** + ************************************************/ + + +.section.ticket-original +{ + border: 1px solid #373737; +} + +.section.ticket-original h2 +{ + margin: 0px; + padding: 9px 8px; + background-color: #373737; + color: white; + font-size: 16px; + font-weight: normal; +} + +.section.ticket-original .metadata +{ + margin: 11px; + font-size: 13px; +} + +.section.ticket-original .metadata .currentdata, .section.ticket-original .metadata .originaldata +{ + float: left; + width: 50%; +} + +.section.ticket-original .metadata .key +{ + font-weight: bold; + margin-right: 8px; +} + +.section.ticket-original .metadata > div > div +{ + margin-top: 4px; +} + +.section.ticket-original .body +{ + margin: 11px; + padding-left: 4px; + font-size: 15px; +} + +.section.ticket-updates > div +{ + margin-bottom: 12px; +} + +.section.ticket-updates .message +{ + border: 1px solid #373737; + padding: 11px; +} + +.section.ticket-updates .message .metadata +{ + font-size: 15px; +} + +.section.ticket-updates .message .metadata .author +{ + font-weight: bold; + margin-right: 8px; +} + +.section.ticket-updates .message .metadata .date +{ + color: #585858; +} + +.section.ticket-updates .message p +{ + margin-bottom: 0px; +} + +.section.ticket-updates .event +{ + color: white; + background-color: #373737; + padding: 12px; + font-size: 13px; +} + +.section.ticket-updates .event .author, .section.ticket-updates .event .value +{ + font-weight: bold; +} + +.section.ticket-updates .event .date +{ + float: right; + color: #DADADA; +} diff --git a/public_html/templates/project/tickets/view.tpl b/public_html/templates/project/tickets/view.tpl new file mode 100644 index 0000000..b867fa1 --- /dev/null +++ b/public_html/templates/project/tickets/view.tpl @@ -0,0 +1,57 @@ +
+

This is a sample ticket

+
+
+
+ Priority + High +
+
+ Status + Open +
+
+ Owner + joepie91 +
+
+
+
+ Creator + joepie91 +
+
+ Date + 2013/01/17 11:02:27 +
+
+
+
+
+

This is a sample ticket body.

+
+
+
+
+ + +

This is a sample ticket response.

+
+ +
+ joepie91 changed the ticket status to Open. +
2013/01/17 11:16:23
+
+ +
+ + +

This is another sample ticket response.

+
+