mirror of
https://github.com/cuigh/swirl
synced 2024-12-28 14:51:57 +00:00
Update bulma to v0.6.1
This commit is contained in:
parent
c84c911d4d
commit
bbce4dbd35
3771
assets/bulma/bulma.css
vendored
3771
assets/bulma/bulma.css
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ language == "" ? "en" : language }}">
|
||||
<html class="has-navbar-fixed-top" lang="{{ language == "" ? "en" : language }}">
|
||||
<head>
|
||||
<title>Swirl</title>
|
||||
<meta charset="utf-8">
|
||||
@ -7,13 +7,13 @@
|
||||
<meta name="description" content="{{ i18n("description") }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<link rel="stylesheet" href="/assets/lyicon/css/lyicon.css">
|
||||
<link rel="stylesheet" href="/assets/bulma/bulma.css?v=0.5.3">
|
||||
<link rel="stylesheet" href="/assets/bulma/bulma.css?v=0.6.1">
|
||||
<link rel="stylesheet" href="/assets/swirl/css/swirl.css?v={{ version }}">
|
||||
{{ block style() }}{{end}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-wrap">
|
||||
<nav class="navbar">
|
||||
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="/">
|
||||
<img src="/assets/swirl/img/logo.png" alt="logo" height="28">
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta name="description" content="{{ i18n("description") }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<link rel="stylesheet" href="/assets/lyicon/css/lyicon.css">
|
||||
<link rel="stylesheet" href="/assets/bulma/bulma.css?v=0.5.3">
|
||||
<link rel="stylesheet" href="/assets/bulma/bulma.css?v=0.6.1">
|
||||
<link rel="stylesheet" href="/assets/swirl/css/swirl.css?v={{ version }}">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -4,19 +4,19 @@
|
||||
{{ end }}
|
||||
|
||||
{{ block checkbox(id, name, value, label, checked, disabled=false) }}
|
||||
<input id="{{id ? id : (name + "-" + value)}}"{{if name}} name="{{name}}[]"{{end}}{{if value}} value="{{value}}"{{end}} type="checkbox" class="is-checkbox"{{if checked}} checked{{end}}{{if disabled}} disabled{{end}}{{yield content}}>
|
||||
<input id="{{id ? id : (name + "-" + value)}}"{{if name}} name="{{name}}[]"{{end}}{{if value}} value="{{value}}"{{end}} type="checkbox" class="is-checkradio"{{if checked}} checked{{end}}{{if disabled}} disabled{{end}}{{yield content}}>
|
||||
<label for="{{id ? id : (name + "-" + value)}}">{{label}}</label>
|
||||
{{ end }}
|
||||
|
||||
{{ block radio(id, name, value, label, checked, disabled=false) }}
|
||||
<input id="{{id ? id : (name + "-" + value)}}" name="{{name}}" value="{{value}}" type="radio" class="is-radio"{{if eq(checked, value)}} checked{{end}}{{if disabled}} disabled{{end}}{{yield content}}>
|
||||
<input id="{{id ? id : (name + "-" + value)}}" name="{{name}}" value="{{value}}" type="radio" class="is-checkradio"{{if eq(checked, value)}} checked{{end}}{{if disabled}} disabled{{end}}{{yield content}}>
|
||||
<label for="{{id ? id : (name + "-" + value)}}">{{label}}</label>
|
||||
{{ end }}
|
||||
|
||||
{{ block radios(name, values, labels="", checked) }}
|
||||
{{ labels = eq(labels, "") ? values : labels }}
|
||||
{{ range i, v := values }}
|
||||
<input id="{{ name + "-" + v }}" name="{{name}}" value="{{v}}" type="radio" class="is-radio"{{ if eq(checked, v) }} checked{{end}}>
|
||||
<input id="{{ name + "-" + v }}" name="{{name}}" value="{{v}}" type="radio" class="is-checkradio"{{ if eq(checked, v) }} checked{{end}}>
|
||||
<label for="{{ name + "-" + v }}">{{ labels[i] }}</label>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user