Skip to content

Commit 2a00274

Browse files
committed
clean up views
1 parent 34f35bc commit 2a00274

File tree

6 files changed

+9
-26
lines changed

6 files changed

+9
-26
lines changed

views/editor/index.pug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ block content
7878
button.btn.modal-cancel Cancel
7979
#manual-git-modal(class="modal hide fade")
8080
.modal-header
81-
button.close(type="button", data-dismiss-"modal", aria-hidden="true") ×
81+
button.close(type="button", data-dismiss="modal", aria-hidden="true") ×
8282
h3#create-modal-label Git Commit and Push
8383
.modal-body
8484
p Add a comment to your edited filed, and click Commit and Push.
@@ -90,7 +90,7 @@ block content
9090
button.btn.btn-primary.modal-submit Commit and Push
9191
#create-modal(class="modal hide fade")
9292
.modal-header
93-
button.close(type="button", data-dismiss-"modal", aria-hidden="true") ×
93+
button.close(type="button", data-dismiss="modal", aria-hidden="true") ×
9494
h3#create-modal-label
9595
.modal-body
9696
p
@@ -99,7 +99,7 @@ block content
9999
button.btn.btn-primary.modal-submit Save
100100
#schedule-modal(class="modal hide fade")
101101
.modal-header
102-
button.close(type="button", data-dismiss-"modal", aria-hidden="true") ×
102+
button.close(type="button", data-dismiss="modal", aria-hidden="true") ×
103103
h3#create-modal-label Job Scheduler
104104
.modal-body
105105
p Schedule your script to run at specific time periods. There are many combinations you can use to schedule.

views/error.pug

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ extends layout
33
block content
44
#login-wrapper
55
#login-content
6-
p There was an error with your request. Please try again, or visit
6+
p There was an error with your request. Please try again, or visit
77
a(href="http://learn.adafruit.com/webide/faq") the FAQ for assistance
8-
| .
9-
p #{error}
8+
p #{error}

views/layout.pug

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ html
66
.container-fluid
77
a.brand(href="/")
88
img(src="/images/[email protected]", style="height:30px;")
9-
p.logout-wrapper
10-
- if (typeof profile !== "undefined")
11-
a(href="/logout") Log out
129
p.update-wrapper
1310
div.connection-state
1411

views/users/config.pug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ block content
1111
| of your Pi here. You can also configure the Wifi settings. Both of these
1212
| features are optional, and may be skipped.
1313
p If you leave these fields blank, they will not overwrite your existing settings.
14-
p You can update these settings at any time in the future.
14+
p You can update these settings at any time in the future.
1515
p Change your Pi Hostname (optional)
1616
form(method="post", action="/config", class="form-horizontal")
1717
div.control-group
@@ -22,7 +22,7 @@ block content
2222
div.control-group
2323
label(for="port", class="control-label") Port:
2424
div.controls
25-
input(type="text", name="port", value=port, autocomplete="off")
25+
input(type="text", name="port", value=port, autocomplete="off")
2626
p Configure your WIFI settings (optional)
2727
div.control-group
2828
label(for="wifi_ssid", class="control-label") WiFi SSID:
@@ -35,4 +35,4 @@ block content
3535
p
3636
input(type="submit", class="btn btn-primarybtn-large", name="Submit")
3737
p Note: It's not recommended to change these settings while accessing the Pi through an external
38-
| network, as the connection is not secure.
38+
| network, as the connection is not secure.

views/users/login.pug

Lines changed: 0 additions & 13 deletions
This file was deleted.

views/users/setup.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ block content
88
div.alert.alert-error
99
p #{session.message}
1010
p Setting up your Raspberry Pi or Beaglebone will only take a few minutes. Let's get started.
11-
p Are you setting up more than one Raspberry Pi or Beaglebone? Visit the config to
11+
p Are you setting up more than one Raspberry Pi or Beaglebone? Visit the config to
1212
a(href="/config") change hostname and WiFi.
1313
form(method="post", action="/setup", class="form-horizontal")
1414
p Add your Name and Email for git config

0 commit comments

Comments
 (0)