Skip to content
Snippets Groups Projects
Commit 9e2acd7e authored by Davide's avatar Davide
Browse files

added design for black list

parent ab88490d
No related branches found
No related tags found
5 merge requests!1730Development,!1724Development,!1723Development,!1712Development,!1701Resolve "settings for blacklisting pages"
...@@ -48,4 +48,37 @@ ...@@ -48,4 +48,37 @@
#no-settings { #no-settings {
text-align: center; text-align: center;
} }
#newentry{
#create{
display:flex;
align-items:left;
#blacklist{
flex-grow:1;
width:100%;
}
button{
width:200px;
}
}
}
#deleteentry{
table{
border:1px solid lightgray;
flex-grow:1;
width:100%;
}
tr:nth-child(odd){
background-color:rgb(240, 240, 240);
}
tr:nth-child(even){
background-color:rgb(255, 215, 200);
}
td:first-child{
padding-left:5px;
}
td:last-child{
width:20px;
}
}
} }
\ No newline at end of file
...@@ -84,15 +84,17 @@ ...@@ -84,15 +84,17 @@
</form> </form>
</div> </div>
<div class="card-light"> <div class="card-light" id="blacklist">
<h2>@lang('settings.header.4')</h2> <h2>@lang('settings.header.4')</h2>
<p>@lang('settings.text.4')</p> <p>@lang('settings.text.4')</p>
<form id="blacklist" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), route('newBlacklist', ["fokus" => $fokus, "url" => $url])) }}" method="post"> <form id="newentry" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), route('newBlacklist', ["fokus" => $fokus, "url" => $url])) }}" method="post">
<input type="hidden" name="url" value="{{ $url }}"> <input type="hidden" name="url" value="{{ $url }}">
<input type="hidden" name="fokus" value="{{ $fokus }}"> <input type="hidden" name="fokus" value="{{ $fokus }}">
<label for="blacklist">@lang('settings.address')</label> <label for="blacklist">@lang('settings.address')</label>
<input id="blacklist" name="blacklist" type="text" placeholder="example.com"> <div id="create">
<button type="submit" class="btn btn-default">@lang('settings.add')</button> <input id="blacklist" name="blacklist" type="text" placeholder="example.com">
<button type="submit" class="btn btn-default">@lang('settings.add')</button>
</div>
</form> </form>
@if(!empty($blacklist)) @if(!empty($blacklist))
<form id="deleteentry" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), route('deleteBlacklist', ["fokus" => $fokus, "url" => $url])) }}" method="post"> <form id="deleteentry" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), route('deleteBlacklist', ["fokus" => $fokus, "url" => $url])) }}" method="post">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment