2020-06-17 20:05:23 +08:00
|
|
|
<div class="dropdown view-switch" >
|
2023-06-28 02:31:25 +08:00
|
|
|
<div href="#" class="btn btn-light btn-black view-switch-button prevent-shrink <%= "disabled" if disabled %>" id="viewSwitchButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
2023-05-09 20:53:50 +08:00
|
|
|
<span class="view-switch-btn-name"><%= name %></span>
|
2023-06-22 17:55:23 +08:00
|
|
|
<span class="sn-icon sn-icon-down"></span>
|
2023-06-15 21:12:51 +08:00
|
|
|
</div>
|
2020-06-03 19:42:09 +08:00
|
|
|
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="viewSwitchButton">
|
|
|
|
<%= yield %>
|
|
|
|
</ul>
|
|
|
|
</div>
|