Browse Source

Czech language and Selectize style improvements

kudlav 2 months ago
parent
commit
10149322b0

+ 3 - 3
app/AdminModule/presenters/templates/Video/edit-basic.latte

@@ -96,21 +96,21 @@
         {/foreach}
       {/foreach}
       <div class="row my-1">
-        <div class="align-self-center col-md-2">
+        <div class="col-md-2">
           <select name="role" class="custom-select frm-usr-role p-0">
             <option value="-1" selected disabled>{_'form.choose'|noescape}</option>
             {foreach $roles as $role}<option value="{$role->id}">{_'role.'.$role->name|noescape}</option>{/foreach}
           </select>
         </div>
         <div class="col-md-6">
-          <input type="text" name="name" class="form-control frm-usr-name frm-usr-role-search" placeholder="Start typing...">
+          <input type="text" name="name" class="form-control frm-usr-name frm-usr-role-search" placeholder="{_'form.start_typing'}">
         </div>
         <div class="align-self-center col-md-2">
           <div class="form-check m-0">
             <label class="form-check-label"><input type="checkbox" name="show_email" class="form-check-input frm-usr-show_email"> Show email </label>
           </div>
         </div>
-        <div class="align-self-center col-md-2">
+        <div class="col-md-2">
           <button type='button' onclick="addPeople(this)" class="btn btn-light text-primary"><i class="fa fa-floppy-o" aria-hidden="true"></i> {_'form.add'|noescape}</button>
         </div>
       </div>

+ 2 - 2
app/AdminModule/presenters/templates/Video/edit.latte

@@ -1,8 +1,8 @@
 {block content}
 
 {include edit-js.latte}
-  <a class="btn btn-light align-text-bottom" href="{$prevPage}"><span class="fa fa-angle-left"></span> {_'Back'}</a>
-  <h1 class="d-inline-block">{block title}{_'Edit video'}{/block}:</h1>
+<a class="btn btn-light align-text-bottom" onclick="window.history.back();" href="#"><span class="fa fa-angle-left"></span> {_'Back'}</a>
+<h1 class="d-inline-block">{block title}{_'Edit video'}{/block}:</h1>
 
 <ul class="nav nav-tabs" role="tablist">
   <li class="nav-item"><a class="nav-link active" data-toggle="tab" role="tab" href="#basic"><i class="fa fa-info"></i>&nbsp;{_'Basic information'}</a></li>

+ 1 - 1
app/lang/alert/alert.cs_CZ.neon

@@ -21,7 +21,7 @@
 'run_task_failed' : 'Úlohu se nepodařilo spustit!'
 'empty_role_or_value' : 'Zvolte roli, uživatele a poté akci zopakujte.'
 'role_exists' : 'Uživatel již tuto roli má!'
-'role_remove_error' : 'Vztah nelze smazat, zkuste načíst stránku znovu, nebo kontaktujte administrátora.'
+'role_remove_error' : 'Vztah nelze smazat, zkuste znovu načíst stránku, nebo kontaktujte administrátora.'
 'role_format_error' : 'Neplatný formát uživatele, zkuste to znovu, nebo kontaktujte administrátora.'
 'role_no_user_error' : 'Uživatel nenalezen, zkuste to znovu, nebo kontaktujte administrátora.'
 'role_ambiguous_user_error' : 'Nejednoznačné zadání uživatele, kontaktujte administrátora.'

File diff suppressed because it is too large
+ 1 - 1
www/resources/bootstrap/bootstrap.css


+ 9 - 1
www/resources/bootstrap/bootstrap.scss

@@ -51,7 +51,7 @@ $display4-size: 3.5 * $font-size-base;
 $border-radius: .25rem;
 
 // Import file: bootstrap.scss, get entire scss folder from: https://github.com/twbs/bootstrap/releases
-@import 'bootstrap-4.2.1';
+@import 'scss/bootstrap';
 
 body > * {
   background-size: cover;
@@ -167,6 +167,9 @@ footer img {
   padding: 0!important;
 }
 
+.selectize-input {
+  line-height: 1.5!important;
+}
 .selectize-control.api-select::before {
   animation: fa-spin 1s infinite steps(8);
   font: normal normal normal 14px/1 FontAwesome;
@@ -183,3 +186,8 @@ footer img {
 .selectize-control.api-select.loading::before {
   opacity: 1;
 }
+
+.custom-select {
+  -webkit-appearance: none;
+  -moz-appearance: none;
+}

+ 6 - 1
www/resources/bootstrap/bootstrap.source.css

@@ -7672,6 +7672,9 @@ footer img {
 .datagrid {
   padding: 0 !important; }
 
+.selectize-input {
+  line-height: 1.5 !important; }
+
 .selectize-control.api-select::before {
   animation: fa-spin 1s infinite steps(8);
   font: normal normal normal 14px/1 FontAwesome;
@@ -7688,4 +7691,6 @@ footer img {
 .selectize-control.api-select.loading::before {
   opacity: 1; }
 
-/*# sourceMappingURL=bootstrap.source.css.map */
+.custom-select {
+  -webkit-appearance: none;
+  -moz-appearance: none; }