Commit 021a896b by Bridger Maxwell

Set size of wiki circuits

parent db55356d
...@@ -59,7 +59,7 @@ class CircuitLink(markdown.inlinepatterns.Pattern): ...@@ -59,7 +59,7 @@ class CircuitLink(markdown.inlinepatterns.Pattern):
data = m.group('data') data = m.group('data')
data = escape(data) data = escape(data)
##TODO: We need to html escape the data ##TODO: We need to html escape the data
return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='150' height='150'/></div>") return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='500' height='300'/></div>")
def makeExtension(configs=None) : def makeExtension(configs=None) :
......
var schematic_height = 153; var schematic_height = 300;
var schematic_width = 400; var schematic_width = 500;
$(function(){ $(function(){
$(document).ready(function() { $(document).ready(function() {
......
...@@ -19,14 +19,13 @@ ...@@ -19,14 +19,13 @@
<style type="text/css"> <style type="text/css">
.CodeMirror-scroll { .CodeMirror-scroll {
height: 800px; min-height: 550px;
width: 680px; width: 100%;
} }
.CodeMirror { .CodeMirror {
border: 1px solid black; border: 1px solid black;
text-align: left; text-align: left;
} }
</style> </style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment