diff --git a/css/Audit/style.css b/css/Audit/style.css deleted file mode 100644 index aec13991b9eb..000000000000 --- a/css/Audit/style.css +++ /dev/null @@ -1,141 +0,0 @@ -/* Note there will also be a bunch of classes specific to the site for each activity they've configured. The class name is "civicase-audit-" plus the name they've given the activity with any non-alphanumeric characters removed. */ - -#civicase-audit { -} - -#civicase-audit table { - border: 0px; -} - -#civicase-audit td { - margin: 0px; -} - -#civicase-audit td.leftpane { -} - -#civicase-audit table.report{ - width: 100%; - margin-top: -4px; -} - -#civicase-audit tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active { - color: #027AC6; - background-color: #FFFF99; - font-weight: bold; -} - -#civicase-audit .indicator{ - width: 30px; - text-align: center; -} - -#civicase-audit .separator{ - width: 10px; -} - -#civicase-audit td.rightpane { - background-color: #CCE3F1; - border: #333333 solid 1px; - padding: 2%; - width: 60%; -} - -.rightpaneheader { -} - -.rightpanebody { -} - -#civicase-audit label { - font-weight: bold; -} - -.activity { -} - -.auditmenu { - padding-bottom: 20px; -} - -.editlink { - background: #EEEEEE; - border: #333333 solid 1px; - padding: 2px 3px 2px 3px; - font-size: xx-small; - text-transform: uppercase; - width: 30px; -} - -.editlink a { - text-decoration: none; - color: #0000CC; - font-weight: bold; -} - -.editlink a:hover { - color: #CC0000; -} - -.activity a { - text-decoration: none; -} - -.activity a:link, .activity a:visited { -} - -.activityheader { - display: none; - padding-bottom: 20px; - font-size: smaller; -} - -.activityheader span { - display: list-item; - list-style-type: none; - margin-left: 20px; -} - -.auditmenu span { - display: inline; - margin-left: 0px; -} - -.activitybody { - background: #FFFFFF; - padding: 2px; - display: none; -} - -.activitybody span { - display: list-item; - list-style-type: none; - margin-left: 20px; -} - -/* The right pane starts off hidden except for the first activity. */ -#civicase-audit-header-1 { - display: block; -} - -#civicase-audit-body-1 { - display: block; -} - -.String { -} - -.Date { -} - -.File { -} - -.Int { -} - -.Memo { -} - -.Boolean { -} diff --git a/templates/CRM/Case/Audit/Audit.tpl b/templates/CRM/Case/Audit/Audit.tpl deleted file mode 100644 index 8d46a3a88c54..000000000000 --- a/templates/CRM/Case/Audit/Audit.tpl +++ /dev/null @@ -1,166 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC. All rights reserved. | - | | - | This work is published under the GNU AGPLv3 license with some | - | permitted exceptions and without any warranty. For full license | - | and copyright information, see https://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* -Notes: -- Any id's should be prefixed with civicase-audit to avoid name collisions. -- The idea behind the regex_replace is that for a css selector on a field, we can make it simple by saying the convention is to use the field label, but convert to lower case and strip out all except a-z and 0-9. -There's the potential for collisions (two different labels having the same shortened version), but it would be odd for the user to configure fields that way, and at most affects styling as opposed to crashing or something. -- Note the whole output gets contained within a
with name="Report". -*} - - - - - - - - - - - - - - -
-     -     -
-
- - -
- - - - - -{foreach from=$activities item=activity name=activityloop} - - - - -{/foreach} -
 {ts}Description{/ts}
- {if $activity.completed} - - {else} - - {ts}Incomplete{/ts} - - {/if} - - - {foreach from=$activity.leftpane item=field name=fieldloop} - - {if $field.datatype == 'File'}{/if} - {if $field.datatype == 'Date'} - {if $field.includeTime} - {$field.value|escape|replace:'T':' '|crmDate} - {else} - {$field.value|escape|truncate:10:'':true|crmDate} - {/if} - {else} - {$field.value|escape} - {/if} - {if $field.datatype == 'File'}{/if} -
- {/foreach} - -
-
  -
- {foreach from=$activities item=activity name=activityloop} - - {/foreach} -
-
- {foreach from=$activities item=activity name=activityloop} - - {/foreach} -
-
-
-
-     -     -
-{literal} - -{/literal}