mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-25 16:31:56 +00:00
Adapt CSS to Ace
This commit is contained in:
parent
cb625bf116
commit
e14946fcb9
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/highlight/github.min.css')}}">
|
||||
<link rel="stylesheet" href="{{ static_url('index.css')}}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="jumbotron text-center">
|
||||
<h1>Tutorial framework Demo</h1>
|
||||
</div>
|
||||
<div id="container">
|
||||
<div id="container" class="container-fluid tfw-container">
|
||||
<!--div class="row">
|
||||
{% for aid in ('a', 'b', 'c') %}
|
||||
<div class="col-sm m-3 p-3">
|
||||
@ -25,13 +26,13 @@
|
||||
{% end %}
|
||||
</div-->
|
||||
<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') %}
|
||||
</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') %}
|
||||
</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') %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -4,3 +4,6 @@ from tornado.web import UIModule
|
||||
class WebIDE(UIModule):
|
||||
def render(self, anchor_id, *args, **kwargs):
|
||||
return self.render_string('module-webide.html', anchor_id=anchor_id, **kwargs)
|
||||
|
||||
def css_files(self):
|
||||
return ['module-webide.css']
|
||||
|
Loading…
Reference in New Issue
Block a user