more naming fixups
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
910d0bf2ae
commit
375cafb946
|
@ -28,7 +28,7 @@
|
|||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h2>
|
||||
abra recipes</h2>
|
||||
Co-op Cloud Recipes</h2>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
|
|
|
@ -33,21 +33,21 @@ type alias Params =
|
|||
|
||||
view : Url Params -> Document Msg
|
||||
view { params } =
|
||||
let
|
||||
let
|
||||
elm_link = a [ href "https://elm-lang.org/" ] [ text "Elm" ]
|
||||
coopcloud_link = a [ href "https://coopcloud.tech/" ] [ text "Co-op Cloud" ]
|
||||
source_link = a [ href "https://git.coopcloud.tech/coop-cloud/abra-apps" ] [ text "source" ]
|
||||
in
|
||||
{ title = "about – abra recipes"
|
||||
, body =
|
||||
{ title = "About – Co-op Cloud Recipes"
|
||||
, body =
|
||||
[ div [ class "pt-3" ]
|
||||
[ div [ class "col-md-6 col-sm-10 mb-3 offset-md-3 offset-sm-1" ]
|
||||
[ div [ class "col-md-6 col-sm-10 mb-3 offset-md-3 offset-sm-1" ]
|
||||
[ div [ class "card" ]
|
||||
[ div [ class "card-header" ]
|
||||
[ h2 [] [ text "abra recipes" ]
|
||||
[ h2 [] [ text "Co-op Cloud Recipes" ]
|
||||
]
|
||||
, div [ class "card-body" ]
|
||||
[ p []
|
||||
[ p []
|
||||
[
|
||||
text "a lil' "
|
||||
, text " tool to display "
|
||||
|
@ -57,12 +57,12 @@ view { params } =
|
|||
, p []
|
||||
[
|
||||
text "written in "
|
||||
, elm_link
|
||||
, elm_link
|
||||
, text " for some reason 🤷"
|
||||
]
|
||||
]
|
||||
, div [ class "card-footer" ]
|
||||
[ p []
|
||||
[ p []
|
||||
[ text "by @3wc ("
|
||||
, source_link
|
||||
, text ")"
|
||||
|
|
|
@ -151,13 +151,13 @@ title : Model -> String
|
|||
title model =
|
||||
case model.status of
|
||||
Loading ->
|
||||
"loading – abra recipes"
|
||||
"loading – Co-op Cloud Recipes"
|
||||
|
||||
Failure ->
|
||||
"error –- abra recipes"
|
||||
"error –- Co-op Cloud Recipes"
|
||||
|
||||
Success app ->
|
||||
app.name ++ " – abra recipes"
|
||||
app.name ++ " – Co-op Cloud Recipes"
|
||||
|
||||
|
||||
body : Model -> Html Msg
|
||||
|
|
|
@ -113,7 +113,7 @@ filterAppsScore : List App -> Maybe Int -> List App
|
|||
filterAppsScore apps score =
|
||||
case score of
|
||||
Just s ->
|
||||
List.filter (\app ->
|
||||
List.filter (\app ->
|
||||
app.status <= s
|
||||
) apps
|
||||
Nothing ->
|
||||
|
@ -126,7 +126,7 @@ filterAppsCategory apps category =
|
|||
if c == All then
|
||||
apps
|
||||
else
|
||||
List.filter (\app ->
|
||||
List.filter (\app ->
|
||||
app.category == categories.toString c
|
||||
) apps
|
||||
Nothing ->
|
||||
|
@ -138,7 +138,7 @@ filterAppsText apps text =
|
|||
Just "" ->
|
||||
apps
|
||||
Just t ->
|
||||
List.filter (\app ->
|
||||
List.filter (\app ->
|
||||
String.contains (String.toLower t) (
|
||||
String.toLower app.name ++ String.toLower (
|
||||
Maybe.withDefault "" app.description
|
||||
|
@ -214,7 +214,7 @@ subscriptions model =
|
|||
|
||||
view : Model -> Document Msg
|
||||
view model =
|
||||
{ title = "abra recipes"
|
||||
{ title = "Co-op Cloud Recipes"
|
||||
, body = [ body model ]
|
||||
}
|
||||
|
||||
|
@ -342,7 +342,7 @@ viewApps model =
|
|||
, div [ class "col-md-6" ]
|
||||
[ div [ class "row" ]
|
||||
[ div [ class "col-sm-12" ] [
|
||||
div [] [
|
||||
div [] [
|
||||
form [ class "search-bar-container" ] [
|
||||
label [ for "text" ] [ text "Search" ]
|
||||
, input [ class "search-bar-input", id "text", onInput FilterText ] []
|
||||
|
|
|
@ -68,18 +68,18 @@ view :
|
|||
view { page, toMsg } model =
|
||||
{ title = page.title
|
||||
, body =
|
||||
[ div [ class "background" ]
|
||||
[ nav
|
||||
[ div [ class "background" ]
|
||||
[ nav
|
||||
[ class "navbar navbar-expand-lg sticky-top font-weight-bold" ]
|
||||
[ a [ class "navbar-text", href (Route.toString Route.Top) ]
|
||||
[ img
|
||||
[ a [ class "navbar-text", href (Route.toString Route.Top) ]
|
||||
[ img
|
||||
[ src "/logo-2.png"
|
||||
, class "d-inline-block align-top mr-2"
|
||||
, alt ""
|
||||
, alt ""
|
||||
, width 48
|
||||
, height 16 ] []
|
||||
, text "abra recipes"
|
||||
]
|
||||
, text "Co-op Cloud Recipes"
|
||||
]
|
||||
, ul [ class "navbar-nav" ]
|
||||
[ li [ class "nav-tem" ] [ a [ class "nav-link navbar-text", href (Route.toString Route.About) ] [ text "about" ] ]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue