Style fixes to default template
This commit is contained in:
parent
58512f2e1f
commit
39fa2f806a
1 changed files with 5 additions and 5 deletions
|
|
@ -13,12 +13,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
% if (! ~ $#sidebar 0) {
|
% if(! ~ $#sidebar 0) {
|
||||||
<div id="side-bar">
|
<div id="side-bar">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
%{
|
%{
|
||||||
if (! ~ $#sideBarNavTitle 0)
|
if(! ~ $#sideBarNavTitle 0)
|
||||||
echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
|
echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
|
||||||
|
|
||||||
gensidebar
|
gensidebar
|
||||||
|
|
@ -26,7 +26,7 @@ gensidebar
|
||||||
%}
|
%}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
% if (! ~ $#wiki 0 && test -f $local_path.md && check_user $wiki_editors_group) {
|
% if(! ~ $#wiki 0 && test -f $local_path.md && check_user $wiki_editors_group) {
|
||||||
<div>
|
<div>
|
||||||
<form action="/_apps/dirdir/edit" method="POST">
|
<form action="/_apps/dirdir/edit" method="POST">
|
||||||
<input type="hidden" name="edit_wiki_page" value="%($req_path%)" />
|
<input type="hidden" name="edit_wiki_page" value="%($req_path%)" />
|
||||||
|
|
@ -44,11 +44,11 @@ gensidebar
|
||||||
<div id="main-copy">
|
<div id="main-copy">
|
||||||
% genbody
|
% genbody
|
||||||
|
|
||||||
% if (! ~ $#allowComments 0) {
|
% if(! ~ $#allowComments 0) {
|
||||||
|
|
||||||
%{
|
%{
|
||||||
cdir = $local_path.md_werc/comments
|
cdir = $local_path.md_werc/comments
|
||||||
if (test -d $cdir) {
|
if(test -d $cdir) {
|
||||||
echo '<hr /><h2>Comments</h2>'
|
echo '<hr /><h2>Comments</h2>'
|
||||||
for(c in `{ls $cdir/}) {
|
for(c in `{ls $cdir/}) {
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue