Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

now with a shell look ;)

  • Loading branch information...
commit 4db1fedded469e232c8f339327ad4723a12a52ca 1 parent 02fe03e
authored December 16, 2011

Showing 1 changed file with 12 additions and 3 deletions. Show diff stats Hide diff stats

  1. 15  editable.opa
15  editable.opa
@@ -70,20 +70,29 @@ function focus(set) {
70 70
 	#status = "Focus: {set}";
71 71
 }
72 72
 
  73
+shell = "web: login $ ";
  74
+
73 75
 newLine =
74 76
 	WBootstrap.Typography.header(1, none,
  77
+		<span>{shell}</span>
75 78
 		<span id="precaret" style="margin-right: 0px; border-right:thick double #ff0000;"></span>
76 79
 		<span id="postcaret" style="margin-left: 0px; padding-left: 0px;"></span>
77 80
 	)
78 81
 
79 82
 function addLine(f) {
80 83
 	expr = "{Dom.get_content(#precaret)}{Dom.get_content(#postcaret)}";
81  
-	element = WBootstrap.Message.make(
82  
-		{alert: {title: f(expr), description: <>{expr}</>}, closable: true}, {info}
  84
+	// element = WBootstrap.Message.make(
  85
+	// 	{alert: {title: f(expr), description: <>{expr}</>}, closable: true}, {info}
  86
+	// );
  87
+	element = WBootstrap.Typography.header(1, none,
  88
+		<div>
  89
+			<span>{shell}</span>
  90
+			<span>{expr}</span>
  91
+		</div>
  92
+		<div>{f(expr)}</div>
83 93
 	);
84 94
 	#inputs =+ element;
85 95
 	#editor = newLine;
86  
-	
87 96
 }
88 97
 
89 98
 function loader(_) {

0 notes on commit 4db1fed

Please sign in to comment.
Something went wrong with that request. Please try again.