Add missing .container to admin pages, add note to changelog
This commit is contained in:
parent
6f7f820ff4
commit
c9457ffd86
6 changed files with 143 additions and 140 deletions
|
|
@ -61,6 +61,9 @@ Podmins can now set the currency for donations, and use an unhosted button if th
|
|||
a hosted one. Note: you need to **copy the new settings from diaspora.yml.example to your
|
||||
diaspora.yml file**. The existing settings from 0.4.x and before will not work any more.
|
||||
|
||||
## Custom splash page changes
|
||||
diaspora* no longer adds a `div.container` to wrap custom splash pages. This adds the ability for podmins to write home pages using Bootstrap's fluid design. Podmins who added a custom splash page in `app/views/home/_show.{html,mobile}.haml` need to wrap the contents into a `div.container` to keep the old design.
|
||||
|
||||
## Refactor
|
||||
* Redesign contacts page [#5153](https://github.com/diaspora/diaspora/pull/5153)
|
||||
* Improve profile page design on mobile [#5084](https://github.com/diaspora/diaspora/pull/5084)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
%div
|
||||
.container
|
||||
%div
|
||||
= render :partial => 'admins/admin_bar'
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.span12
|
||||
%h1
|
||||
= t('.correlations_count')
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
%div
|
||||
.container
|
||||
%div
|
||||
= render :partial => 'admins/admin_bar'
|
||||
|
||||
%h1
|
||||
%h1
|
||||
= t('.usage_statistic')
|
||||
|
||||
%div.pull-right
|
||||
%div.pull-right
|
||||
= form_tag('/admins/stats', :method => 'get', class: 'form-inline') do
|
||||
%select{:name => 'range'}
|
||||
%option{:value => 'daily', :selected => ('selected' if params[:range] == 'daily')}
|
||||
|
|
@ -19,10 +19,10 @@
|
|||
|
||||
= submit_tag t('.go'), class: 'btn btn-primary'
|
||||
|
||||
%h3
|
||||
%h3
|
||||
!= t('.display_results', :segment => @segment)
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
- [:posts, :comments, :aspect_memberships, :users].each do |name|
|
||||
- model = eval("@#{name.to_s}")
|
||||
- if name == :aspect_memberships
|
||||
|
|
@ -42,12 +42,12 @@
|
|||
%span.percent_change{:class => (model[:change] > 0 ? "green" : "red")}
|
||||
= "(#{model[:change]}%)"
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.span12
|
||||
%p.alert.alert-info.text-center
|
||||
!= t('.current_segment', :post_yest => @posts[:yesterday]/@user_count.to_f, :post_day => @posts[:day_before]/@user_count.to_f)
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.span12
|
||||
%h3= t('.50_most')
|
||||
%ul
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
%div
|
||||
.container
|
||||
%div
|
||||
= render :partial => 'admins/admin_bar'
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.user_search.span9
|
||||
%h3= t('admins.admin_bar.user_search')
|
||||
= form_for @search, url: {action: 'user_search'}, html: {method: :get, class: 'form-horizontal'} do |f|
|
||||
|
|
@ -38,11 +38,11 @@
|
|||
= text_field_tag 'identifier'
|
||||
= submit_tag t('services.remote_friend.invite')
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.span12
|
||||
%div.alert.alert-info.text-center= t('.users', :count => @users.count)
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.users.span12
|
||||
%ul.media-list
|
||||
- @users.each do |user|
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
|
||||
%div
|
||||
.container
|
||||
%div
|
||||
= render :partial => 'admins/admin_bar'
|
||||
|
||||
%h2
|
||||
%h2
|
||||
= t('.current_server', date: Time.now.to_date)
|
||||
|
||||
%div.pull-right
|
||||
%div.pull-right
|
||||
= form_tag('/admins/weekly_user_stats', method: 'get', class: 'form-inline') do
|
||||
= select_tag(:week, options_for_select(@created_users_by_week.keys.reverse), selected: @selected_week)
|
||||
= submit_tag t('admins.stats.go'), class: 'btn btn-primary'
|
||||
|
||||
= t('.amount_of', count: @counter)
|
||||
%br
|
||||
- @created_users_by_week[@selected_week].each do |m|
|
||||
= t('.amount_of', count: @counter)
|
||||
%br
|
||||
- @created_users_by_week[@selected_week].each do |m|
|
||||
= link_to m, "/u/#{m}"
|
||||
%br
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
%div
|
||||
.container
|
||||
%div
|
||||
= render :partial => 'admins/admin_bar'
|
||||
|
||||
%div.row
|
||||
%div.row
|
||||
%div.span12
|
||||
%h1
|
||||
= t('report.title')
|
||||
|
|
|
|||
Loading…
Reference in a new issue