File tree Expand file tree Collapse file tree 2 files changed +36
-4
lines changed
elixir/gsmlg_umbrella/apps/gsmlg_web/lib/gsmlg_web/templates Expand file tree Collapse file tree 2 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 5
5
< meta http-equiv = "X-UA-Compatible " content = "IE=edge " />
6
6
< meta name = "viewport " content = "width=device-width, initial-scale=1.0 " />
7
7
<%= csrf_meta_tag ( ) %>
8
- <%= live_title_tag assigns [ :page_title ] || "GSMLG" , suffix: " · Phoenix Framework " %>
8
+ <%= live_title_tag assigns [ :page_title ] || "GSMLG" , suffix: " · BITW " %>
9
9
< link phx-track-static rel = "stylesheet " href = { Routes . static_path ( @ conn , "/assets/app.css" ) } />
10
10
< script defer phx-track-static type = "text/javascript " src = { Routes . static_path ( @ conn , "/assets/app.js" ) } > </ script >
11
11
</ head >
14
14
< section class = "container " >
15
15
< nav >
16
16
< ul >
17
- < li > < a href = "https://hexdocs.pm/phoenix/overview.html " > Get Started</ a > </ li >
18
17
<%= if function_exported? ( Routes , :live_dashboard_path , 2 ) do %>
19
18
< li > <%= link "LiveDashboard" , to: Routes . live_dashboard_path ( @ conn , :home ) %> </ li >
20
19
<% end %>
21
20
</ ul >
22
21
</ nav >
23
- < a href = "https://phoenixframework.org/ " class = "phx-logo " >
24
- < img src = { Routes . static_path ( @ conn , "/images/phoenix.png" ) } alt = "Phoenix Framework Logo " />
22
+ < a href = "https://gsmlg.github.io/ " class = "phx-logo " >
23
+ < h1 >
24
+ Best In the World!
25
+ </ h1 >
25
26
</ a >
26
27
</ section >
27
28
</ header >
Original file line number Diff line number Diff line change 3
3
< p > Peace of mind from prototype to production</ p >
4
4
</ section >
5
5
6
+ < section >
7
+ < h3 >
8
+ 当前节点:
9
+ </ h3 >
10
+ < div >
11
+ <%= GSMLG.Node.Self . name ( ) %>
12
+ </ div >
13
+ </ section >
14
+
15
+ < section >
16
+ < h3 >
17
+ 已连接节点:
18
+ </ h3 >
19
+ <%= if Enum . count ( GSMLG.Node.Others . list ( ) ) > 0 do %>
20
+ <%= for node <- GSMLG.Node.Others . list ( ) do %>
21
+ < div >
22
+ <%= node . name %>
23
+ </ div >
24
+ <%= end %>
25
+ <%= else %>
26
+ < div >
27
+ 无连接的节点
28
+ </ div >
29
+ <%= end %>
30
+
31
+ < div >
32
+ < div > 添加节点</ div >
33
+ < input type = "text " name = "new_name " />
34
+ < button > 添加</ button >
35
+ </ div >
36
+ </ section >
You can’t perform that action at this time.
0 commit comments