Skip to content

Commit b61bb81

Browse files
committed
hmm
1 parent 5b45adb commit b61bb81

File tree

1 file changed

+30
-21
lines changed

1 file changed

+30
-21
lines changed

dash.html

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,16 @@
9090
<!-- /ko --> </a>
9191
<ul class="dropdown">
9292
<!-- ko if: $parent.isWidgetNavVisible -->
93-
<li class="divider hide-for-large-up"></li>
94-
<li class="has-dropdown not-click hide-for-large-up">
95-
<!-- ko template: 'managewidgetlinks-template' -->
96-
<!-- /ko -->
93+
<li class="divider hide-for-medium-up"></li>
94+
<li class="has-form hide-for-medium-up">
95+
<a data-bind="click: createWidget" class="button">
96+
<i class="fa fa-wrench"></i>&nbsp;Create New Widget
97+
</a>
98+
</li>
99+
<li class="has-form hide-for-medium-up">
100+
<a class="button secondary" href="#managewidgets">
101+
<i class="fa fa-wrench"></i>&nbsp;Clone Existing Widget
102+
</a>
97103
</li>
98104
<!-- /ko -->
99105

@@ -108,10 +114,16 @@
108114
</li>
109115
<!-- /ko -->
110116
<!-- ko if: $parent.isWidgetNavVisible -->
111-
<li class="divider show-for-large-up"></li>
112-
<li class="has-dropdown not-click show-for-large-up">
113-
<!-- ko template: 'managewidgetlinks-template' -->
114-
<!-- /ko -->
117+
<li class="divider show-for-medium-up"></li>
118+
<li class="has-dropdown not-click show-for-medium-up">
119+
<a>
120+
<span class="fa fa-list-alt"></span>
121+
Widget
122+
</a>
123+
<ul class="dropdown">
124+
<!-- ko template: 'managewidgetlinks-template' -->
125+
<!-- /ko -->
126+
</ul>
115127
</li>
116128
<!-- /ko -->
117129

@@ -159,19 +171,16 @@
159171
<!-- ko template: {name: 'notifications-template', data: drata.nsx.notifier} -->
160172
<!-- /ko -->
161173
<script type="text/html" id="managewidgetlinks-template">
162-
<a><span class="fa fa-list-alt"></span> Widgets</a>
163-
<ul class="dropdown">
164-
<li class="has-form">
165-
<a data-bind="click: createWidget" class="button">
166-
<i class="fa fa-wrench"></i>&nbsp;Create New Widget
167-
</a>
168-
</li>
169-
<li class="has-form">
170-
<a class="button secondary" href="#managewidgets">
171-
<i class="fa fa-wrench"></i>&nbsp;Clone Existing Widget
172-
</a>
173-
</li>
174-
</ul>
174+
<li class="has-form">
175+
<a data-bind="click: createWidget" class="button">
176+
<i class="fa fa-wrench"></i>&nbsp;Create New Widget
177+
</a>
178+
</li>
179+
<li class="has-form">
180+
<a class="button secondary" href="#managewidgets">
181+
<i class="fa fa-wrench"></i>&nbsp;Clone Existing Widget
182+
</a>
183+
</li>
175184
</script>
176185

177186
<div class="form-error fixed" data-bind="visible: formErrors().length > 0" style="display:none">

0 commit comments

Comments
 (0)