mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-23 11:29:31 +00:00
Use bootstrap styles for markdown tables.
This commit is contained in:
parent
b478170d7f
commit
c814bae3af
2 changed files with 3 additions and 26 deletions
|
|
@ -393,7 +393,7 @@ $(document).on("ajaxUI:start", function () {
|
|||
var txt = document.createElement('textarea');
|
||||
txt.innerHTML = html;
|
||||
return txt.value;
|
||||
};
|
||||
}
|
||||
|
||||
function parseMarkdown() {
|
||||
$('.markdown').each(function() {
|
||||
|
|
@ -406,6 +406,8 @@ $(document).on("ajaxUI:start", function () {
|
|||
|
||||
//Make all links external
|
||||
$('a', this).addClass('link-external').attr('target', '_blank');
|
||||
//Bootstrapify objects
|
||||
$('table', this).addClass('table table-hover table-striped table-bordered');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue