Browse Source

channel管理修正

Bhikkhu-Kosalla 5 years ago
parent
commit
0c9eedbd0a
2 changed files with 4 additions and 7 deletions
  1. 2 5
      app/channal/channal.js
  2. 2 2
      app/channal/my_channal_edit.php

+ 2 - 5
app/channal/channal.js

@@ -101,15 +101,12 @@ function my_channal_edit(id) {
 
 					html += "<div style='width: 60%;padding: 1em;min-width: 25em;'>";
 					html += '<div style="display:flex;line-height:32px;">';
-					html += "<div style='flex:2;'>" + gLocal.gui.title + "</div>";
-					html += "<div style='flex:8;'>";
 					html += "<input type='hidden' name='id' value='" + result.id + "'/>";
 					html += "</div>";
-					html += "</div>";
 
 					html += '<div style="display:flex;line-height:32px;">';
-					html += '<div style="flex:2;">'+gLocal.gui.name+'</div>';
-					html += '<div style="flex:8;">';
+					html += "<div style='flex:2;'>" + gLocal.gui.title + "</div>";
+					html += "<div style='flex:8;'>";
 					html +=
 						"<input type='input' name='name' value='" +
 						result.name +

+ 2 - 2
app/channal/my_channal_edit.php

@@ -71,14 +71,14 @@ require_once '../studio/index_head.php';
 					</button>
 				</span>
 				
-				<span class="icon_btn_div">				
+				<span class="icon_btn_div">
 					<span class="icon_btn_tip"><?php echo $_local->gui->recycle_bin;?></span>
 					<button id="to_recycle" type="button" class="icon_btn" onclick="channal_del()" title=" ">
 						<svg class="icon">
 							<use xlink:href="../studio/svg/icon.svg#ic_delete"></use>
 						</svg>
 					</button>
-				</span>	
+				</span>
 			</div>
 		</div>