File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,18 @@ html, body {
134134}
135135
136136.newModelObject {
137+ position : absolute;
138+ z-index : 1 ;
139+ right : 150px ;
140+ }
141+
142+ .exportConductButton {
143+ position : absolute;
144+ z-index : 1 ;
145+ right : 75px ;
146+ }
147+
148+ .importConductButton {
137149 position : absolute;
138150 z-index : 1 ;
139151 right : 1px ;
Original file line number Diff line number Diff line change @@ -351,6 +351,16 @@ function deleteFlowObject() {
351351 deleteSelected ( )
352352}
353353
354+ function exportConduct ( ) {
355+ var conductID = GetURLParameter ( "conductID" )
356+ window . open ( "/conductEditor/" + conductID + "/export/" , "_blank" ) ;
357+ }
358+
359+ function importConduct ( ) {
360+ var conductID = GetURLParameter ( "conductID" )
361+ window . open ( "/conductEditor/" + conductID + "/import/" , "_blank" ) ;
362+ }
363+
354364function copyFlowObject ( ) {
355365 selectedNodes = network . getSelectedNodes ( )
356366 if ( selectedNodes . length == 1 ) {
Original file line number Diff line number Diff line change 3939 < body >
4040 < div class ="ui-container ">
4141 < button onclick ="createNewObjectPanel() " class ="btn btn-primary newModelObject theme-panelButton "> +</ button >
42+ < button onclick ="exportConduct() " class ="btn btn-primary exportConductButton theme-panelButton "> Export</ button >
43+ < button onclick ="importConduct() " class ="btn btn-primary importConductButton theme-panelButton "> Import</ button >
4244 < div class ="ui-main ">
4345 <!-- Right Click Menu -->
4446 < ul id ="contextMenu " class ="dropdown-menu " role ="menu " style ="display:none " >
You can’t perform that action at this time.
0 commit comments