Skip to content

Commit

Permalink
refactoring code for design
Browse files Browse the repository at this point in the history
  • Loading branch information
agmps17 committed Jul 19, 2014
1 parent bca0029 commit ee8bdca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/dbbackup_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ margin-top: 30px;

.download_icon{
float:right;
}

.no-apps{
margin-top: 30px;
}
12 changes: 5 additions & 7 deletions app/views/dbbackups/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= stylesheet_link_tag "dbbackups"
.settings-table#backup-table
- if @dbs.any?
- if [email protected]?
.settings-table#backup-table
table.settings.table
thead
tr
Expand All @@ -18,8 +18,6 @@
td.last_update_at.dbbackup-col2
span.backup_content -------
span.backup_content.download_icon= link_to "Back up", dbbackups_engine.backup_path(:db_id=>db.id),:method=>:post, :class=>"download_link"


- else
.no-users
h2= t('there_are_no_dbs')
- else
.no-apps
h2= t('there_are_no_dbs')

0 comments on commit ee8bdca

Please sign in to comment.