summaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal
diff options
context:
space:
mode:
authorshentao <shentao@chinamobile.com>2017-09-01 11:57:47 +0800
committershentao <shentao@chinamobile.com>2017-09-01 11:57:58 +0800
commit57dbba269d19bc59fad89160200bb2dbcccb9003 (patch)
treed466041ceffa2161124ca79a48b3e077777c74b8 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal
parent4ff32341a0af1972b44a7410e76e9b231131e7ab (diff)
Upload Monitor function code
Change-Id: I33ad76221b4cb771a298ff240245fc24be664efb Issue-Id: USECASEUI-6 Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal')
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/error_modal.html19
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modal.html20
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modalpopup.html20
3 files changed, 59 insertions, 0 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/error_modal.html b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/error_modal.html
new file mode 100644
index 00000000..895abaf9
--- /dev/null
+++ b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/error_modal.html
@@ -0,0 +1,19 @@
+<div>
+ <div class="b2b-modal-header ng-scope in">
+ <h2 id="myModalLabel" modal-title="">Error!</h2>
+ <div class="corner-button in">
+ <button type="button" class="close" aria-label="Close"
+ ng-click="$dismiss('cancel')"></button>
+ </div>
+ </div>
+ <div class="b2b-modal-body ng-scope ng-isolate-scope in" tabindex="0"
+ role="region" aria-label="Modal header text content">
+ <p style="word-wrap: break-word;">{{msg}}</p>
+ </div>
+ <div class="b2b-modal-footer ng-scope ng-isolate-scope in">
+ <div class="cta-button-group in">
+ <button class="btn btn-alt btn-small" type="button"
+ ng-click="$dismiss('cancel')">OK</button>
+ </div>
+ </div>
+</div>
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modal.html b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modal.html
new file mode 100644
index 00000000..2584216c
--- /dev/null
+++ b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modal.html
@@ -0,0 +1,20 @@
+<div>
+ <div class="b2b-modal-header ng-scope in">
+ <h2 id="myModalLabel" modal-title="">Success!</h2>
+ <div class="corner-button in">
+ <button type="button" class="close" aria-label="Close"
+ ng-click="$dismiss('cancel')"></button>
+ </div>
+ </div>
+ <div class="b2b-modal-body ng-scope ng-isolate-scope in" tabindex="0"
+ role="region" aria-label="Modal header text content"
+ style="height: 40px;">
+ Your change has been saved! {{msg.text}}
+ </div>
+ <div class="b2b-modal-footer ng-scope ng-isolate-scope in">
+ <div class="cta-button-group in">
+ <button class="btn btn-alt btn-small" type="button"
+ ng-click="$dismiss('cancel')">OK</button>
+ </div>
+ </div>
+</div>
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modalpopup.html b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modalpopup.html
new file mode 100644
index 00000000..e0a168ab
--- /dev/null
+++ b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-modal/success_modalpopup.html
@@ -0,0 +1,20 @@
+<div style="overflow-y:auto">
+ <div class="b2b-modal-header ng-scope in">
+ <h2 id="myModalLabel" modal-title="">Success!</h2>
+ <div class="corner-button in">
+ <button type="button" class="close" aria-label="Close"
+ ng-click="$dismiss('cancel')"></button>
+ </div>
+ </div>
+ <div class="b2b-modal-body ng-scope ng-isolate-scope in" tabindex="0"
+ role="region" aria-label="Modal header text content"
+ style="height: 600px;overflow-y: auto;">
+ <pre> {{msg.text}}</pre>
+ </div>
+ <div class="b2b-modal-footer ng-scope ng-isolate-scope in">
+ <div class="cta-button-group in">
+ <button class="btn btn-alt btn-medium" type="button"
+ ng-click="$dismiss('cancel')">OK</button>
+ </div>
+ </div>
+</div>