Skip to content

Commit

Permalink
Provider Details: Improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
cal0pteryx committed Sep 10, 2023
1 parent da11be6 commit cc53fbe
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 154 deletions.
4 changes: 2 additions & 2 deletions themes/xmpp-providers/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ article h2 {
.category-d {
background-color: rgb(217, 16, 30);
}
.provider-category-bg {
.provider-details-bg {
background-color: #fafafa;
}
.address-input {
Expand Down Expand Up @@ -185,7 +185,7 @@ table.sortable th:hover {
.card {
background-color:#2d3439;
}
.provider-category-bg {
.provider-details-bg {
background-color: #2d3439;
}
}
2 changes: 1 addition & 1 deletion themes/xmpp-providers/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container" role="main">
<div class="row mx-3 my-4 justify-content-center">
<div class="col-lg-8">
<div class="col-12 col-lg-10 col-xl-8">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2 class="accordion-header" id="heading-{{ $provider_id }}">
{{ $len := (len .website) }}
{{ $count := 0 }}
{{ range $lang, $address := .website }}
<a href="{{ $address }}" target="_blank">{{ upper $lang }}</a>
<a href="{{ $address }}" target="_blank">{{ upper $lang }} <i class="fas fa-xs fa-external-link-alt"></i></a>
{{ $count = add $count 1 }}
{{ if ne $count $len }}
<span class="text-body-secondary">|</span>
Expand Down
2 changes: 1 addition & 1 deletion themes/xmpp-providers/layouts/provider/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container" role="main">
<div class="row mx-3 my-4 justify-content-center">
<div class="col-lg-8">
<div class="col-12 col-lg-10 col-xl-8">
<h1 class="text-center">{{ .Title }}</h1>
{{ .Content }}
</div>
Expand Down
Loading

0 comments on commit cc53fbe

Please sign in to comment.