-
Notifications
You must be signed in to change notification settings - Fork 988
Git Stack: Port UI to Bootstrap 5. Style users views. 3/? #3169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
biow0lf
wants to merge
26
commits into
port-ui-to-bootstrap-5-part-2
from
port-ui-to-bootstrap-5-part-3
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
05d57bf
Add breadcrumbs for users#index page
biow0lf 51c7877
Enable stylesheet_link_tag integrity
biow0lf f6b19cb
Cleanup
biow0lf 60f8733
Update
biow0lf f7f6bc9
Fix test
biow0lf cc7c9e2
Style users#new
biow0lf 0d6aed2
Usability: all time zones
biow0lf f5b42ab
Style users#new
biow0lf 2aa7c64
Configure kaminari
biow0lf 8fe9975
Configure kaminari
biow0lf e9be529
Update
biow0lf 1565467
Fix GitHub job names
biow0lf a89de4f
Un-style app/views/users/_fields.html.erb
biow0lf 20a5d31
Configure kaminari
biow0lf 2015933
Update en locale
biow0lf 23eb51c
Style users/_fields
biow0lf b196f0a
Style users/_fields
biow0lf da1fd38
Style users/_fields
biow0lf 7247129
Add breadcrumb for users#show
biow0lf 964c98b
Un-style users#show
biow0lf b9e0f46
Add name to users#show
biow0lf 20acca1
Add breadcrumb for users#edit
biow0lf 3d03a0c
Update
biow0lf 4b4e760
Style all pages
biow0lf 6acba19
Style users#edit
biow0lf 5176ec0
Update locales
biow0lf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ permissions: | |
| contents: read | ||
|
|
||
| jobs: | ||
| run: | ||
| brakeman: | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 10 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ permissions: | |
| contents: read | ||
|
|
||
| jobs: | ||
| run: | ||
| herb: | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 10 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,29 @@ | ||
| <% content_for :title, t(".title") %> | ||
|
|
||
| <% content_for :breadcrumb do %> | ||
| <div class="row"> | ||
| <div class="col"> | ||
| <nav aria-label="breadcrumb"> | ||
| <ol class="breadcrumb"> | ||
| <li class="breadcrumb-item"><%= link_to("Home", root_path) %></li> | ||
| <li class="breadcrumb-item"><%= link_to("Users", users_path) %></li> | ||
|
Comment on lines
+8
to
+9
|
||
| <li class="breadcrumb-item active" aria-current="page"><%= t(".title") %></li> | ||
| </ol> | ||
| </nav> | ||
| </div> | ||
| </div> | ||
| <% end %> | ||
|
|
||
| <% content_for :action_bar, link_to(t(".cancel"), users_path, class: "button") %> | ||
|
|
||
| <%= form_for @user do |f| %> | ||
| <%= render "fields", f: f, user: @user %> | ||
|
|
||
| <div class="buttons"> | ||
| <%= f.submit t(".add_user") %> | ||
| <div class="row"> | ||
| <div class="col text-center"> | ||
| <%= button_tag type: :submit, class: "btn btn-primary" do %> | ||
| <%= inline_svg_tag "icons/floppy.svg" %> <%= t(".add_user") %> | ||
| <% end %> | ||
| </div> | ||
| </div> | ||
| <% end %> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| Kaminari.configure do |config| | ||
| # config.default_per_page = 25 | ||
| # config.max_per_page = nil | ||
| config.window = 1 | ||
| # config.outer_window = 0 | ||
| # config.left = 0 | ||
| # config.right = 0 | ||
| # config.page_method_name = :page | ||
| # config.param_name = :page | ||
| # config.max_pages = nil | ||
| # config.params_on_first_page = false | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| en: | ||
| views: | ||
| pagination: | ||
| first: "«" | ||
| last: "»" | ||
| previous: "‹" | ||
| next: "›" | ||
| truncate: "…" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| pt-BR: | ||
| views: | ||
| pagination: | ||
| first: "«" | ||
| last: "»" | ||
| previous: "‹" | ||
| next: "›" | ||
| truncate: "…" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.