Skip to content

Commit

Permalink
Htmlvalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
agmps17 committed Jun 19, 2014
1 parent c33a270 commit 9e3b0a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/webapps/_permission_webapp.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ div.webapp[id="whole_webapp_#{uid}"]
td.settings-col1.webapps-col1
= link_to(@webapp.name, '')
td.settings-col2.webapps-col2 id="webapp_url_#{uid}"
a href=("http://#{webapp.name}") target="_"
a href=("http://#{webapp.name}") target="_blank"
| http://#{@webapp.name}
.settings-stretcher id="webapp_info_#{uid}" style="display:none;"
.webapp-manage
Expand Down
4 changes: 2 additions & 2 deletions app/views/webapps/_user_permissions.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ td = @user.name
td
span
- if checked
= link_to("[x]",webapps_engine.remove_permission_webapp_path(:id => @user.id,:webapp_id=>@webapp.id), {:remote=>true, :method=>:delete, :class=>:edit_form, :id=>'alias-delete-icon'})
= link_to("[x]",webapps_engine.remove_permission_webapp_path(:id => @user.id,:webapp_id=>@webapp.id), {:remote=>true, :method=>:delete, :class=>:edit_form})
- else
a.click_change Add Permission
form.edit_form.form_hidden action=webapps_engine.add_permission_webapp_path(:id => @user.id,:webapp_id=>@webapp.id) data-remote="true" method="post" style=("display: none;")
input id="text_webapp_#{@user.id}" name="password" type="password"
input name="password" type="password"
button.btn.btn-create.margin-for-message type="submit"
span = t('add')
a.cancel_link Cancel
Expand Down
2 changes: 1 addition & 1 deletion app/views/webapps/_webapp.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ div.webapp[id="whole_webapp_#{uid}"]
td.settings-col1.webapps-col1
= link_to(webapp.name, '')
td.settings-col2.webapps-col2 id="webapp_url_#{uid}"
a href=("http://#{webapp.name}") target="_"
a href=("http://#{webapp.name}") target="_blank"
| http://#{webapp.name}
.settings-stretcher id="webapp_info_#{uid}" style="display:none;"
.webapp-manage
Expand Down
4 changes: 2 additions & 2 deletions app/views/webapps/_webapp_aliases.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- uid = @webapp.id.to_s
span id="webapp_aliases_#{uid}"
span id="webapp_aliases_new_#{uid}"
div id="webapp_aliases_#{uid}"
div id="webapp_aliases_new_#{uid}"
a.click_change New alias
= simple_remote_text :id => "#{@webapp.id}",
:input_id =>"text_webapp_#{@webapp.id}",
Expand Down

0 comments on commit 9e3b0a8

Please sign in to comment.