-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start removing old views. Hide unauthed panels. Fixup voting/flagging.
- Loading branch information
Showing
24 changed files
with
63 additions
and
290 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
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="form-horizontal"> | ||
<div class="form-group"> | ||
<label class="col-sm-4 control-label">Flags</label> | ||
<div class="col-sm-8"> | ||
<p class="form-control-static">{{flags}}</p> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-4 control-label">Threshold</label> | ||
<div class="col-sm-8"> | ||
<p class="form-control-static">{{#threshold}}{{threshold}}{{/threshold}}</p> | ||
</div> | ||
</div> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{{#isAdmin}} | ||
{{/isAdmin}} |
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,11 +1,13 @@ | ||
{{#isOwner}} | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<div class="panel-title">Author Tools</div> | ||
</div> | ||
<div class="panel-body"> | ||
<ul class="nav nav-pills nav-justified"> | ||
<li><a href="{{{scriptEditMetadataPageUrl}}}" class=""><i class="fa fa-edit"></i> Edit Script Info</a></li> | ||
<li><a href="{{{scruptEditSourcePageUrl}}}" class=""><i class="fa fa-file-text"></i> Edit Script</a></li> | ||
<li><a href="{{{script.scriptEditMetadataPageUrl}}}" class=""><i class="fa fa-edit"></i> Edit Script Info</a></li> | ||
<li><a href="{{{script.scriptEditSourcePageUrl}}}" class=""><i class="fa fa-file-text"></i> Edit Script</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
{{/isOwner}} |
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,10 +1,10 @@ | ||
{{#isMod}} | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<div class="panel-title">Mod Tools</div> | ||
</div> | ||
<div class="panel-body"> | ||
<ul class="nav nav-pills nav-justified"> | ||
<li><a href="#" class="disabled"><i class="fa fa-trash-o"></i> Spam</a></li> | ||
</ul> | ||
{{> includes/flagModelSnippet.html }} | ||
</div> | ||
</div> | ||
{{/isMod}} |
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,6 +1,4 @@ | ||
{{#script}} | ||
{{> includes/scriptUserToolsPanel.html }} | ||
{{> includes/scriptAuthorToolsPanel.html }} | ||
{{> includes/scriptModToolsPanel.html }} | ||
{{> includes/scriptAdminToolsPanel.html }} | ||
{{/script}} |
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
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,3 +1,4 @@ | ||
{{> includes/userToolsPanel.html }} | ||
{{> includes/userUserToolsPanel.html }} | ||
{{> includes/userModToolsPanel.html }} | ||
{{> includes/userAdminToolsPanel.html }} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<ul class="nav nav-pills nav-justified"> | ||
<li><a href="{{{flagUrl}}}" class="{{^canFlag}}disabled{{/canFlag}}"><i class="fa fa-flag{{^flagged}}-o{{/flagged}}"></i> {{#flagged}}Unflag{{/flagged}}{{^flagged}}Flag{{/flagged}}</a></a></li> | ||
</ul> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.