mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 07:12:54 +00:00 
			
		
		
		
	Adapt CSS to Ace
This commit is contained in:
		
							
								
								
									
										4
									
								
								src/app/static/index.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/app/static/index.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					.tfw-container {
 | 
				
			||||||
 | 
					    min-height: 100%;
 | 
				
			||||||
 | 
					    height: 100%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								src/app/static/module-webide.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/app/static/module-webide.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#anchor_webide {
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					    height: 100%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -6,12 +6,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <link rel="stylesheet" href="{{ static_url('vendor/css/bootstrap.min.css') }}">
 | 
					    <link rel="stylesheet" href="{{ static_url('vendor/css/bootstrap.min.css') }}">
 | 
				
			||||||
    <link rel="stylesheet" href="{{ static_url('vendor/css/highlight/github.min.css')}}">
 | 
					    <link rel="stylesheet" href="{{ static_url('vendor/css/highlight/github.min.css')}}">
 | 
				
			||||||
 | 
					    <link rel="stylesheet" href="{{ static_url('index.css')}}">
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
    <div class="jumbotron text-center">
 | 
					    <div class="jumbotron text-center">
 | 
				
			||||||
        <h1>Tutorial framework Demo</h1>
 | 
					        <h1>Tutorial framework Demo</h1>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div id="container">
 | 
					    <div id="container" class="container-fluid tfw-container">
 | 
				
			||||||
        <!--div class="row">
 | 
					        <!--div class="row">
 | 
				
			||||||
            {% for aid in ('a', 'b', 'c') %}
 | 
					            {% for aid in ('a', 'b', 'c') %}
 | 
				
			||||||
            <div class="col-sm m-3 p-3">
 | 
					            <div class="col-sm m-3 p-3">
 | 
				
			||||||
@@ -25,13 +26,13 @@
 | 
				
			|||||||
            {% end %}
 | 
					            {% end %}
 | 
				
			||||||
        </div-->
 | 
					        </div-->
 | 
				
			||||||
        <div class="row">
 | 
					        <div class="row">
 | 
				
			||||||
            <div class="col-sm m-3 p-3" id="anchor_login">
 | 
					            <div class="col-sm col-md col-lg m-3 p-3" id="anchor_login">
 | 
				
			||||||
                {% module Login('anchor_login') %}
 | 
					                {% module Login('anchor_login') %}
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <div class="col-sm m-3 p-3">
 | 
					            <div class="col-sm-6 col-md-6 col-lg-6 m-3 p-3">
 | 
				
			||||||
                {% module WebIDE('anchor_webide') %}
 | 
					                {% module WebIDE('anchor_webide') %}
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <div class="col-sm m-3 p-3">
 | 
					            <div class="col-sm col-md col-lg m-3 p-3">
 | 
				
			||||||
                {% module Logger('anchor_logger') %}
 | 
					                {% module Logger('anchor_logger') %}
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,3 +4,6 @@ from tornado.web import UIModule
 | 
				
			|||||||
class WebIDE(UIModule):
 | 
					class WebIDE(UIModule):
 | 
				
			||||||
    def render(self, anchor_id, *args, **kwargs):
 | 
					    def render(self, anchor_id, *args, **kwargs):
 | 
				
			||||||
        return self.render_string('module-webide.html', anchor_id=anchor_id, **kwargs)
 | 
					        return self.render_string('module-webide.html', anchor_id=anchor_id, **kwargs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def css_files(self):
 | 
				
			||||||
 | 
					        return ['module-webide.css']
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user