You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by da...@apache.org on 2015/05/04 04:21:28 UTC
stratos git commit: implement toggle view on policies jira
[STRATOS-1060]
Repository: stratos
Updated Branches:
refs/heads/master be6b5807a -> 702f680b4
implement toggle view on policies jira [STRATOS-1060]
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/702f680b
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/702f680b
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/702f680b
Branch: refs/heads/master
Commit: 702f680b4afbc341b2c41ebcc49a4792f8a6590c
Parents: be6b580
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Mon May 4 07:50:08 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Mon May 4 07:50:08 2015 +0530
----------------------------------------------------------------------
.../console/themes/theme0/partials/configure_form.hbs | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/702f680b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
index cf830de..c65f04f 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
@@ -18,7 +18,16 @@
<div class='row'>
<div class='container text-center form-toolbar'>
{{#if isEdit}}
- <div class='col-md-1'><button class='btn btn-default btn-lg' type='button' onclick='window.location.replace(document.referrer)'> Back</button></div>
+ <div class='col-md-1'><button class='btn btn-default btn-lg' type='button'
+ onclick='window.location.replace(document.referrer)'>
+ Back</button></div>
+ <div class='col-md-11'>
+ <div class="editor-button">
+ <span class='pull-right'>Toggle View:
+ <input type="checkbox" name="editor-view" id='editortoggle' checked>
+ </span>
+ </div>
+ </div>
{{else}}
<div class='col-md-5'>
<div class="editor-button">
@@ -336,6 +345,7 @@
}
{{#if isEdit}}
editor.disable();
+ $('#jsoneditor').attr('readonly','readonly');
{{/if}}
// Hook up the validation indicator to update its