Skip to content

Commit

Permalink
Merge pull request #1741 from Danielle9897/RDoc-2586-makeBtnClickable
Browse files Browse the repository at this point in the history
RDoc-2586 Make "Development Tools" clickable
  • Loading branch information
ppekrol authored Jan 26, 2024
2 parents 854c6bb + 334fa1d commit 65c9cb9
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Raven.Documentation.Web/Views/Docs/DevControls.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
<div id="devControls" class="dev-controls hidden-controls">

<div class="flex-horizontal">
<h3>Development Tools</h3>
<button id="hideBtn" class="btn-close hidden"><i class="glyphicon glyphicon-chevron-down" onclick="hideControls()"></i></button>
<button id="showBtn" class="btn-show"><i class="glyphicon glyphicon-chevron-up" onclick="showControls()"></i></button>
<button id="hideBtn" class="btn-close hidden" onclick="hideControls()" style="margin-left: 0px; padding-left: 0px;">
<h3>Development Tools</h3>
<i class="glyphicon glyphicon-chevron-down margin-left"></i>
</button>
<button id="showBtn" class="btn-show" onclick="showControls()" style="margin-left: 0px; padding-left: 0px;">
<h3>Development Tools</h3>
<i class="glyphicon glyphicon-chevron-up margin-left"></i>
</button>
</div>

<div class="control">
<div class="btn-group">
@Html.ActionLink("Generate docs for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.Generate, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-danger" })
@Html.ActionLink("Generate docs for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.Generate, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-danger", style = "width: 210px;" })
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">
<span class="sr-only">Toggle Dropdown</span>
</button>
Expand All @@ -21,7 +26,7 @@
</div>
<div class="control">
<div class="btn-group">
@Html.ActionLink("Validate links for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.Validate, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-warning", target = "_blank" })
@Html.ActionLink("Validate links for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.Validate, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-warning", style = "width: 210px;", target = "_blank" })
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
<span class="sr-only">Toggle Dropdown</span>
</button>
Expand All @@ -32,7 +37,7 @@
</div>
<div class="control">
<div class="btn-group">
@Html.ActionLink("Validate mappings for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.ValidateMappings, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-info", target = "_blank" })
@Html.ActionLink("Validate mappings for " + (string)ViewBag.CurrentVersion, MVC.Docs.ActionNames.ValidateMappings, MVC.Docs.Name, new { language = ViewBag.CurrentLanguage, version = ViewBag.CurrentVersion, key = ViewBag.Key, all = false }, new { @class = "btn btn-info", style = "width: 210px;", target = "_blank" })
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
<span class="sr-only">Toggle Dropdown</span>
</button>
Expand Down

0 comments on commit 65c9cb9

Please sign in to comment.