forked from apache/shiro-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove boot strap specifics and keep rendering the same
The info, tip, danger, and warning panels are all split out now so changing the styling should be easier. As a bonus all of the missing confluence gif are fixed as well.
- Loading branch information
Showing
5 changed files
with
80 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
#macro(danger $title, $message) | ||
<div markdown="span" class="alert alert-danger" role="alert"> | ||
<i class="fa fa-exclamation-circle"></i> | ||
<b>${title}</b><br/> | ||
${message} | ||
<div class="panelMacro"> | ||
<table class="warningMacro"> | ||
<colgroup span="1"> | ||
<col span="1" width="24"> | ||
<col span="1"> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<td colspan="1" rowspan="1" valign="top"> | ||
<i class="fa fa-exclamation-circle"></i> | ||
</td> | ||
|
||
<td colspan="1" rowspan="1"> | ||
<b>${title}</b> | ||
<br clear="none"> | ||
${message} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
#macro(info $title, $message) | ||
<div markdown="span" class="alert alert-info" role="alert"> | ||
<i class="fa fa-info-circle"></i> | ||
<b>${title}</b><br/> | ||
${message} | ||
<div class="panelMacro"> | ||
<table class="infoMacro"> | ||
<colgroup span="1"> | ||
<col span="1" width="24"> | ||
<col span="1"> | ||
</colgroup> | ||
|
||
|
||
<tbody> | ||
<tr> | ||
<td colspan="1" rowspan="1" valign="top"> | ||
<i class="fa fa-info-circle"></i> | ||
</td> | ||
|
||
<td colspan="1" rowspan="1"> | ||
<b>${title}</b> | ||
<br clear="none"> | ||
${message} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
#macro(tip $title, $message) | ||
<div markdown="span" class="alert alert-success" role="alert"> | ||
<i class="fa fa-check-square-o"></i> | ||
<b>${title}</b><br/> | ||
${message} | ||
<div class="panelMacro"> | ||
<table class="tipMacro"> | ||
<colgroup span="1"> | ||
<col span="1" width="24"> | ||
<col span="1"> | ||
</colgroup> | ||
<tbody><tr> | ||
<td colspan="1" rowspan="1" valign="top"> | ||
<i class="fa fa-check-square-o"></i> | ||
</td> | ||
<td colspan="1" rowspan="1"> | ||
<b>${title}</b> | ||
<br clear="none"> | ||
${message} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
#macro(warning $title, $message) | ||
<div markdown="span" class="alert alert-warning" role="alert"> | ||
<i class="fa fa-warning"></i> | ||
<b>${title}</b><br/> | ||
${message} | ||
<div class="panelMacro"> | ||
<table class="noteMacro"> | ||
<colgroup span="1"> | ||
<col span="1" width="24"> | ||
<col span="1"> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<td colspan="1" rowspan="1" valign="top"> | ||
<i class="fa fa-warning"></i> | ||
</td> | ||
|
||
<td colspan="1" rowspan="1"> | ||
<b>${title}</b> | ||
<br clear="none"> | ||
${message} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
#end |