File: modal.html

package info (click to toggle)
syncthing 1.19.2~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,484 kB
  • sloc: javascript: 36,375; sh: 1,804; xml: 1,049; makefile: 67
file content (22 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (5)
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 https://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="{{icon}}"></span>
          </div>
          {{heading}}
        </h4>
      </div>
      <div ng-transclude></div>
    </div>
  </div>
</div>