Skip to content

Commit

Permalink
Changing back from em to i as semantic doesn't like em
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Westlake committed Jun 25, 2020
1 parent 5d369b8 commit 4da3bf4
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 79 deletions.
4 changes: 2 additions & 2 deletions templates/forgot.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<input type="hidden" name="secret" value="{{$secret}}">
<div class="field">
<div class="ui left icon input">
<em class="key icon"></em>
<i class="key icon"></i>
<input name="password" type="password" placeholder="New Password" autofocus>
</div>
</div>
Expand All @@ -57,7 +57,7 @@
{{else}}
<div class="field">
<div class="ui left icon input">
<em class="mail icon"></em>
<i class="mail icon"></i>
<input title="email" name="email" type="email" value="{{$email}}" placeholder="Email address" autofocus required>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="borderless ui big {{$.SemanticTheme}} inverted menu">
<div class="ui container">
{{if $.Backlink}}
<a class="item" href="{{.Backlink}}"><em class="home icon"></em></a>
<a class="item" href="{{.Backlink}}"><i class="home icon"></i></a>
{{end}}
<a href="/" class="{{if eq $.Section "index"}}active{{end}} item">Subspace</a>
{{if $.Admin}}
Expand All @@ -38,10 +38,10 @@
{{else}}
<div>{{$.Info.Email}}</div>
{{end}}
<em class="dropdown icon"></em>
<i class="dropdown icon"></i>
<div class="menu">
<a href="/help" class="{{if eq $.Section "help"}}active{{end}} item"><em class="help icon"></em>Help</a>
<a href="/signout" class="item confirm" data-prompt="Sign out?"><em class="sign out icon"></em>Sign out</a>
<a href="/help" class="{{if eq $.Section "help"}}active{{end}} item"><i class="help icon"></i>Help</a>
<a href="/signout" class="item confirm" data-prompt="Sign out?"><i class="sign out icon"></i>Sign out</a>
</div>
</div>
{{end}}
Expand Down
6 changes: 3 additions & 3 deletions templates/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="ui big list">
<div class="item">
<em class="large {{$.SemanticTheme}} check circle outline icon"></em>
<i class="large {{$.SemanticTheme}} check circle outline icon"></i>
<div class="content">
<div class="header">
Encrypt your connection
Expand All @@ -25,7 +25,7 @@
</div>
</div>
<div class="item">
<em class="large {{$.SemanticTheme}} check circle outline icon"></em>
<i class="large {{$.SemanticTheme}} check circle outline icon"></i>
<div class="content">
<div class="header">
Stop your internet provider from spying on you
Expand All @@ -36,7 +36,7 @@
</div>
</div>
<div class="item">
<em class="large {{$.SemanticTheme}} check circle outline icon"></em>
<i class="large {{$.SemanticTheme}} check circle outline icon"></i>
<div class="content">
<div class="header">
Connect from any device
Expand Down
50 changes: 25 additions & 25 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
User deleted successfully
{{end}}
</div>
<a class="close-link" href="/"><em class="close icon"></em></a>
<a class="close-link" href="/"><i class="close icon"></i></a>
</div>
{{end}}
{{with $error := $.Request.FormValue "error"}}
Expand All @@ -30,7 +30,7 @@
{{$error}}
{{end}}
</div>
<a class="close-link" href="/"><em class="close icon"></em></a>
<a class="close-link" href="/"><i class="close icon"></i></a>
</div>
</div>
<div class="ui hidden divider"></div>
Expand All @@ -41,7 +41,7 @@
<div class="column">
<div class="ui hidden divider"></div>
<div class="ui huge center aligned icon header">
<em class="{{$.SemanticTheme}} clockwise rotated strikethrough icon"></em>
<i class="{{$.SemanticTheme}} clockwise rotated strikethrough icon"></i>
<div class="content">Subspace is online</div>
</div>
<div class="ui hidden divider"></div>
Expand All @@ -57,27 +57,27 @@
<div class="field">
<div id="add-profile-admin" class="ui fluid selection dropdown">
<input type="hidden" name="admin" value="no">
<em class="dropdown icon"></em>
<i class="dropdown icon"></i>
<div class="default text">Select account</div>
<div class="menu">
<div class="item" data-value="no"><em class="grey user icon"></em>Your device</div>
<div class="item" data-value="yes"><em class="grey laptop icon"></em>Admin device</div>
<div class="item" data-value="no"><i class="grey user icon"></i>Your device</div>
<div class="item" data-value="yes"><i class="grey laptop icon"></i>Admin device</div>
</div>
</div>
</div>
{{end}}
<div class="field">
<div id="add-profile-platform" class="ui fluid selection dropdown">
<input type="hidden" name="platform" value="yes">
<em class="dropdown icon"></em>
<i class="dropdown icon"></i>
<div class="default text">Select platform</div>
<div class="menu">
<div class="item" data-value="windows"><em class="windows icon"></em>Windows</div>
<div class="item" data-value="osx"><em class="apple icon"></em>macOS</div>
<div class="item" data-value="ios"><em class="apple icon"></em>iOS</div>
<div class="item" data-value="android"><em class="android icon"></em>Android</div>
<div class="item" data-value="linux"><em class="linux icon"></em>Linux</div>
<div class="item" data-value="other"><em class="asterisk dot icon"></em>Other</div>
<div class="item" data-value="windows"><i class="windows icon"></i>Windows</div>
<div class="item" data-value="osx"><i class="apple icon"></i>macOS</div>
<div class="item" data-value="ios"><i class="apple icon"></i>iOS</div>
<div class="item" data-value="android"><i class="android icon"></i>Android</div>
<div class="item" data-value="linux"><i class="linux icon"></i>Linux</div>
<div class="item" data-value="other"><i class="asterisk dot icon"></i>Other</div>
</div>
</div>
</div>
Expand All @@ -104,10 +104,10 @@
<div class="ui three stackable cards">
{{range $n, $p := $.TargetProfiles}}
<div class="showcard card">
<a href="/profile/delete/{{$p.ID}}" class="ui right corner label "><em class="trash alternate icon"></em></a>
<a href="/profile/delete/{{$p.ID}}" class="ui right corner label "><i class="trash alternate icon"></i></a>
<div class="content">
<div class="header">
<em class="large grey
<i class="large grey
{{if eq $p.Platform "windows"}}
windows grey
{{else if eq $p.Platform "osx"}}
Expand All @@ -121,13 +121,13 @@
{{else}}
asterisk
{{end}}
icon"></em> {{$p.Name}}
icon"></i> {{$p.Name}}
</div>
</div>
<div class="extra content">
<div class="ui large list">
<div class="item">
<em class="bordered calendar icon"></em>
<i class="bordered calendar icon"></i>
<div class="content">
<div class="header">
Created
Expand Down Expand Up @@ -164,10 +164,10 @@
<div class="ui three stackable cards">
{{range $n, $p := $.Profiles}}
<div class="showcard card">
<a href="/profile/delete/{{$p.ID}}" class="ui right corner label "><em class="trash alternate icon"></em></a>
<a href="/profile/delete/{{$p.ID}}" class="ui right corner label "><i class="trash alternate icon"></i></a>
<div class="content">
<div class="header">
<em class="large grey
<i class="large grey
{{if eq $p.Platform "windows"}}
windows grey
{{else if eq $p.Platform "osx"}}
Expand All @@ -181,13 +181,13 @@
{{else}}
asterisk
{{end}}
icon"></em> {{$p.Name}}
icon"></i> {{$p.Name}}
</div>
</div>
<div class="extra content">
<div class="ui large list">
<div class="item">
<em class="bordered calendar icon"></em>
<i class="bordered calendar icon"></i>
<div class="content">
<div class="header">
Created
Expand Down Expand Up @@ -222,17 +222,17 @@
<div class="ui three stackable cards">
{{range $n, $u := $.Users}}
<div class="showcard card">
<a href="/user/delete/{{$u.ID}}" class="ui right corner label "><em class="trash alternate icon"></em></a>
<a href="/user/delete/{{$u.ID}}" class="ui right corner label "><i class="trash alternate icon"></i></a>
<div class="content">
<div class="header">
<em class="large grey user icon"></em>
<i class="large grey user icon"></i>
{{$u.Email}}
</div>
</div>
<div class="extra content">
<div class="ui large list">
<div class="item">
<em class="bordered laptop icon"></em>
<i class="bordered laptop icon"></i>
<div class="content">
<div class="header">
Devices
Expand All @@ -243,7 +243,7 @@
</div>
</div>
<div class="item">
<em class="bordered calendar icon"></em>
<i class="bordered calendar icon"></i>
<div class="content">
<div class="header">
Created
Expand Down
Loading

0 comments on commit 4da3bf4

Please sign in to comment.