mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Added EIS fonts to admin
This commit is contained in:
parent
294c3096fc
commit
e4a3d919ea
13 changed files with 59 additions and 54 deletions
|
@ -1,9 +1,9 @@
|
|||
@import "bootstrap-sprockets";
|
||||
@import "bootstrap";
|
||||
//= require 'custom-boostrap'
|
||||
@import "nprogress";
|
||||
@import "nprogress-bootstrap";
|
||||
@import "bootstrap-ext";
|
||||
@import "typeaheadjs";
|
||||
@import "selectize";
|
||||
@import "selectize.bootstrap3";
|
||||
@import "general";
|
||||
@import "app";
|
||||
|
|
13
app/assets/stylesheets/custom-boostrap.scss
Normal file
13
app/assets/stylesheets/custom-boostrap.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
$font-family-sans-serif: 'EtelkaLightProRegular', Arial, Helvetica, sans-serif;
|
||||
$font-family-serif: 'EtelkaLightProBold', Georgia, "Times New Roman", Times, serif;
|
||||
$navbar-default-bg: #F69240;
|
||||
$navbar-default-brand-color: #fff;
|
||||
$navbar-default-link-color: #fff;
|
||||
$border-radius-base: 2px;
|
||||
$body-bg: #F8F8F8;
|
||||
$container-large-desktop: 1040px;
|
||||
$font-size-h1: 26px;
|
||||
$navbar-default-link-active-color: #333;
|
||||
|
||||
@import "bootstrap-sprockets";
|
||||
@import "bootstrap";
|
|
@ -1,3 +0,0 @@
|
|||
//= require './custom-boostrap'
|
||||
//= require './general'
|
||||
//= require './overwrites'
|
|
@ -1,5 +0,0 @@
|
|||
$font-family-sans-serif: 'EtelkaLightProRegular', Arial, Helvetica, sans-serif;
|
||||
$font-family-serif: 'EtelkaLightProBold', Georgia, "Times New Roman", Times, serif;
|
||||
|
||||
@import "bootstrap-sprockets";
|
||||
@import "bootstrap";
|
|
@ -1 +0,0 @@
|
|||
// Overwrite this file at your application app/assets/stylesheets/depp/overwrite.sass
|
|
@ -12,12 +12,12 @@ h1
|
|||
margin-bottom: 16px
|
||||
|
||||
a
|
||||
color: #008fd7
|
||||
color: #23527C
|
||||
text-decoration: none
|
||||
|
||||
a:hover,
|
||||
a:active
|
||||
color: #008fd7
|
||||
color: #23527C
|
||||
outline: 0
|
||||
|
||||
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a
|
|
@ -1,11 +1,7 @@
|
|||
.row
|
||||
.col-sm-6
|
||||
%h2.text-center-xs
|
||||
= "#{t(:domain_history)}: #{@domain.name}"
|
||||
.col-sm-6
|
||||
%h2.text-right.text-center-xs
|
||||
- content_for :actions do
|
||||
= link_to(t(:back_to_domain), [:admin, @domain], class: 'btn btn-default')
|
||||
= render 'admin/shared/title', name: "#{t(:history)}: #{@domain.name}"
|
||||
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
.table-responsive
|
||||
|
@ -21,9 +17,10 @@
|
|||
%th{class: 'col-xs-2'}= t(:registrar)
|
||||
|
||||
%tbody
|
||||
%tr.small
|
||||
= render 'admin/domain_versions/version',
|
||||
domain: @domain, version: @domain.versions.last
|
||||
- if @domain.versions.present?
|
||||
%tr.small
|
||||
= render 'admin/domain_versions/version',
|
||||
domain: @domain, version: @domain.versions.last
|
||||
|
||||
- @domain.versions.not_creates.reverse.each do |version|
|
||||
%tr.small
|
||||
|
|
|
@ -3,17 +3,12 @@
|
|||
- unless @domain.parent_valid?
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
%ul.nav.nav-tabs{:role => "tablist", id: 'tabs'}
|
||||
- li_class = @domain.statuses_tab_valid? ? nil : 'error-tab'
|
||||
%li{class: li_class}
|
||||
%a{"data-toggle" => "tab", :href => "#statuses-tab", :role => "tab"}= t('statuses')
|
||||
/ Tab panes
|
||||
.col-md-8
|
||||
.tab-content{style:'margin-top: 20px;'}
|
||||
#general-tab.tab-pane.active
|
||||
= render 'admin/domains/form_partials/statuses', f: f
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
.col-md-8.text-right
|
||||
= button_tag(t('save'), class: 'btn btn-primary')
|
||||
|
||||
:coffee
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.row
|
||||
.col-sm-6
|
||||
%h2.text-center-xs
|
||||
= "#{t('edit_domain')}"
|
||||
.col-sm-6
|
||||
%h2.text-right.text-center-xs
|
||||
= link_to(t('back_to_domain'), [:admin, @domain], class: 'btn btn-default')
|
||||
%hr
|
||||
- content_for :actions do
|
||||
= link_to(t(:back_to_domain), [:admin, @domain], class: 'btn btn-default')
|
||||
= render 'admin/shared/title', name: "#{t(:edit)}: #{@domain.name}"
|
||||
|
||||
= render 'form'
|
||||
|
|
|
@ -7,10 +7,16 @@
|
|||
%hr
|
||||
|
||||
.row
|
||||
.col-md-6
|
||||
.form-group
|
||||
= f.label :name
|
||||
= f.text_field(:name, class: 'form-control')
|
||||
.col-md-8
|
||||
.panel.panel-default
|
||||
.panel-heading.clearfix
|
||||
.pull-left= t(:general)
|
||||
.panel-body
|
||||
.form-group
|
||||
.col-md-3.control-label
|
||||
= f.label :name
|
||||
.col-md-7
|
||||
= f.text_field(:name, class: 'form-control')
|
||||
.form-group
|
||||
= f.label :reg_no
|
||||
= f.text_field(:reg_no, class: 'form-control')
|
||||
|
@ -27,8 +33,8 @@
|
|||
.form-group
|
||||
= f.label :billing_email
|
||||
= f.text_field(:billing_email, class: 'form-control')
|
||||
|
||||
.col-md-6.text-left
|
||||
.row
|
||||
.col-md-8
|
||||
.form-group
|
||||
= f.label :street
|
||||
= f.text_field(:street, class: 'form-control')
|
||||
|
@ -51,5 +57,5 @@
|
|||
/ %p.help-block= t('address_help')
|
||||
%hr
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
.col-md-8.text-right
|
||||
= button_tag(t('save'), class: 'btn btn-primary')
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.row
|
||||
.col-sm-6
|
||||
%h2.text-center-xs
|
||||
= "#{t('edit_registrar')}"
|
||||
.col-sm-6
|
||||
%h2.text-right.text-center-xs
|
||||
= link_to(t('back_to_registrar'), [:admin, @registrar], class: 'btn btn-default')
|
||||
%hr
|
||||
- content_for :actions do
|
||||
= link_to(t(:back_to_registrar), [:admin, @registrar], class: 'btn btn-default')
|
||||
= render 'admin/shared/title', name: "#{t(:edit)}: #{@registrar.name}"
|
||||
|
||||
= render 'form'
|
||||
|
|
11
app/views/admin/shared/_title.haml
Normal file
11
app/views/admin/shared/_title.haml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- content_for :window_title do
|
||||
%title= name
|
||||
|
||||
.row
|
||||
.col-sm-8
|
||||
%h1.text-center-xs
|
||||
= truncate(name, length: 40)
|
||||
.col-sm-4
|
||||
%h1.text-right.text-center-xs
|
||||
= yield :actions
|
||||
%hr
|
|
@ -4,7 +4,7 @@
|
|||
.row
|
||||
.col-sm-6
|
||||
%h1.text-center-xs
|
||||
= name
|
||||
= truncate(name)
|
||||
.col-sm-6
|
||||
%h1.text-right.text-center-xs
|
||||
= yield :actions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue