You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
angularjs-batarang/app/devtools-panel/panes/model.html

62 lines
1.7 KiB
HTML

11 years ago
<div bat-vertical-split ng-controller="ModelCtrl">
11 years ago
11 years ago
<div bat-vertical-left class="source-code">
11 years ago
<div ng-show="rootScopeIds.length > 1">
11 years ago
<label for="select-root">Root
<select
11 years ago
ng-options="root for root in rootScopeIds"
ng-model="selectedRootScopeId"></select>
11 years ago
</label>
</div>
11 years ago
<bat-scope-tree
11 years ago
val="scopeTree"
11 years ago
inspect="inspect"
select="select"
selected-scope-id="selectedScopeId"
edit="edit"></bat-scope-tree>
11 years ago
11 years ago
<div class="span6">
<button class="btn" ng-click="enableInspector()">Enable Inspector</button>
</div>
11 years ago
11 years ago
</div>
11 years ago
<div bat-vertical-right>
<div class="sidebar-pane-stack fill visible">
11 years ago
<div class="sidebar-pane-title"
ng-class="{expanded: selectedScopeId && modelsExpanded}"
ng-click="modelsExpanded = !modelsExpanded">Models</div>
11 years ago
11 years ago
<div class="sidebar-pane visible" ng-show="modelsExpanded">
11 years ago
<div class="body">
<div class="section expanded">
<div ng-repeat="(key, val) in watching">
<bat-json-tree
val="val"
scope-id="key"
expand="expand"></bat-json-tree>
</div>
</div>
</div>
</div>
11 years ago
<div class="sidebar-pane-title"
ng-class="{expanded: selectedScopeId && watchExpanded && watchers}"
ng-click="watchExpanded = !watchExpanded">Watchers</div>
<div class="sidebar-pane visible" ng-show="watchExpanded">
<div class="body">
<div class="section expanded">
<div class="watcher-list">
<li ng-repeat="watcher in watchers">{{watcher}}</li>
</div>
</div>
</div>
</div>
11 years ago
</div>
</div>
11 years ago
</div>