File: modal.html

package info (click to toggle)
syncthing 0.14.18%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,388 kB
  • ctags: 4,608
  • sloc: xml: 781; sh: 271; makefile: 45
file content (22 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="modal fade" tabindex="-1" ng-attr-data-backdrop="{{ closeable == 'yes' ? true : 'static' }}" ng-attr-data-keyboard="{{ closeable == 'yes' ? true : false }}">
  <!--
  // Copyright (C) 2014 The Syncthing Authors.
  //
  // This Source Code Form is subject to the terms of the Mozilla Public
  // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  // You can obtain one at http://mozilla.org/MPL/2.0/.
  -->
  <div class="modal-dialog {{ large == 'yes' ? 'modal-lg' : '' }}">
    <div class="modal-content">
      <div class="modal-header {{status == 'default' ? '' : 'alert alert-'+status }}">
        <h4 class="modal-title">
          <div ng-if="icon" class="panel-icon">
            <span class="fa fa-{{icon}}"></span>
          </div>
          {{heading}}
        </h4>
      </div>
      <div ng-transclude></div>
    </div>
  </div>
</div>