|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>uMatrix — Your rules</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/codemirror/lib/codemirror.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/codemirror/addon/merge/merge.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/common.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/cloud-ui.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/user-rules.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="body">
|
|
|
|
|
|
|
|
<div id="cloudWidget" class="hide" data-cloud-entry="myRulesPane"></div>
|
|
|
|
|
|
|
|
</div><!-- end of div.body -->
|
|
|
|
|
|
|
|
<!-- <p data-i18n="userRulesFormatHint"></p> -->
|
|
|
|
<div id="diff">
|
|
|
|
<div class="tools">
|
|
|
|
<div class="ruleActions">
|
|
|
|
<h3 data-i18n="userRulesPermanentHeader"></h3>
|
|
|
|
<button type="button" id="exportButton" data-i18n="userRulesExport"></button>
|
|
|
|
<button type="button" id="revertButton" data-i18n="userRulesRevert"></button>
|
|
|
|
</div>
|
|
|
|
<div class="ruleActions">
|
|
|
|
<h3 data-i18n="userRulesTemporaryHeader"></h3>
|
|
|
|
<button type="button" id="commitButton" data-i18n="userRulesCommit"></button>
|
|
|
|
<button type="button" id="importButton" data-i18n="userRulesImport"></button>
|
|
|
|
<button type="button" id="editSaveButton" data-i18n="userRulesEditSave"></button>
|
|
|
|
</div>
|
|
|
|
<div id="ruleFilter"><span class="fa"></span> <input type="text" size="32"></div>
|
|
|
|
</div>
|
|
|
|
<div class="codeMirrorContainer codeMirrorMergeContainer vfill-available"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="display: none;">
|
|
|
|
<input id="importFilePicker" type="file" accept="text/plain">
|
|
|
|
<span data-i18n="userRulesDefaultFileName"></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="lib/diff/swatinem_diff.js"></script>
|
|
|
|
<script src="lib/codemirror/lib/codemirror.js"></script>
|
|
|
|
<script src="lib/codemirror/addon/merge/merge.js"></script>
|
|
|
|
<script src="lib/codemirror/addon/selection/active-line.js"></script>
|
|
|
|
|
|
|
|
<script src="js/vapi-common.js"></script>
|
|
|
|
<script src="js/vapi-client.js"></script>
|
|
|
|
<script src="js/udom.js"></script>
|
|
|
|
<script src="js/i18n.js"></script>
|
|
|
|
<script src="js/dashboard-common.js"></script>
|
|
|
|
<script src="js/cloud-ui.js"></script>
|
|
|
|
<script src="js/user-rules.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|