mirror of
https://github.com/MISP/misp-galaxy.git
synced 2025-02-07 12:26:24 +00:00
Add [website] edit button
This commit is contained in:
parent
2eca8cb047
commit
5ffd69f249
3 changed files with 8 additions and 0 deletions
|
@ -51,6 +51,7 @@ class Galaxy:
|
||||||
|
|
||||||
def _create_title_entry(self):
|
def _create_title_entry(self):
|
||||||
entry = ""
|
entry = ""
|
||||||
|
entry += f"[Edit :material-pencil:](https://github.com/MISP/misp-galaxy/edit/main/clusters/{self.json_file_name}){{ .md-button }}\n"
|
||||||
entry += f"# {self.galaxy_name}\n"
|
entry += f"# {self.galaxy_name}\n"
|
||||||
return entry
|
return entry
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
.md-button {
|
||||||
|
font-size: 16px;
|
||||||
|
position: relative;
|
||||||
|
padding: 10px 20px;
|
||||||
|
float: right;
|
||||||
|
}
|
|
@ -78,6 +78,7 @@ extra_javascript:
|
||||||
|
|
||||||
extra_css:
|
extra_css:
|
||||||
- 01_attachements/stylesheets/graph.css
|
- 01_attachements/stylesheets/graph.css
|
||||||
|
- 01_attachements/stylesheets/buttons.css
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
|
|
Loading…
Add table
Reference in a new issue