File tree Expand file tree Collapse file tree 2 files changed +14
-61
lines changed Expand file tree Collapse file tree 2 files changed +14
-61
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css ">
6
6
< link rel ="stylesheet " href ="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css ">
7
7
< style type ="text/css ">
8
+
9
+ body , html {
10
+ min-height : 1400px ;
11
+ }
12
+
8
13
.red {
9
14
border : 1px solid red;
10
15
background : # fee ;
11
16
}
12
17
13
- .ace_editor { height : 600px ; font-size : 20px !important ;}
18
+ .ace_editor { font-size : 20px !important ;}
19
+ .form { height : 400px ; }
20
+ .schema { height : 800px ; }
14
21
</ style >
15
22
</ head >
16
23
< body ng-controller ="TestCtrl ">
@@ -22,16 +29,16 @@ <h1>Schema Form Example</h1>
22
29
< h3 > The Generated Form</ h3 >
23
30
< form name ="ngform " sf-model ="person " sf-form ="form " sf-schema ="schema " sf-decorator ="{{decorator}} ">
24
31
</ form >
32
+ < h3 > Model</ h3 >
33
+ < pre > {{pretty()}}</ pre >
25
34
</ div >
26
35
< div class ="col-sm-8 ">
27
- < h3 > Schema</ h3 >
28
- < div ui-ace ="{ theme: 'monokai',mode:'json'} "
29
- ng-class ="{red: !itParses} " rows ="15 " ng-model ="schemaJson " class ="form-control "> </ div >
30
36
< h3 > Form</ h3 >
31
37
< div ui-ace ="{ theme: 'monokai',mode:'json'} "
32
- ng-class ="{red: !itParsesForm} " rows ="15 " ng-model ="formJson " class ="form-control "> </ div >
33
- < h3 > Model</ h3 >
34
- < pre > {{pretty()}}</ pre >
38
+ ng-class ="{red: !itParsesForm} " ng-model ="formJson " class ="form-control form "> </ div >
39
+ < h3 > Schema</ h3 >
40
+ < div ui-ace ="{ theme: 'monokai',mode:'json'} "
41
+ ng-class ="{red: !itParses} " ng-model ="schemaJson " class ="form-control schema "> </ div >
35
42
</ div >
36
43
</ div >
37
44
</ div >
You can’t perform that action at this time.
0 commit comments