diff options
-rw-r--r-- | doc/style.css | 4 | ||||
-rw-r--r-- | templates/smcvpostcomment_display.tmpl | 4 | ||||
-rw-r--r-- | templates/smcvpostcomment_embed.tmpl | 4 | ||||
-rw-r--r-- | templates/smcvpostcomment_form.tmpl | 9 |
4 files changed, 12 insertions, 9 deletions
diff --git a/doc/style.css b/doc/style.css index a30c5556f..896ac2b01 100644 --- a/doc/style.css +++ b/doc/style.css @@ -373,7 +373,7 @@ span.color { padding: 2px; } -.smcvpostcomment-page .author { font-weight: bold; } -.smcvpostcomment-page { border: 1px inset #999; margin: 3px; padding: 3px; } +.smcvpostcomment-display .author { font-weight: bold; } +.smcvpostcomment-display { border: 1px inset #999; margin: 3px; padding: 3px; } .smcvpostcomment-header { font-style: italic; } .smcvpostcomment-subject { font-weight: bold; border-bottom: 1px solid #999; } diff --git a/templates/smcvpostcomment_display.tmpl b/templates/smcvpostcomment_display.tmpl index 32618d94d..1b67f9094 100644 --- a/templates/smcvpostcomment_display.tmpl +++ b/templates/smcvpostcomment_display.tmpl @@ -1,4 +1,4 @@ -<div class="smcvpostcomment-page"> +<div class="smcvpostcomment-display"> <div class="smcvpostcomment-header"> Posted by @@ -21,4 +21,4 @@ Posted by <TMPL_VAR CONTENT> </div> -</div><!--.inlinepage--> +</div><!--.smcvpostcomment-display--> diff --git a/templates/smcvpostcomment_embed.tmpl b/templates/smcvpostcomment_embed.tmpl index c1826638b..db35e4da7 100644 --- a/templates/smcvpostcomment_embed.tmpl +++ b/templates/smcvpostcomment_embed.tmpl @@ -1,6 +1,6 @@ -<div> +<div class="smcvpostcomment-embed"> <TMPL_IF NAME=DISABLED> -Posting comments disabled: <TMPL_VAR NAME=DISABLED> +[Posting comments disabled: <TMPL_VAR NAME=DISABLED>] <TMPL_ELSE> <a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=smcvpostcomment&page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a> </TMPL_IF> diff --git a/templates/smcvpostcomment_form.tmpl b/templates/smcvpostcomment_form.tmpl index 7f138a450..43fc9b65a 100644 --- a/templates/smcvpostcomment_form.tmpl +++ b/templates/smcvpostcomment_form.tmpl @@ -1,3 +1,4 @@ +<div class="smcvpostcomment-form"> <TMPL_VAR MESSAGE> <TMPL_VAR FORM-START> <TMPL_VAR FIELD-DO> @@ -14,9 +15,11 @@ IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not <TMPL_IF NAME="PAGE_PREVIEW"> <hr /> <div class="header"> -<span>Page preview:</span> -</div> +<span>Comment preview:</span> +</div><!-- .header --> <div id="preview"> <TMPL_VAR PAGE_PREVIEW> -</div> +</div><!-- #preview --> </TMPL_IF> + +</div><!-- .smcvpostcomment-form --> |