Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First urgent btn in topic creating box #78

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This repository is a forked version of the base [NodeBB repository](https://gith

## Theming


NodeBB's theming engine is highly flexible and does not restrict your design choices. This version of the repository has our minimalist "Persona" theme installed to get you started.

NodeBB's base theme utilizes [Bootstrap 3](http://getbootstrap.com/) but themes can choose to use a different framework altogether.
Expand Down Expand Up @@ -63,7 +64,6 @@ If you want to directly run the linting and testing commands with specific confi
## License

NodeBB is licensed under the **GNU General Public License v3 (GPL-3)** (http://www.gnu.org/copyleft/gpl.html).

## Helpful Links

* [NodeBB Demo](https://try.nodebb.org)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 20 additions & 4 deletions themes/nodebb-theme-persona/templates/partials/topic/post.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,30 @@ document.addEventListener('DOMContentLoaded', function() {
<!-- ENDIF !posts.selfPost -->
<!-- ENDIF isAnonymous -->

<button id="resolveButton" style="color: white; float: right;" component="post/resolve" class="btn btn-primary btn-sm no-select">Mark as Resolved</button>


<button id="resolveButton"
style="color: white;
float: right;"
component="post/resolve"
class="btn btn-primary btn-sm no-select">Mark as Resolved</button>

<!-- IF posts.selfPost -->
<strong>
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
</strong>
<!-- ENDIF posts.selfPost -->
<!DOCTYPE html>
<html>
<head>
<title>Urgent Button</title>
</head>
<body>
<button style="font-size: 10px; background-color: red; color: white; border: none; padding: 5px 3px;">
⚠️ Urgent!
</button>
</body>
</html>




Expand Down Expand Up @@ -92,8 +109,7 @@ document.addEventListener('DOMContentLoaded', function() {









Expand Down
Loading