Browse Source

[svn r15354] Minor - Fixed step's title when adding new items in LP

Julio Montoya 17 years ago
parent
commit
e538ad192a

+ 19 - 3
main/css/academica/learnpath.css

@@ -48,10 +48,26 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
+
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+
+}
+
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 16 - 3
main/css/baby_orange/learnpath.css

@@ -47,10 +47,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 16 - 4
main/css/corporate/learnpath.css

@@ -46,11 +46,23 @@ table.lp_build td{vertical-align:top;}
 table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
-
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 16 - 3
main/css/dokeos_classic/learnpath.css

@@ -65,10 +65,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 19 - 4
main/css/dokeos_classic_2D/learnpath.css

@@ -37,7 +37,9 @@ div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bo
 div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;}
 div.lp_resource_elements div{padding:3px;}
 
-div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;}
+div.lp_tree{
+height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;
+}
 
 
 hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;}
@@ -62,10 +64,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 16 - 3
main/css/medical/learnpath.css

@@ -62,11 +62,24 @@ table.lp_build td{vertical-align:top;}
 table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
 

+ 19 - 17
main/css/public_admin/learnpath.css

@@ -62,41 +62,43 @@ table.lp_build td{vertical-align:top;}
 table.lp_build td.tree{border-right:1px solid #999999; width:240px;}
 table.lp_build td.workspace{padding:0; width:auto;}
 
+table.lp_form{
+	font-size:12px; 
+	margin:0 10px; 
+	width:auto;
+}
 
-table.lp_form{font-size:12px; margin:0 10px; width:100%;}
+table.lp_form td{
+	height:25px; 
+	padding:5px; 
+	vertical-align:top; 
+	width:auto;
+}
+table.lp_form td.label
+{
+	padding-top:7px; 
+	text-align:right;
+}
 
-table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;}
-table.lp_form td.label{padding-top:7px; text-align:right; width:75px;}
 table.lp_form td.radio{width:300px;}
 table.lp_form td.exercise{width:50px;}
-
 table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;}
 table.lp_overview th.exercise{width:50px;}
 
-table.lp_form input,
-	table.lp_form select,
-	table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;}
+table.lp_form input,table.lp_form select,table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;}
 
 table.lp_form td.radio input,
-	table.lp_form td.exercise input{width:auto;}	
-	
-table.lp_form .small_form{background:#FFFFFF;}	
-	
+table.lp_form td.exercise input{width:auto;}		
+table.lp_form .small_form{background:#FFFFFF;}		
 table.lp_form select{padding:0;}
-
 table.lp_form input.button{width:75px;}
 
-
 table.lp_overview{font-size:12px; width:100%;}
-
 table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;}
 table.lp_overview td.title{width:200px;}
 table.lp_overview td.actions{text-align:center; width:100px;}
 table.lp_overview td.move{text-align:center; width:50px;}
-
 table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;}
-
 table.lp_overview tr{background:#F8F8F8;}
 table.lp_overview tr:hover{background:#E5EDF9;}
-
 table.lp_overview img{margin-left:3px;}

+ 15 - 9
main/newscorm/learnpath.class.php

@@ -5392,6 +5392,17 @@ class learnpath {
 	
 function display_thread_form($action = 'add', $id = 0, $extra_info = '')
 	{
+		echo '
+		<style>
+	
+		div.row div.label {
+			width:110px;
+		}
+		
+		div.row div.formw {
+			width: 82%;
+		}
+		</style>';
 		
 		$tbl_lp_item = Database::get_course_table('lp_item');
 		$tbl_forum = Database::get_course_table(TABLE_FORUM_THREAD);
@@ -5834,15 +5845,10 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '')
 		
 		echo '
 		<style>
-	
-		div.row div.label {
-			width:110px;
-		}
-		
-		div.row div.formw {
-			width: 82%;
-		}
-		</style>';
+	        div.row div.formw { 	              
+    		width: 80%; 	                        
+ 	              }
+ 	                 </style>';
 			
 		$tbl_lp_item = Database::get_course_table('lp_item');
 		$tbl_doc = Database::get_course_table(TABLE_DOCUMENT);