added the ability to add costum js/css
This commit is contained in:
parent
325839f9fd
commit
a47b5ab458
|
@ -53,4 +53,12 @@ fi
|
|||
echo "Clear minfified cache..."
|
||||
rm -f var/minified*
|
||||
|
||||
echo "ensure custom css/js files are created..."
|
||||
for f in $(cat "static/custom/.gitignore")
|
||||
do
|
||||
if [ ! -f "static/custom/$f" ]; then
|
||||
touch "static/custom/$f"
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
index.css
|
||||
index.js
|
||||
pad.css
|
||||
pad.js
|
||||
timeslider.css
|
||||
timeslider.js
|
|
@ -81,6 +81,8 @@
|
|||
width: 40px;
|
||||
}
|
||||
</style>
|
||||
<link href="static/custom/index.css" rel="stylesheet">
|
||||
<script src="static/custom/index.js"></script>
|
||||
<div id="container">
|
||||
<div id="button" onclick="go2Random()">New Pad</div>
|
||||
<br>
|
||||
|
@ -122,4 +124,4 @@
|
|||
return randomstring;
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
</script>
|
||||
<script src="../socket.io/socket.io.js"></script>
|
||||
<script src="../minified/pad.js"></script>
|
||||
<link href="../static/custom/pad.css" rel="stylesheet">
|
||||
<script src="../static/custom/pad.js"></script>
|
||||
<style type="text/css" title="dynamicsyntax"></style>
|
||||
</head>
|
||||
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
|
||||
<script type="text/javascript" src="../../minified/timeslider.js"></script>
|
||||
|
||||
<link href="../../static/custom/timeslider.css" rel="stylesheet">
|
||||
<script src="../../static/custom/timeslider.js"></script>
|
||||
|
||||
<script>
|
||||
// <![CDATA[
|
||||
var clientVars = {};
|
||||
|
|
Loading…
Reference in New Issue