Innov-AI
    Documentation | MentDB Weak Server
Show all commits for a specific group

  • Right click on the 'admin' group and select 'Show commits'
  • version show_commits "admin" ".*.*" 100;
  • "COMMITS
    <20230804115635_Vr5Bgo_UeiGbJ_CMT>
          admin - message
          version show_scriptnames admin 20230804115635_Vr5Bgo_UeiGbJ_CMT;
          version show_scripts admin 20230804115635_Vr5Bgo_UeiGbJ_CMT;
    <20230804114436_WlueVW_lbEH4q_CMT>
          admin - first commit
          version show_scriptnames admin 20230804114436_WlueVW_lbEH4q_CMT;
          version show_scripts admin 20230804114436_WlueVW_lbEH4q_CMT;
    ";
  • Select 'version show_scripts admin 20230804115635_Vr5Bgo_UeiGbJ_CMT;', right click and select 'Eval MQL...'
  • You get all scripts in the commit:
  • script merge "app.100.template.new_organization.actions.demo.test.exe" false 1 
      (param
      ;) 
      "Test" 
    {
    
    	include "app.100.obj.sajax.alert.exe"
    		"[type]" "ALERT_SUCCESS"
    		"[strong]" "OK !"
    		"[msg]" "Super
    		..."
    	;
    
    ;} "";
    script set delay "app.100.template.new_organization.actions.demo.test.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.app" false 1 
      (param
      ;) 
      "Start point for the template" 
    {
    
    	#Main actions;
    	if (not (is null or empty [app_action])) {
    
    		#Disconnect the user;
    		if (equal [app_action] "logout";) {
    
    			json iobject "app" / connected "0" STR;
    			json iobject "app" / disconnected "1" STR;
    		
    		};
    
    		#Menu toggle;
    		if (equal [app_action] "menu_toggle") {
    
    			if (json select "app" /menu_default_show) {
    				log trace test1;
    				json iobject "app" / menu_default_show false STR;
    			
    			} {
    				log trace test2;
    				json iobject "app" / menu_default_show true STR;
    			
    			};
    		
    		};
    	
    	};
    
    	#Change the page;
    	if (not (is null or empty [app_page])) {
    
    		json iobject "app" / "current_page" [app_page] STR;
    	
    	};
    	
    	-> "[app_page]" (json select "app" /current_page);
    	-> "[app_user]" (json select "app" /user);
    
    	#Check if the user is connected;
    	if (json select "app" /connected) {
    
    		include (concat "app." [app_version] ".template." [app_template] ".page." [app_page] ".exe");
    	
    	} {
    		
    		#try to connect if the user is send;
    		if (is not null (json select "app" "/param/x-user")) {
    
    			try {
    				
    				sql connect "session1" {cm get (json select "app" "/database")};
    
    				if (or (> (sql value "session1" (concat "select count(*) from `user_group` where group_id<=2 and `login`=" (sql encode (json select "app" "/param/x-user")))) 0)
    					(> (sql value "session1" (concat "select count(*) from `app_user` where app_id=" (sql encode (json select "app" "/context")) " and `login`=" (sql encode (json select "app" "/param/x-user")))) 0)) {
    				
    					if (> (sql value "session1" (concat "select count(*) from `users` where activate='Y' and `login`=" (sql encode (json select "app" "/param/x-user")) " and `password`=" (sql encode (string md5 (json select "app" "/param/x-password"))))) 0) {
    	
    						json iobject "app" / groups (sql col_distinct "session1" (concat "select distinct tag 
    							from user_group inner join group_tag on user_group.group_id=group_tag.group_id
    							where login=" (sql encode (json select "app" "/param/x-user")));) OBJ;
    						
    						json iobject "app" / connected "1" STR;
    						json iobject "app" / "user" (json select "app" "/param/x-user") STR;
    						json iobject "app" / "current_page" (json select "app" "/default_page") STR;
    						-> "[app_page]" (json select "app" /current_page);
    						
    						include (concat "app." [app_version] ".template." [app_template] ".page." [app_page] ".exe");
    						
    					} {
    						
    						include (concat "app." [app_version] ".template." [app_template] ".page.login.exe") "[err]" (json select "app" "/login_error_msg");
    						
    					};
    
    				} {
    					
    					include (concat "app." [app_version] ".template." [app_template] ".page.login.exe") "[err]" "No rights on this application.";
    					
    				};
    				
    				sql disconnect "session1";
    		
    			} {
    				
    				include (concat "app." [app_version] ".template." [app_template] ".page.login.exe") "[err]" [err];
    				try {sql disconnect "session1";} {} "[sub_err]";
    				
    			} "[err]";
    
    			[page];
    		
    		} {
    
    			include (concat "app." [app_version] ".template." [app_template] ".page.login.exe") "[err]" "";
    		
    		};
    	
    	};
    
    } "html";
    script set delay "app.100.template.new_organization.app" 0 day {1};
    
    
    script merge "app.100.template.new_organization.conf" false 1 
      (param
      ;) 
      "Configuration" 
    {
    
    	json load "configuration" "{}";
    
    	#All;
    	json iobject "configuration" / title "Demonstration" STR;
    	json iobject "configuration" / bar_icon "bar_icon.png" STR;
    	json iobject "configuration" / font_family "Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;" STR;
    	json iobject "configuration" / copyright_years (concat "2012 - " (date year (date sysdate))) STR;
    	json iobject "configuration" / copyright_link "<a href='https://www.mentdb.org' style='color:#fff' target='_blank'><b>MentDB</b></a>" STR;
    	
    	#login;
    	json iobject "configuration" / login_logo "logo.png" STR;
    	json iobject "configuration" / login_placeholder_user "User" STR;
    	json iobject "configuration" / login_placeholder_password "Password" STR;
    	json iobject "configuration" / login_submit_title "Login" STR;
    	json iobject "configuration" / login_error_msg "Bad user or password." STR;
    
    	#default page;
    	json iobject "configuration" / default_page "home" STR;
    
    	#top;
    	json iobject "configuration" / top_background_color "#313131" STR;
    	json iobject "configuration" / top_color "#fff" STR;
    	json iobject "configuration" / top_logo "logow.png" STR;
    	json iobject "configuration" / top_logo_width "50px" STR;
    	json iobject "configuration" / top_logo_top "-2px" STR;
    	json iobject "configuration" / top_logo_left "10px" STR;
    	json iobject "configuration" / top_title "Demonstration" STR;
    
    	#menu;
    	json iobject "configuration" / menu_background_color "#fff" STR;
    	json iobject "configuration" / menu_default_show true STR;
    	json iobject "configuration" / menu "[]" ARRAY;
    	
    	app menu "/menu" "home" "Home" "fa-home" "index.jsp?app_page=home" post "home" "menu_demo_home" "*-";
    	app menu "/menu[0]/menu" "id" "Title" "fa-edit" "index.jsp?app_page=home&app_action=" get "home" "menu_demo_id" "*-";
    	app menu "/menu" "user" "User" "fa-users" "index.jsp?app_page=user" post "user" "menu_demo_users" "*+";
    	app menu "/menu" "help" "Help" "fa-life-ring" "index.jsp?app_page=help" post "help" "menu_demo_help" "*+";
    
    	json doc "configuration";
    
    } "";
    script set delay "app.100.template.new_organization.conf" 0 day {1};
    
    
    script merge "app.100.template.new_organization.html.bar_top.exe" false 1 
      (param
      ;) 
      "Bar top" 
    {
    
    	concat_var "[page]" "<div style='box-shadow: 0px 0px 8px " (json select "app" "/top_background_color") ";z-index: 999;position: fixed;width:100%;height:65px;line-height:63px;
    		background-color: " (json select "app" "/top_background_color") ";
    		color: " (json select "app" "/top_color") ";
    		font-size: 22px;'>
    		<img src='images/refresh.gif' style='display:none'>
    	     <a class='btn btn-primary' style='background-color: #D70000;border: 0px;-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;color: #484848;display: inline-block;width: 16px;height: 100%;line-height: 15px;padding-left: 1px;padding-right: 12px;margin-top: -1px;' href='https://" (file ini "conf/server.conf" "WEBSERVER" "WEB_SERVER_HOST") ":" (file ini "conf/server.conf" "WEBSERVER" "WEB_SERVER_PORT_HTTPS") "'><img style='margin-left: 1px;width:10px;margin-top: 2px;' src='images/ml.png'></a>
    	     <a href='index.jsp'><img id='top_refresh_icon' src='images/" (json select "app" "/top_logo") "' 
    			style='vertical-align:middle;
    		     width:" (json select "app" "/top_logo_width") ";
    			margin-top:" (json select "app" "/top_logo_top") ";
    			margin-left:" (json select "app" "/top_logo_left") ";'></a>   " (json select "app" "/top_title") "
    
    		<div style='float:right'>
    			<span class='hidden-xs' style='font-size:18px'>" (json select "app" "/user") "</span>  
    			<a style='margin-right: 20px;color:#fff' href='index.jsp?app_action=menu_toggle'><i class='fa fa-bars' style='vertical-align: middle;'></i></a>
    			<a style='margin-right: 20px;color:#fff' href='index.jsp?app_action=logout'><i class='fa fa-power-off' style='vertical-align: middle;'></i></a>
    		</div>
    	
    	</div>";
    
    ;} "html";
    script set delay "app.100.template.new_organization.html.bar_top.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.html.body_bottom.exe" false 1 
      (param
      ;) 
      "Body bottom" 
    {
    
    	concat_var "[page]" "    </div>";
    	concat_var "[page]" "  </div>";
    	concat_var "[page]" "</div>";
    	
    	include (concat "app." [app_version] ".obj.onload.exe");
    
    	concat_var "[page]" "</body></html>";
    
    	[page]
    
    ;} "html";
    script set delay "app.100.template.new_organization.html.body_bottom.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.html.body_top_doc.exe" false 1 
      (param
      ;) 
      "Body top" 
    {
    
    	-> "[page]" "";
    
    	concat_var "[page]" "<!doctype html>
    		<html lang=\"fr\" style='height:100%'>
    		<head>
    		  <meta charset=\"utf-8\">
    		  <title>" (json select "app" "/title") "</title>
    		  <link href=\"font_awesome/css/font-awesome.min.css\" rel=\"stylesheet\">
    		  <link href=\"css/menu-vertical.css\" rel=\"stylesheet\">
    		  <script src=\"js/menu-vertical.js\"></script>
    		  <link href=\"dist/css/bootstrap.css\" rel=\"stylesheet\">
    		  <link href=\"css/tempusdominus-bootstrap-4.min.css\" rel=\"stylesheet\">
    		  <script src=\"js/jquery.min.js\"></script>
    		  <script src=\"js/moment-with-locales.js\"></script>
    		  <script src=\"js/tempusdominus-bootstrap-4.min.js\"></script>
    		  <script src=\"js/utils.js\"></script>
    		  <script src=\"js/Chart.bundle.js\"></script>
    		  <script src=\"dist/js/bootstrap.min.js\"></script>
    		  <script src=\"js/jquery.sparkline.min.js\"></script>
    		  <script src=\"js/raphael-2.1.4.min.js\"></script>
    		  <script src=\"js/justgage.js\"></script>
    		  <script src=\"js/progressbar.min.js\"></script>
    		  <script src=\"js/ckeditor.js\"></script>
    		  <script src=\"js/mentdb.js\"></script>
    		  <link rel=\"icon\" type=\"image/png\" href=\"images/" (json select "app" "/bar_icon") "\" />
    		  <style>
    .jqstooltip{
        box-sizing: content-box;
    }
    
    .GaugeMeter{
    	Position:        Relative;
    	Text-Align:      Center;
    	Overflow:        Hidden;
    	Cursor:          Default;
    }
    
    .GaugeMeter SPAN,
        .GaugeMeter B{
        	Margin:          0 23%;
        	Width:           50%;
        	Position:        Absolute;
        	Text-align:      Center;
        	Display:         Inline-Block;
        	Color:           RGBa(0,0,0,.8);
        	Font-Weight:     100;
        	Font-Family:     \"Open Sans\", Arial;
        	Overflow:        Hidden;
        	White-Space:     NoWrap;
        	Text-Overflow:   Ellipsis;
    }
    .GaugeMeter[data-style=\"Semi\"] B{
    	Margin:          0 10%;
    	Width:           80%;
    }
    
    .GaugeMeter S,
        .GaugeMeter U{
        	Text-Decoration: None;
        	Font-Size:       .49em;
        	Opacity:         .5;
    }
    
    .GaugeMeter B{
    	Color:           Black;
    	Font-Weight:     300;
    	Opacity:         .8;
    }
    
    .progress > svg {
    	width: 100%;
    	height: 100%;
    	display: block;
    }
    			
    		  </style>
    		</head>
    		<body id=\"body\" style='height:100%;margin:0px;color:#333;font-family: " (json select "app" "/font_family") ";font-size: 12px;'>
    			<div id='mentdb_alert_container'></div><div id='mentdb_modal_container'></div>";
    
    	include (concat "app." [app_version] ".template." [app_template] ".html.bar_top.exe");
    	concat_var "[page]" "<div style='display:table;width:100%;height:100%;padding-top: 65px;'>";
    	concat_var "[page]" "  <div style='display:table-row'>";
    	if (json select "app" /menu_default_show) {
    	
    		concat_var "[page]" "    <div style='display:table-cell;width:70px;border-right: 1px solid rgba(0,0,0,.11);vertical-align: top;'>";
    		include (concat "app." [app_version] ".template." [app_template] ".html.menu_left.exe");
    		concat_var "[page]" "    </div>";
    	
    	};
    	
    	concat_var "[page]" "    <div style='display:table-cell;background-color:#f1f2f3;padding: 8px;'>";
    
    ;} "html";
    script set delay "app.100.template.new_organization.html.body_top_doc.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.html.menu_left.exe" false 1 
      (param
      ;) 
      "Menu left" 
    {
    	
    	concat_var "[page]" "<div style='width: 100%;width:100%;height:100%;
    		background-color: " (json select "app" "/menu_background_color") ";'>
    
    		" (app menu show) "
    	
    	</div>";
    
    ;} "html";
    script set delay "app.100.template.new_organization.html.menu_left.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.help.exe" false 1 
      (param
      ;) 
      "Show the help page" 
    {
    
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_top_doc.exe");
    
    	#____________________________________________________________;
    
    	include "app.100.obj.sajax.skeleton.container.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "kpi" "[name]" "" "[class]" "col-6 col-xs-6 col-sm-6 col-md-6 col-lg-6" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "progress_bar" "[name]" "" "[class]" "col-6 col-xs-6 col-sm-6 col-md-6 col-lg-6" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_line" "[name]" "" "[class]" "col-4 col-xs-4 col-sm-4 col-md-4 col-lg-4" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_bar" "[name]" "" "[class]" "col-4 col-xs-4 col-sm-4 col-md-4 col-lg-4" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_box" "[name]" "" "[class]" "col-4 col-xs-4 col-sm-4 col-md-4 col-lg-4" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_tristate" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_discrete" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_bullet" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "sparkline_pie" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "bar_vertical" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "bar_horizontal" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "bar_vertical_stacked" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "bar_horizontal_stacked" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "doughnut" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "pie" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "polar" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "radar" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_basic" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_basic_fill" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_stepped_before" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_stepped_after" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "time_basic" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "time_basic_fill" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "time_courbe" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "time_courbe_fill" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_courbe" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_courbe_fill" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "line_point" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "gauge" "[name]" "" "[class]" "col-3 col-xs-3 col-sm-3 col-md-3 col-lg-3" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    	include "app.100.obj.sajax.skeleton.div.end.exe";
    
    
    
    	include "app.100.obj.sajax.skeleton.onload.exe"
    		"[scriptname]" (concat "app." [app_version] ".template." [app_template] ".page.help.onload.exe")
    		"[client_data]" (json select "app" "/param")
    	;
    	
    	#____________________________________________________________;
    	
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_bottom.exe");
    
    ;} "The 'help' page";
    script set delay "app.100.template.new_organization.page.help.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.help.onload.exe" false 1 
      (param
      	(var "[OBJ_OVERWRITE]" {true} "" is_null:false is_empty:true "{}")
      ;) 
      "Show the help page" 
    {
    
    	include "app.100.obj.kpi.exe" "[container_id]" "kpi";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_bar" "[type]" "bar";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_line" "[type]" "line";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_box" "[type]" "box";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_tristate" "[type]" "tristate";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_discrete" "[type]" "discrete";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_bullet" "[type]" "bullet";
    	include "app.100.obj.sparkline.exe" "[container_id]" "sparkline_pie" "[type]" "pie";
    	include "app.100.obj.progress_bar.exe" "[container_id]" "progress_bar";
    	include "app.100.obj.chartjs.bar_vertical.exe" "[container_id]" "bar_vertical";
    	include "app.100.obj.chartjs.bar_horizontal.exe" "[container_id]" "bar_horizontal";
    	include "app.100.obj.chartjs.bar_vertical_stacked.exe" "[container_id]" "bar_vertical_stacked";
    	include "app.100.obj.chartjs.bar_horizontal_stacked.exe" "[container_id]" "bar_horizontal_stacked";
    	include "app.100.obj.chartjs.doughnut.exe" "[container_id]" "doughnut";
    	include "app.100.obj.chartjs.pie.exe" "[container_id]" "pie";
    	include "app.100.obj.chartjs.polar.exe" "[container_id]" "polar";
    	include "app.100.obj.chartjs.radar.exe" "[container_id]" "radar";
    	include "app.100.obj.chartjs.line_basic.exe" "[container_id]" "line_basic";
    	include "app.100.obj.chartjs.line_basic_fill.exe" "[container_id]" "line_basic_fill";
    	include "app.100.obj.chartjs.line_stepped_before.exe" "[container_id]" "line_stepped_before";
    	include "app.100.obj.chartjs.line_stepped_after.exe" "[container_id]" "line_stepped_after";
    	include "app.100.obj.chartjs.line_courbe.exe" "[container_id]" "line_courbe";
    	include "app.100.obj.chartjs.line_courbe_fill.exe" "[container_id]" "line_courbe_fill";
    	include "app.100.obj.chartjs.line_point.exe" "[container_id]" "line_point";
    	include "app.100.obj.chartjs.time_basic.exe" "[container_id]" "time_basic";
    	include "app.100.obj.chartjs.time_courbe.exe" "[container_id]" "time_courbe";
    	include "app.100.obj.chartjs.time_courbe_fill.exe" "[container_id]" "time_courbe_fill";
    	include "app.100.obj.chartjs.time_basic_fill.exe" "[container_id]" "time_basic_fill";
    	include "app.100.obj.gauge_meter.exe" "[container_id]" "gauge";
    
    ;} "The 'help' page";
    script set delay "app.100.template.new_organization.page.help.onload.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.home.exe" false 1 
      (param
      ;) 
      "Show the home page" 
    {
    
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_top_doc.exe");
    
    	#____________________________________________________________;
    
    	#Your container code here;
    	include "app.100.obj.sajax.skeleton.container.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    		include "app.100.obj.sajax.skeleton.row.exe" "[id]" "" "[name]" "" "[class]" "" "[style]" "";
    			include "app.100.obj.sajax.skeleton.col.exe" "[id]" "container_id_1" "[name]" "" "[class]" "col-12 col-xs-12 col-sm-12 col-md-12 col-lg-12" "[style]" ""; include "app.100.obj.sajax.skeleton.div.end.exe";
    		include "app.100.obj.sajax.skeleton.div.end.exe";
    	include "app.100.obj.sajax.skeleton.div.end.exe";
    
    	include "app.100.obj.sajax.skeleton.onload.exe"
    		"[scriptname]" (concat "app." [app_version] ".template." [app_template] ".page.home.onload.exe")
    		"[client_data]" (json select "app" "/param")
    	;
    	
    	#____________________________________________________________;
    	
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_bottom.exe");
    
    ;} "The 'home' page";
    script set delay "app.100.template.new_organization.page.home.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.home.onload.exe" false 1 
      (param
      	(var "[OBJ_OVERWRITE]" {true} "" is_null:false is_empty:true "{}")
      ;) 
      "Show the home page" 
    {
    
    	include "app.100.obj.sajax.refresh.exe"
    		"[target]" "container_id_1"
    		"[innerHtml]" "<div style='background-color:#313131;color:#fff'>Hello!</div>"
    	;
    
    ;} "The 'home' page";
    script set delay "app.100.template.new_organization.page.home.onload.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.login.exe" false 1 
      (param
      	(var "[err]" {true} "The error message" is_null:true is_empty:true "Bad password.")
      ;) 
      "Show the login page" 
    {
    
    	-> "[page]" "";
    
    	concat_var "[page]" "<!doctype html>
    		<html lang=\"fr\">
    		<head>
    		  <meta charset=\"utf-8\">
    		  <title>" (json select "app" "/title") "</title>
    		  <link  href=\"css/style.css\" rel=\"stylesheet\">
    		  <link href=\"dist/css/bootstrap.css\" rel=\"stylesheet\">
    		  <link rel=\"icon\" type=\"image/png\" href=\"images/" (json select "app" "/bar_icon") "\" />
    		</head>
    		<body id=\"body\" style='background-image: url(images/bg.png);background-size: contain;margin:0px;color:#333;font-family: " (json select "app" "/font_family") ";font-size: 12px;'>
    		<div id=\"login\">
    		  <div id='divSignInCenter'>
    		      <div id='divSignIn' style='border: 5px #4e4e4e solid;background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7d7d7d), color-stop(100%, #1b1b1b)), #1b1b1b;
    			      background: -webkit-linear-gradient(#7d7d7d, #1b1b1b), #3F3F3F;
    			      background: -moz-linear-gradient(#7d7d7d, #1b1b1b), #3F3F3F;
    			      background: -o-linear-gradient(#7d7d7d, #1b1b1b), #3F3F3F;
    			      background: linear-gradient(#7d7d7d, #1b1b1b), #3F3F3F;box-shadow: 2px 0px 15px 1px #888888;'>
    		          <a class='btn btn-primary' style='background-color: #D70000;border: 0px;-webkit-border-bottom-right-radius: 0px;-webkit-border-bottom-left-radius: 0px;-moz-border-radius-bottomright: 0px;-moz-border-radius-bottomleft: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;color: #484848;display: block;width: 100%;height: 16px;line-height: 5px;' href='https://" (file ini "conf/server.conf" "WEBSERVER" "WEB_SERVER_HOST") ":" (file ini "conf/server.conf" "WEBSERVER" "WEB_SERVER_PORT_HTTPS") "'><img style='margin-top:-3px;height:10px' src='images/mt.png'></a>
    		          <div id='divSignInImg' style='padding-top: 35px;'><a href='index.jsp'><img src='images/" (json select "app" "/login_logo") "' height='70px' alt=''></a></div>
    		          <div style='padding:5px;font-size: 16px;color:#fff;border-bottom: 1px #696969 solid;'><b>" (json select "app" "/title") "</b><br> </div>
    		          <div id='connectError' style=\"color:#F00;min-height:25px\">" [err] "</div>
    		          <form action='index.jsp' method='post'>
    		              <input class='style-1' type='text' placeholder='" (json select "app" "/login_placeholder_user") "' name='x-user' id='x-user' autofocus><br>
    		              <input class='style-1' type='password' placeholder='" (json select "app" "/login_placeholder_password") "' name='x-password' id='x-password'>
    		              <input type=\"submit\" class='btn btn-light' style='padding: 5px 30px 5px 30px;margin-top: 10px;width: 200px;height: 35px;' value=\"" (json select "app" "/login_submit_title") "\">
    		              <div style='height:25px'></div>
    		          </form>
    		      </div>
    		      <div style='margin-top: 10px;color:#FFF'>© " (json select "app" "/copyright_years") " - " (json select "app" "/copyright_link") "</div>
    		  </div>
    		</div>
    		</body>
    		</html>";
    
    	[page];
    
    ;} "The 'login' page";
    script set delay "app.100.template.new_organization.page.login.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.user.exe" false 1 
      (param
      ;) 
      "Show the user page" 
    {
    
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_top_doc.exe");
    
    	#____________________________________________________________;
    	
    	#Your code here;
    	
    	
    	include "app.100.obj.sajax.skeleton.onload.exe"
    		"[scriptname]" (concat "app." [app_version] ".template." [app_template] ".page.user.onload.exe")
    		"[client_data]" (json select "app" "/param")
    	;
    	
    	#____________________________________________________________;
    	
    	include (concat "app." [app_version] ".template." [app_template] ".html.body_bottom.exe");
    
    ;} "The 'user' page";
    script set delay "app.100.template.new_organization.page.user.exe" 0 day {1};
    
    
    script merge "app.100.template.new_organization.page.user.onload.exe" false 1 
      (param
      	(var "[OBJ_OVERWRITE]" {true} "" is_null:false is_empty:true "{}")
      ;) 
      "Show the user page" 
    {
    
    	
    
    ;} "The 'user' page";
    script set delay "app.100.template.new_organization.page.user.onload.exe" 0 day {1};
    
    
    script merge "math.addition.post" false 1 
      (param
      	(var "[v1]" {true} "The number 1" is_null:true is_empty:true "10")
      	(var "[v2]" {type is_double [v2]} "The number 2" is_null:true is_empty:true "20")
      ;) 
      "Make an addition ..." 
    {
    	
    	#Your MQL source code here...;
    	+ [v1] [v2];
    	
    } "Return the result of the addition";
    script set delay "math.addition.post" 0 day {1};
    
    
    script merge "math.subition.exe" false 1 
      (param
      	(var "[v1]" {true} "The number 1" is_null:true is_empty:true "10")
      	(var "[v2]" {type is_double [v2]} "The number 2" is_null:true is_empty:true "20")
      ;) 
      "Make an addition ..." 
    {
    	
    	#Your MQL source code here...;
    	+ [v1] [v2];
    	
    } "Return the result of the addition";
    script set delay "math.subition.exe" 0 day {1};
    
    
    script merge "math.subition.post" false 1 
      (param
      	(var "[v1]" {true} "The number 1" is_null:true is_empty:true "10")
      	(var "[v2]" {type is_double [v2]} "The number 2" is_null:true is_empty:true "20")
      ;) 
      "Make an addition ..." 
    {
    	
    	#Your MQL source code here...;
    	+ [v1] [v2];
    	
    } "Return the result of the addition";
    script set delay "math.subition.post" 0 day {1};
Services     Supporters     Contact     About     Legal notice © 2024