Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3bca04

Browse files
gitstart_botjschwartzentruber
gitstart_bot
authored andcommitted
Setup CDN and assets for Django template vue migration
1 parent4d6af54 commitc3bca04

File tree

6 files changed

+70
-10
lines changed

6 files changed

+70
-10
lines changed

‎server/crashmanager/static/css/default.css‎

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ html {
99

1010
body {
1111
margin-bottom:60px;
12-
font-family:'Open Sans', sans-serif;
12+
font-family:"Open Sans", sans-serif;
1313
font-size:13px;
1414
}
1515

@@ -119,3 +119,66 @@ div.field {
119119
.provider_input {
120120
width:100%;
121121
}
122+
123+
.slider-container {
124+
padding:20px10px;
125+
width:100%;
126+
user-select: none;
127+
touch-action: none;
128+
}
129+
130+
.slider-track {
131+
position: relative;
132+
height:6px;
133+
background-color:#e0e0e0;
134+
border-radius:3px;
135+
cursor: pointer;
136+
}
137+
138+
.slider-fill {
139+
position: absolute;
140+
height:100%;
141+
background-color:#2196f3;
142+
border-radius:3px;
143+
transition: width0.1s ease;
144+
}
145+
146+
.slider-dot {
147+
position: absolute;
148+
top:50%;
149+
width:20px;
150+
height:20px;
151+
background-color:#fff;
152+
border-radius:50%;
153+
transform:translate(-50%,-50%);
154+
cursor: grab;
155+
box-shadow:0px0px4px gray;
156+
transition: left0.1s ease;
157+
}
158+
159+
.slider-dot:active {
160+
cursor: grabbing;
161+
transform:translate(-50%,-50%)scale(1.1);
162+
}
163+
164+
.slider-value {
165+
position: absolute;
166+
top:-25px;
167+
left:50%;
168+
transform:translateX(-50%);
169+
background-color:#2196f3;
170+
color: white;
171+
padding:2px6px;
172+
border-radius:3px;
173+
font-size:12px;
174+
white-space: nowrap;
175+
}
176+
.slider-step {
177+
position: absolute;
178+
width:7px;
179+
height:7px;
180+
border-radius:50%;
181+
background-color:#a5a5a5;
182+
transform:translateX(-50%);
183+
top:0px;
184+
}

‎server/crashmanager/static/js/vuejs-slider.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎server/crashmanager/templates/layouts/layout_base.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
</script>
8484

8585
{% block js.custom %}{% endblock js.custom %}
86-
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/bootstrap-vue/2.4.2/bootstrap-vue.min.js"integrity="sha512-1qfIh9meb1zaCdssZjWByH/3tEpO18bb+3LJeluOpDH4an1q+StF/iPZb5aVxlYTpWdfrmmrtY8GDQbc3z5aQw=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
86+
<scriptsrc="//cdn.jsdelivr.net/npm/bootstrap-vue-next@0.20.0/dist/bootstrap-vue-next.umd.min.js"integrity="sha512-t9WHfCJcfpdWNpb3oFQ7WYU19fCeUuxzKrEgeRY9V4TTMx7sxVvvwf9Hkm+qsISDbb90vtJ55pfwNalSG+YT6A=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
8787
{% endblock js%}
8888
{% if debug %}
8989
<script>

‎server/crashmanager/templates/layouts/layout_old.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{% extends 'layouts/layout_base.html' %}
22
{% block vue.frontend %}{% endblock vue.frontend %}
33
{% block js.shared %}
4-
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/vue/2.7.15/vue.min.js"integrity="sha512-2hINX01gn7TwWmZNKvrt+ZiHjOW2l7+gCaghPVL6Ge4kTTA7S35Q3zqJmCpKWMLvV5ih4fawBiNW+0WhIbEELg=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
4+
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/vue/3.4.21/vue.global.prod.min.js"integrity="sha512-tltvjJD1pUnXVAp0L9id/mcR+zc0xsIKmPMJksEclJ6uEyI8D6eZWpR0jSVWUTXOKcmeBMyND+LQH4ECf/5WKg=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
55
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"integrity="sha512-AA1Bzp5Q0K1KanKKmvN/4d3IRKVlv9PYgwFPvm32nPO6QS8yH1HO7LbgB1pgiOxPtfeg5zEn2ba64MUcqJx6CA=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
66
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"integrity="sha512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
77
<scriptsrc="//cdnjs.cloudflare.com/ajax/libs/d3/7.8.2/d3.min.js"integrity="sha512-oKI0pS1ut+mxQZdqnD3w9fqArLyILRsT3Dx0B+8RVEXzEk3aNK3J3pWlaGJ8MtTs1oiwyXDAH6hG6jy1sY0YqA=="crossorigin="anonymous"referrerpolicy="no-referrer"></script>
88
<script>
99
constE_SERVER_ERROR='Error while communicating with the server.'
1010

11-
Vue.options.delimiters=['!{','}!']
1211

1312
functionformatClientTimestamp(datetime){
1413
returnnewIntl.DateTimeFormat('en-US',{

‎server/crashmanager/templates/registration/login.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
</head>
5858
<body>
5959
{% if form.errors %}
60-
<divclass="alert alert-danger"role="alert"><center>Your username and password didn't match. Please try again.</center></div>
60+
<divclass="alert alert-danger"role="alert text-center">Your username and password didn't match. Please try again.</div>
6161
{% endif %}
62-
<center><divclass="font-effect-3d login_text">FUZZMANAGER</div></center><br/>
62+
<divclass="font-effect-3d login_text text-center">FUZZMANAGER</div><br/>
6363
<formclass="form-signin"method="post"action="{% url 'login' %}">
6464
{% csrf_token %}
6565
<inputtype="username"name="username"id="username"class="form-control"placeholder="Username"requiredautofocus>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<footerclass="footer">
2-
<div>
3-
<center>
2+
<divclass="text-center">
43
FuzzManager is open-source software, licensed under<ahref="https://www.mozilla.org/MPL/2.0/">MPL 2.0 License.</a><br/>
54
<ahref="https://github.com/mozillasecurity/fuzzmanager">GitHub Project</a> ·
65
<ahref="https://github.com/mozillasecurity/fuzzmanager/issues">Issues</a> ·
76
<ahref="https://github.com/mozillasecurity/fuzzmanager/releases">Releases</a><br>
87
Produced by<ahref="https://github.com/mozillasecurity"><strong>Mozilla Security</strong>.</a><br/>
9-
</center>
108
</div>
119
</footer>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp