Add [website] edit button

pull/948/head
niclas 2024-03-14 10:51:22 +01:00
parent 2eca8cb047
commit 5ffd69f249
3 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class Galaxy:
def _create_title_entry(self):
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"
return entry

View File

@ -0,0 +1,6 @@
.md-button {
font-size: 16px;
position: relative;
padding: 10px 20px;
float: right;
}

View File

@ -78,6 +78,7 @@ extra_javascript:
extra_css:
- 01_attachements/stylesheets/graph.css
- 01_attachements/stylesheets/buttons.css
plugins:
- search