Skip to content

Commit

Permalink
[-] Update makeup
Browse files Browse the repository at this point in the history
  • Loading branch information
Neodelf committed Jan 10, 2022
1 parent 6f928a9 commit 73e0ed6
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 58 deletions.
22 changes: 2 additions & 20 deletions app/views/layouts/lecter.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,6 @@

/* diagnosis/show.slim */

.arrow-right {
width: 0;
height: 0;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid black;
float: left;
margin: 7px;
}

.down {
border-left: 5px solid transparent;
Expand Down Expand Up @@ -259,17 +250,8 @@
}
</style>

<body class="container">
<div class="nav">
<div class="nav-inner">
<ul>
<li>
<%= link_to t('.new_diagnosis'), new_diagnosis_path %>
</li>
</ul>
</div>
</div>
<div class="body-wrapper">
<body>
<div class="container">
<%= yield %>
</div>
</body>
Expand Down
4 changes: 3 additions & 1 deletion app/views/lecter/diagnosis/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<%= content_for :title, t('.title') %>

<h1><%= t('.title') %></h1>
<div class="container">
<h2><%= t('.title') %></h2>
</div>

<%= form_tag diagnosis_path do %>
<% flash.each do |key, value| %>
Expand Down
73 changes: 38 additions & 35 deletions app/views/lecter/diagnosis/show.html.erb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ en:
diagnosis:
show:
title: 'Diagnosis results'
response_status: 'Response status: %{status}'
executed_code: 'Executed code:'
new:
title: 'New diagnosis'
endpoint: 'Endpoint'
Expand Down
2 changes: 1 addition & 1 deletion config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ru:
diagnosis:
show:
title: 'Диагноз'
response_status: 'Статус ответа: %{status}'
executed_code: 'Используемый код:'
new:
title: 'Новый диагноз'
endpoint: 'Абсолютный путь'
Expand Down

0 comments on commit 73e0ed6

Please sign in to comment.