# dspec-v2
# Copyright 2008,2011,2016 BitMover, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# the default dspec used by 'bk changes --html'
# Note: Do not use :USERHOST: as :USER:@:HOST will print @ if no host

$begin {
	"<html><body bgcolor=white>\n"
	"<table align=center bgcolor=black cellspacing=0 "
	"border=0 cellpadding=0>"
	"<tr><td>\n"
	"<table width=100% cellspacing=1 border=0 cellpadding=1>"
	"\n"
}

"<tr bgcolor=lightblue>"
  "<td font size=4>"
    "&nbsp;:Dy:-:Dm:-:Dd: :Th:::Tm:&nbsp;&nbsp;:USER:@:HOST:&nbsp;&nbsp;:REV:"
  "</td>"
"</tr>\n"
$if (:TAGS:) {
	"<tr bgcolor=yellow>"
	  "<td>"
	    $each(:TAGS:) {
		"&nbsp;TAG: (:TAGS:)<br>\n"
	    }
	  "</td>"
	"</tr>\n"
}
"<tr bgcolor=white>"
  "<td>"
    $each(:HTML_C:) {
      "&nbsp;(:HTML_C:)"
    }
  "</td>"
"</tr>\n"

$end {
	"</table></td></tr></table></body></html>\n"
}
